Re: Enter valid date error

2019-08-07 Thread ANi
Thanks for your help! Sipum, I have tried many possibilities and it is some how fixed and I actually don't know why, like why it is broken. but if you look into the class DateInput provided by Django: class DateInput(DateTimeBaseInput): format_key = 'DATE_INPUT_FORMATS' template_name =

Re: Enter valid date error

2019-08-06 Thread sachinbg sachin
Give the format in year month date it will be resolved then On Tue, Aug 6, 2019, 10:24 PM DPM wrote: > Hey Ani, > > Change format_key = DATE_INPUT_FORMATS. > Omit the quotes. Then will work fine. > > > On Tue, 6 Aug, 2019, 11:59 AM ANi, wrote: > >> I've change the default date field widget slig

Re: Enter valid date error

2019-08-06 Thread DPM
Hey Ani, Change format_key = DATE_INPUT_FORMATS. Omit the quotes. Then will work fine. On Tue, 6 Aug, 2019, 11:59 AM ANi, wrote: > I've change the default date field widget slightly, > but only like this and also define the DATE_INPUT_FORMATS > > > > class DateInput(DateTimeBaseInput): > input

Enter valid date error

2019-08-05 Thread ANi
I've change the default date field widget slightly, but only like this and also define the DATE_INPUT_FORMATS class DateInput(DateTimeBaseInput): input_type = 'date' format_key = 'DATE_INPUT_FORMATS' DATE_INPUT_FORMATS = [ '%Y-%m-%d', ] but still get error on the date field, only success at

Re: Date Error in Admin Form

2010-12-29 Thread ckar...@googlemail.com
Thanks, but USE_I18N = True USE_L10N = True in settings.py resolved my problem :-) On 29 Dez., 18:03, Marcos Moyano wrote: > 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, D

Re: Date Error in Admin Form

2010-12-29 Thread Marcos Moyano
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 d

Date Error in Admin Form

2010-12-29 Thread ckar...@googlemail.com
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.

Re: date error

2009-02-10 Thread Hervé Edorh
thank you Mr Morales it work --~--~-~--~~~---~--~~ 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 djan

Re: date error

2009-02-10 Thread Ramiro Morales
On Tue, Feb 10, 2009 at 6:51 PM, Hervé Edorh wrote: > > nobody for helping me? It seems you have several problems: First, the code you are pasting has the indentation totally broken. Second, >i forgot, the first ulrs.py (in the project directory) is like this > > (r'^weblog/$',include('dibon

Re: date error

2009-02-10 Thread Hervé Edorh
nobody for helping me? --~--~-~--~~~---~--~~ 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 django-use

Re: date error

2009-02-10 Thread Hervé Edorh
Hello Mr Alex i think you have forgotten me --~--~-~--~~~---~--~~ 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

Re: date error

2009-02-09 Thread Hervé Edorh
i forgot, the first ulrs.py (in the project directory) is like this (r'^weblog/$',include('dibongo.urls')), (r'^weblog/(?P\d{4})/(?P\w{3})/(?P\d{2})/(? P\w+)/$',include('dibongo.urls')), this is the second that i put before. It for the chapiter decoupling the URLs --~--~-~--~~--

Re: date error

2009-02-09 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 7:42 AM, Séno Hervé Edorh wrote: > Hi, > I am new in django world and i am a french speaker but i will try to speak > english in this mailling list. I have buy the book, Pratical Django projects > of James Bennett and i have a problem somewhere. this is the error > > archiv

date error

2009-02-09 Thread Séno Hervé Edorh
Hi, I am new in django world and i am a french speaker but i will try to speak english in this mailling list. I have buy the book, Pratical Django projects of James Bennett and i have a problem somewhere. this is the error archive_index() got an unexpected keyword argument 'day' this is my urls