After sync signal?
Hi! I'm trying to add rows to database after sync, but I need to do it after *all* of the apps has been synced. Since my after sync function traverses all these apps and builds interesting information to the database. While post_syncdb http://docs.djangoproject.com/en/dev/ref/signals/#post-syncdb allows to connect to sender, I need to know is there a way to connect to "last sender"... Since there isn't any kind of "after sync signal". Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.
Re: After sync signal?
you might have already seen this ticket: http://code.djangoproject.com/ticket/7561 re: post-sync isn't actually post sync you could patch your deployed version of django of course I would just use a standalone script or command that you run after syncing. if you can On Jul 1, 5:34 pm, Jari Pennanen wrote: > Hi! > > I'm trying to add rows to database after sync, but I need to do it > after *all* of the apps has been synced. Since my after sync function > traverses all these apps and builds interesting information to the > database. > > While post_syncdbhttp://docs.djangoproject.com/en/dev/ref/signals/#post-syncdb > allows to connect to sender, I need to know is there a way to connect > to "last sender"... Since there isn't any kind of "after sync signal". > > Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.
Re: After sync signal?
On Fri, Jul 2, 2010 at 9:02 PM, felix wrote: > you might have already seen this ticket: > > http://code.djangoproject.com/ticket/7561 > > re: post-sync isn't actually post sync If you search the django-dev archives, you'll find some discussion around this ticket. Any proposal in this area needs to be aware of the reasons why thing are they way they are at the moment, and needs to be compatible with Django's backwards compatibility policy. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.