Re: DateField does not update the date provided by hand
19 views
Skip to first unread message
Message has been deleted
Mike Dewhirst
unread,
Jul 27, 2017, 5:12:20 AM7/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
On 27/07/2017 6:41 PM, pablochud wrote:
> Hi,
> is it normal that DateField make me to pick a date from datepicker and
> do not let me update the field by hand? - when trying to set a date by
> hand it automatically changing to date selected on datepicker. How can
> I let User to choose date both way?
Possibly by changing it to a CharField and handling user input yourself
... ?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
On 27/07/2017 9:14 PM, pablochud wrote:
> Yeah, but I would like datepicker too. if I changed it to CharField I
> would loose datepicker
True. Looks like you might have to dig into the javascript source for
the widget and make your own datepicker which takes random user input
and figures out what the entry means in terms of a date.