apache conf file is configured as ***************************************************************************** <Location "/bookstor/"> SetHandler python-program PythonPath "['/var/www'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE bookstor.settings PythonOption django.root /bookstor PythonDebug On </Location> *****************************************************************************
attempting to load the admin url returns ************************************************************************************ Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.3/site-packages/django/core/handlers/ modpython.py", line 222, in handler return ModPythonHandler()(req) File "/usr/lib/python2.3/site-packages/django/core/handlers/ modpython.py", line 185, in __call__ self.load_middleware() File "/usr/lib/python2.3/site-packages/django/core/handlers/ base.py", line 31, in load_middleware for middleware_path in settings.MIDDLEWARE_CLASSES: File "/usr/lib/python2.3/site-packages/django/conf/__init__.py", line 28, in __getattr__ self._import_settings() File "/usr/lib/python2.3/site-packages/django/conf/__init__.py", line 59, in _import_settings self._target = Settings(settings_module) File "/usr/lib/python2.3/site-packages/django/conf/__init__.py", line 92, in __init__ mod = __import__(self.SETTINGS_MODULE, {}, {}, ['']) File "/var/www/bookstor/settings.py", line 80 ‘django.contrib.admin’, ^ SyntaxError: invalid syntax --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---