I have seen forms without the "self" in front of the fields, eg. more like this date_from = forms.DateField() and never self.date_form =forms.DateField(). If you include self.date_form, then date_form becomes an attribute of an instance rather than a attribute of a class.
What confusing me is that, when you define form field without self, like date_from = forms.DateField() , then are you creating only one date_from field as in java static class or java static variable? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---