Using: Latest from trunk

I'm using a custom widget for datetimefields:

======================================
#models.py
class Event(models.Model):
    endDateTime = models.DateTimeField('Finish', blank=True,
null=True)


#forms.py
class EventForm(forms.ModelForm):
    endDateTime = forms.DateTimeField(widget=DateTimeWidget)

    class Meta:
        model = Event

======================================

But somehow the 'endDateTime' field is still required when rendering
the form and the label is 'endDateTime' instead of 'Finish'. Resetting
the app, syncing the db etc. doesn't help.

Any suggestions?

2B
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to