--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Does the Django tutorial still match reality?
hi, im deploying my django app in a webhost (mochahost) and i get this error
MOD_PYTHON ERROR
ProcessId: 23641
Interpreter: 'gruporole.com'
ServerName: 'gruporole.com'
DocumentRoot: '/home/gruporol/public_html'
URI: '/services'
Location: None
Directory: '/home/gruporol/public_html/'
Filename: '/home/gruporol/public_html/services'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib64/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "/home/gruporol/soft/django/core/handlers/modpython.py", line 213, in handler
return ModPythonHandler()(req)
File "/home/gruporol/soft/django/core/handlers/modpython.py", line 191, in __call__
response = self.get_response(request)
File "/home/gruporol/soft/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/gruporol/soft/django/core/handlers/base.py", line 214, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/home/gruporol/soft/django/core/urlresolvers.py", line 274, in _get_urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/home/gruporol/soft/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/gruporol/soft/role/urls.py", line 4, in <module>
from django.contrib import admin
File "/home/gruporol/soft/django/contrib/admin/__init__.py", line 3, in <module>
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
File "/home/gruporol/soft/django/contrib/admin/helpers.py", line 3, in <module>
from django.contrib.admin.util import (flatten_fieldsets, lookup_field,
File "/home/gruporol/soft/django/contrib/admin/util.py", line 1, in <module>
from django.db import models
File "/home/gruporol/soft/django/db/__init__.py", line 78, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "/home/gruporol/soft/django/db/utils.py", line 93, in __getitem__
backend = load_backend(db['ENGINE'])
File "/home/gruporol/soft/django/db/utils.py", line 33, in load_backend
return import_module('.base', backend_name)
File "/home/gruporol/soft/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/gruporol/soft/django/db/backends/postgresql_psycopg2/base.py", line 9, in <module>
from django.db import utils
ImportError: cannot import name utils
in my pc this code work fine but in the hosting gaveme this, what can i do to solve this. help please.
----------------------------------------------------------------------------------------
El ayer es un recuerdo, el mañana es un misterio y el ahora es un regalo...por eso se llama presente.
Ing. Yasmany Cubela Medina:
Linux user 446757
Ubuntu user 13464
--
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0dd068ca-a799-4d49-a5df-28ba1552b463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.