Leonard, try that.
http://stackoverflow.com/questions/25960850/loading-initial-data-with-django-1-7-and-data-migrations
Att,
Andre Manzano
Em terça-feira, 11 de novembro de 2014 13h36min14s UTC-2, Leonard Wayne
escreveu:
>
> Fred,
>
> Got it!! Thank you!!
>
> - Leonard
>
> On Sunda
Fred,
Got it!! Thank you!!
- Leonard
On Sunday, November 9, 2014 5:46:30 PM UTC-5, Leonard Wayne wrote:
>
> I am in the process of upgrading from
> Django 1.6 to 1.7.
>
> I have three fixtures. I am trying to figure
> out how I should load them.
>
> One fixture is `initial_data.json`, and I kn
Leonard,
In Django 1.4, you would add this code to the forwards()
method of the migration:
from django.core.management import call_command
call_command("loaddata", "")
--Fred
Fred Stluka -- mailto:f...@bristle.com
I am in the process of upgrading from
Django 1.6 to 1.7.
I have three fixtures. I am trying to figure
out how I should load them.
One fixture is `initial_data.json`, and I know
that starting with Django 1.7 this special
fixture no longer gets automatically loaded
as it did when we used to run `s
4 matches
Mail list logo