Hi group,
I just started working on my 1st django app.
Since I rely extensively on my IDE (SPE!) I want to make sure these run
smoothly together. When executing:
from django.conf import global_settings
in the shell of my IDE, it wouldnt import right, so I added the
following statement to
django.conf.__init__:
try:
from django.conf import global_settings
except:
import global_settings
that works smooth. But basically when I try instance a subclassed
models.Model, the following error occurs:
Traceback (most recent call last):
File "<input>", line 1, in ?
File "C:\Python24\lib\site-packages\django\db\models\base.py", line
45, in __new__
new_class._meta.app_label = model_module.__name__.split('.')[-2]
IndexError: list index out of range
Also when I've added the model to the database by running manage.py
syncdb
Am I having a wrong expectation in what extent my IDE can run django,
or am I overlooking something here?
thanks so much for your effort in creating Django!
-jelle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---