@lazy
def capit(string):
return string.capitalize()
year_first = forms.DateField(label=capit(Clone._meta.get_field('year_first').verbose_name),
input_formats=['%y', '%Y', '%d.%m.%Y', '%d-%m-%Y'], required=False,
widget = YearTextInput)
/usr/bin/python /home/user/prog.py &
class GrandFather():
def update(self, cls):
return super(cls, self).update()
class Father():
def update(self):
print("Luke, I am your father!")
class Son(Father,GrandFather):
def test(self):
GrandFather.update(self,Son)
test = Son()
test.test()