things set up... run syncdb for the first time for the project. Havent
had this happen before and things seem to be working on other projects
just fine. I've even go so far as to comment out the handful of apps.
I presume there
now, is there a requirement that the apache stuff be set up to run
syncdb? that is the only thing i can think of as i just set up the
subdomain and http.conf for it on the server. doesn't seem to make
sense to me that that would be the case though...
file/directory permissions are the same as my other projects as well
python manage syncdb
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/__init__.py", line 257, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name,
name))
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/commands/syncdb.py", line 7, in <module>
from django.core.management.sql import custom_sql_for_model,
emit_post_sync_signal
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/core/management/sql.py", line 5, in <module>
from django.contrib.contenttypes import generic
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/contrib/contenttypes/generic.py", line 6, in <module>
from django.db import connection
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/db/__init__.py", line 14, in <module>
if not settings.DATABASES:
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/utils/functional.py", line 276, in __getattr__
self._setup()
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/conf/__init__.py", line 40, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.1-py2.6.egg/
django/conf/__init__.py", line 75, in __init__
raise ImportError("Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE,
e))
ImportError: Could not import settings 'blog.settings' (Is it on
sys.path? Does it have syntax errors?): No module named settings
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment