Ok I added the southtut app to my installed apps after creating its
folder, but now when I enter this command:

python manage.py schemamigration southtut --initial

I get this:

Unknown command: 'schemamigration'

Which makes me wonder if I really do have South completely installed
ok, or if I need to be in a different directory to be able to execurte
it. Currently I'm trying to execute it I'm in the mysite directory
which has my settings.py, my templates folder and my app. folders. So
maybe I should where should I before I try to run the schemamigration
command? Any thoughts?

On Feb 17, 9:44 am, Michael <mhall...@gmail.com> wrote:
> After you create the southtut app, you need to add it to
> settings.INSTALLED_APPS in order for Django to know about it.  If Django
> doesn't know about it, then South doesn't know about it.
>
> --
> Michael <mhall...@gmail.com>
>
>
>
> On Thu, 2011-02-17 at 07:20 -0800, hank23 wrote:
> > I downloaded and installed Django's South DB tool apparently ok
> > because after installing it I went into the shell and was able to
> > import South ok with no errors. So then I added it to the end of the
> > list of installed apps and also ran syncdb. When I ran syncdb I didn't
> > get anything that looked like an error, however I did get a list of
> > items that it tried to sync and a message that looked like this:
>
> > Syncing...
> > No fixtures found.
>
> > Synced:
> >   > django.contrib.auth
> >   > django.contrib.contenttypes
> >   > django.contrib.sessions
> >   > django.contrib.sites
> >   > django.contrib.messages
> >   > django.contrib.admin
> >   > polls
> >   > south
>
> > Not synced (use migrations):
> > -
> > (use ./manage.py migrate to migrate these)
>
> > Then when I started the South tutorial and ran:
>
> > python manage.py startapp southtut
>
> > which created the new folder in my mysite directory for the new
> > southtut app. Then when I tried to run the schemamigration command
> > like this:
>
> > python manage.py schemamigration southtut --initial
>
> > I ultimately got this error:
>
> > django.core.exceptions.Improperlyconfigured: App with label southtut
> > could not be found
>
> > So since I think I followed all of the steps properly in the install
> > and then again also at the start of the first part of the South
> > tutorial what do I do now? Did I miss something somewhere? Thanks in
> > advance for the help.- Hide quoted text -
>
> - Show quoted text -

-- 
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