Get Field Value in Field Subclass

I'm writing a class that's a subclass of a field as well as another class not related to Django. In a method for the external class, I want to use the field's value. For example:

class MyField(IntegerField, Foo):
    def double(self):
        #???

If I wanted this method to double the value stored in the field, how would I do that?

Вернуться на верх