Hello Torsten,
I just looked for a way to assign different classes for this widget.
Thank you for this code sample.
On 21 июл, 14:28, Torsten Bronger <[EMAIL PROTECTED]>
wrote:
> Hallöchen!
>
> I wanted to have those neat Javascript functions with my
> DateTimeField that Django's admin facility o
Hallöchen!
I wanted to have those neat Javascript functions with my
DateTimeField that Django's admin facility offers. However, the
only way I found to achieve this was:
class MyModelForm(ModelForm):
def __init__(self, data=None, **keyw):
super(MyModelForm, self).__init__(data, **ke
2 matches
Mail list logo