On 5/10/06, mazurin <[EMAIL PROTECTED]> wrote: > My question is, how do I add the CREATE FUNCTION statement to > Django's db-creating process? For initial data, I know that I just make > a bunch of .sql files that have the same name as the models, and put > them inside the sql/ directory. Is there something similar I can do for > functions?
Hi Mikah, Those .sql files that you put in the sql/ directory can contain arbitrary SQL, including CREATE FUNCTION statements. So go right ahead and put your function(s) in there. 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 -~----------~----~----~----~------~----~------~--~---