You can also override the save method in the model to prevent bad dates
(i.e. > your maximum date) to be saved to the database, if by any chance
your use case doesn't include users filling out a nice, simple html form.
Cheers,
AT
On Thu, Nov 17, 2011 at 5:07 AM, Babatunde Akinyanmi
On Thu, 2011-11-17 at 08:10 +0100, Babatunde Akinyanmi wrote:
> Also, if you want to suggest new features for django, you will have to
> do that in django-develop group otherwise you won't get the core
> developers to see your suggestions.
not so - this is the correct list for suggestions. And
Also, if you want to suggest new features for django, you will have to
do that in django-develop group otherwise you won't get the core
developers to see your suggestions.
Thanks
On 11/17/11, Babatunde Akinyanmi wrote:
> -1
> If you need to limit the latest date a user can
-1
If you need to limit the latest date a user can input, do it while
cleaning your form
On 11/17/11, Michael Nacharov wrote:
> Hello Django Expets!
> In one of my Django app, users must fill some forms with Django
> DateField. Why this class does not contain field
Hello Django Expets!
In one of my Django app, users must fill some forms with Django
DateField. Why this class does not contain field max_value? Perhaps it
is worth a new ticket?
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to
5 matches
Mail list logo