On 6/20/06, Ronny Srnka <[EMAIL PROTECTED]> wrote:
> i'd like to use some triggers to increment and decrement fields in the db.
> i've written them up but would like to know if there is somewhere to run
> them when i reset (or the initial syncdb on) an app with manage.py?
> i saw that django.core.management.get_sql_all() collects all the SQL to be
> run, but there doesn't seem to be a place for other SQL (like trigger
> declerations).

Hey Ronny,

Here's what you need to know:

http://www.djangoproject.com/documentation/model_api/#providing-initial-sql-data

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to