Re: Loading fixtures in Django 1.7

2014-11-11 Thread André Manzano
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

Re: Loading fixtures in Django 1.7

2014-11-11 Thread Leonard Wayne
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

Re: Loading fixtures in Django 1.7

2014-11-09 Thread Fred Stluka
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

Loading fixtures in Django 1.7

2014-11-09 Thread Leonard Wayne
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