My app is missing!

18 views
Skip to first unread message

djandrow

unread,
Feb 18, 2009, 3:54:41 PM2/18/09
to Django users
Hello all,

I've been trying to add a few extra fields to my model, as part of my
blog app. So then I tried sqlall:

python "C:\ProgLangs\Python25\Lib\site-packages\django\conf
\project_template\manage.py" sqlall blog

theres another thread about why i've included the path, but i don't
see why it should make a difference. Anyway, when i run that i get
this error message.

Error: App with label blog could not be found. Are you sure your
INSTALLED_APPS
setting is correct?

my installed apps looks like this ;

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'akonline.blog',
)

it exists in akonline/blog and i created it in the proper way so can
someone explain why i get an error? Or are there some things i can try
to see whats going on?

Thanks,

Andrew

Malinka Rellikwodahs

unread,
Feb 18, 2009, 4:00:19 PM2/18/09
to django...@googlegroups.com
my first gues would be you are not in the akonline folder

djandrow

unread,
Feb 18, 2009, 4:10:52 PM2/18/09
to Django users
I am:

C:\Program Files\Apache2.2\akonline>python "C:\ProgLangs\Python25\Lib
\site-packa
ges\django\conf\project_template\manage.py" sqlall blog
Error: App with label blog could not be found. Are you sure your
INSTALLED_APPS
setting is correct?

On Feb 18, 9:00 pm, Malinka Rellikwodahs <aelmali...@gmail.com> wrote:
> my first gues would be you are not in the akonline folder
>

djandrow

unread,
Feb 19, 2009, 7:14:08 AM2/19/09
to Django users
I may just try creating a new app and see if that works and if it does
just copy the things over.

Tim

unread,
Feb 19, 2009, 10:39:46 AM2/19/09
to Django users
The problem is that you are using the manage.py that is in the
project_template directory, which will load the settings.py file from
the project_template directory.

You need to use the manage.py that is in the akonline directory, so
that the proper settings.py file is loaded.

djandrow

unread,
Feb 19, 2009, 3:59:22 PM2/19/09
to Django users
Thanks Tim, I got it sorted out.
Reply all
Reply to author
Forward
0 new messages