Re: Date Error in Admin Form
Thanks, but USE_I18N = True USE_L10N = True in settings.py resolved my problem :-) On 29 Dez., 18:03, Marcos Moyanowrote: > Take a look at the docs on how to set up valid input formats > > http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#date-... > > Rgds, > Marcos > > On Wed, Dec 29, 2010 at 1:39 PM, ckar...@googlemail.com < > > > > ckar...@googlemail.com> wrote: > > Hi everybody, > > > I'm getting a strange error with a datefield in the django admin. > > > My Settings: > > · TIME_ZONE = 'Europe/Berlin' > > · LANGUAGE_CODE = 'de-DE' > > · USE_I18N = True > > > The according models.py entry: > > zeithorizont = models.DateField(blank=True, null=True) > > > Screenshot (german):http://static.karrie.info/djangoformerror.png > > > I can't figure it out... > > > Thank you, > > Christian > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. > > -- > Some people, when confronted with a problem, think “I know, I'll use regular > expressions.” Now they have two problems. > > Jamie Zawinski, in comp.emacs.xemacs -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Date Error in Admin Form
Take a look at the docs on how to set up valid input formats http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#date-format Rgds, Marcos On Wed, Dec 29, 2010 at 1:39 PM, ckar...@googlemail.com < ckar...@googlemail.com> wrote: > Hi everybody, > > I'm getting a strange error with a datefield in the django admin. > > My Settings: > · TIME_ZONE = 'Europe/Berlin' > · LANGUAGE_CODE = 'de-DE' > · USE_I18N = True > > The according models.py entry: > zeithorizont = models.DateField(blank=True, null=True) > > Screenshot (german): http://static.karrie.info/djangoformerror.png > > I can't figure it out... > > Thank you, > Christian > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com> . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. Jamie Zawinski, in comp.emacs.xemacs -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Date Error in Admin Form
Hi everybody, I'm getting a strange error with a datefield in the django admin. My Settings: · TIME_ZONE = 'Europe/Berlin' · LANGUAGE_CODE = 'de-DE' · USE_I18N = True The according models.py entry: zeithorizont = models.DateField(blank=True, null=True) Screenshot (german): http://static.karrie.info/djangoformerror.png I can't figure it out... Thank you, Christian -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.