Opened 7 years ago

Closed 7 years ago

#6572 closed (invalid)

[newforms-admin] cannot import name UserCreationForm

Reported by: apollo13 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: UI/UX:


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/", line 73, in get_response
    callback, callback_args, callback_kwargs = resolver.resolve(request.path)

  File "/opt/django.git/django/core/", line 231, in resolve
    for pattern in self.urlconf_module.urlpatterns:

  File "/opt/django.git/django/core/", 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

GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
META:{'DOCUMENT_ROOT': '/htdocs',
 '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_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.7,de-at;q=0.3',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_HOST': '',
 'HTTP_KEEP_ALIVE': '300',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20080201 Firefox/',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': '/',
 'PATH_TRANSLATED': '/home/web/conf/apache/kochbuch.wsgi/',
 'REMOTE_PORT': '33661',
 'REQUEST_URI': '/',
 'SCRIPT_FILENAME': '/home/web/conf/apache/kochbuch.wsgi',
 'SERVER_ADMIN': '[no address given]',
 'SERVER_PORT': '80',
 '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)}>

Change History (1)

comment:1 Changed 7 years ago by Simon Greenhill <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Can you please take this to the django-users mailing list? thanks!

Note: See TracTickets for help on using tickets.
Back to Top