Saturday, January 25, 2014

Re: Problems Adding Django South Tool

(note: I can type ./manage.py instead of python manage.py because I changed the mode for the manage.py file by doing chmod +x manage.py to make it executable. Also, I didn't type the dollar sign $, that only indicates the command prompt)

For me, I realized I had typed the following (notice the trailing slash) which did NOT work:

$ ./manage.py migrate southtut/

 After I entered the command without the trailing slash, it DID work:

$ ./manage.py migrate southtut

So, it seems like all the steps to take are the following:

1) install south (for example, pip install south or whatever installation method you prefer http://south.readthedocs.org/en/latest/installation.html)
2) add south to the INSTALLED_APPS tuple in settings.py
3) run ./manage.py syncdb
4) create the southtut app by running $ ./manage.py startapp southtut
5) run $ ./manage.py schemamigration southtut --initial
6) run $ ./manage.py migrate southtut


On Tuesday, April 23, 2013 9:09:46 PM UTC-4, Ashley Snelgrove wrote:
I'm guessing that southtut also needed to be added to the list of INSTALLED_APPS. 

On Thursday, August 23, 2012 8:57:58 AM UTC-6, Fyodor Wolf wrote:
What was your Solution???

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/675765bc-65fd-43d0-8573-795e313e471a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment