Opened 18 years ago
Closed 18 years ago
#6572 closed (invalid)
[newforms-admin] cannot import name UserCreationForm
| Reported by: | Florian Apolloner | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | newforms-admin |
| Severity: | Keywords: | ||
| Cc: | django@… | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Hi, I am getting an odd error (via email), but I can't find out why:
Traceback (most recent call last):
File "/opt/django.git/django/core/handlers/base.py", line 73, in get_response
callback, callback_args, callback_kwargs = resolver.resolve(request.path)
File "/opt/django.git/django/core/urlresolvers.py", line 231, in resolve
for pattern in self.urlconf_module.urlpatterns:
File "/opt/django.git/django/core/urlresolvers.py", line 255, in _get_urlconf_module
raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e)
ImproperlyConfigured: Error while importing URLconf 'urls': cannot import name UserCreationForm
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'UTF-8,*',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.7,de-at;q=0.3',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': 'kochbuch.xxxxxx.eu',
'HTTP_KEEP_ALIVE': '300',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': '/',
'PATH_TRANSLATED': '/home/web/conf/apache/kochbuch.wsgi/',
'QUERY_STRING': '',
'REMOTE_ADDR': '62.99.146.27',
'REMOTE_PORT': '33661',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/home/web/conf/apache/kochbuch.wsgi',
'SCRIPT_NAME': '',
'SERVER_ADDR': 'xx.xxx.xx.xx',
'SERVER_ADMIN': '[no address given]',
'SERVER_NAME': 'kochbuch.xxxxxxx.eu',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache',
'mod_wsgi.application_group': '',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.handler_script': '',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '80',
'mod_wsgi.output_buffering': '0',
'mod_wsgi.process_group': '',
'mod_wsgi.reload_mechanism': '0',
'mod_wsgi.script_reloading': '1',
'wsgi.errors': <mod_wsgi.Log object at 0x2aaaaabd2720>,
'wsgi.input': <mod_wsgi.Input object at 0x2aaaab8f4670>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Note:
See TracTickets
for help on using tickets.
Can you please take this to the django-users mailing list? thanks!