Saturday, March 5, 2011

Re: How to know when an admin form is completly saved to DB?

On Sat, Mar 5, 2011 at 12:55 PM, Sithembewena Lloyd Dube
<zebra05@gmail.com> wrote:
> I tink you could also go as follows:
>
> my_object = form.save()
> if my_object:
>     do_something()


Yep, but I'm using django admin so I can't do that without refactor
admin add_view, change_view and change_list_view ModelAdmin methods :(


--
Marc

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment