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
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
2 matches
Mail list logo