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 =
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
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
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
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
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
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.
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
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
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
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
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
--~--~-~--~~--
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
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
14 matches
Mail list logo