Hi all

I've got two projects - one is a branch of the other, on the same
machine.
They use different databases.

Strangely, if I run django-admin.py syncdb or "python manage.py
syncdb" in the branch project, it reads the models from the original
version, however if I run  "python manage.py sqlall myapp" it reads it
from the correct models (the ones in the branch).

Can anyone shed any light on this? I've tried changing the
DJANGO_SETTINGS_MODULE env var to no avail. I have a work-around
("python manage.py sqlall myapp | psql mydb") but this isn't ideal.

BTW I'm on 1.0.2.

Cheers

Will
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to