Re: syncdb always indicates there are no fixtures

2010-06-12 Thread tsmets
Tx a lot "Restless"... As yr post took me a while to decipher it and get most of the info, I thought it might be usefull to post extra info based on yr post. Django allows for extension to the command line (./manage.py). One of the extension is provided by Google :

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread eXt
On 11 Cze, 12:19, tsmets wrote: > The problem was just the naming convention ... > They should have been named initial_data.json as mentionned in the URL > provided by Xavier. > > Any help on how to run python scripts directly to create my data > sets ? > What I do now is

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread Bill Freeman
On Fri, Jun 11, 2010 at 6:19 AM, tsmets wrote: ... > > Any help on how to run python scripts directly to create my data > sets ? > What I do now is fine but could be better automated ? > ... One possibility is to write yourself one or more management commands which you

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread Alexandre González
I have a XML fixture with the language codes if you need it: http://pastebin.com/U4cAxXzY On Fri, Jun 11, 2010 at 12:19, tsmets wrote: > The problem was just the naming convention ... > They should have been named initial_data.json as mentionned in the URL > provided by

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread tsmets
The problem was just the naming convention ... They should have been named initial_data.json as mentionned in the URL provided by Xavier. Any help on how to run python scripts directly to create my data sets ? What I do now is fine but could be better automated ? [code] from

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread Alexandre González
¿Are you setting the variable FIXTURES_DIR in settings.py? On Fri, Jun 11, 2010 at 12:03, Kenneth Gonsalves wrote: > On Friday 11 June 2010 14:20:59 tsmets wrote: > > But I have json's files in multiple "fixtures" directories. > > [code] > >

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread Xavier Ordoquy
Hello, Fixtures are described in the documentation, especially there: http://docs.djangoproject.com/en/dev/howto/initial-data/#automatically-loading-initial-data-fixtures You have to follow the name convention to get them automatically loaded. Regards, Xavier. -- You received this message

syncdb always indicates there are no fixtures

2010-06-11 Thread tsmets
When I run the syncdb : [code] Thomas-SMETSs-MacBook-Pro:sportotop tsmets$ ./manage.py syncdb Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_user_permissions Creating table auth_user_groups Creating table auth_user Creating