Re: Populating default data into sql tables using sql file inside the sql folder of app is not working

2015-12-12 Thread Tim Graham
You can use migrations and the RunSQL operation. https://docs.djangoproject.com/en/stable/ref/migration-operations/#runsql On Saturday, December 12, 2015 at 8:59:08 AM UTC-5, naveen tamanam wrote: > > In older django versions I use to load the default values using sql files > which are in the fo

Populating default data into sql tables using sql file inside the sql folder of app is not working

2015-12-12 Thread naveen tamanam
In older django versions I use to load the default values using sql files which are in the folder sql in side the app directory. But in django.1.9c1 it's not working. When I look at django documentation it seems like support raw sql file is removed to load the default data. How to load the daf