Overwrite the model's save method and add the date automatically on save. That is the best way to do most things "auto" in your models.
Sincerely, Andre Terra On Fri, Mar 25, 2011 at 12:48 PM, Ryan Osborn <ryan.osbor...@gmail.com>wrote: > The problem with this is that the unique_for_date no longer works > again > > On Mar 25, 3:15 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > > On Friday, March 25, 2011 3:01:47 PM UTC, Ryan Osborn wrote: > > > > > Thanks for your reply Jacob. The only problem with the method you > > > suggested is that the field now shows up in the admin form which > > > allows people to edit it. I would rather that this didn't happen. Is > > > there any way around this? > > > > > Thanks, > > > > > Ryan > > > > Add it to the `exclude` list in your admin class. > > -- > > DR. > > -- > 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-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.