#8086 closed (fixed)
r8186 breaks python 2.4
| Reported by: | CHasenpflug | Owned by: | nobody | 
|---|---|---|---|
| Component: | contrib.admin | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Just started a new project against r8186 using Python 2.4.3 on Mac OS 10.4.
ImproperlyConfigured at /admin/
Error while importing URLconf 'buildbotweb.urls': import() takes no keyword arguments
Environment:
Request Method: GET
Request URL: http://localhost:8000/admin/
Django Version: 1.0-alpha-SVN-8187
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')
Traceback:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
  77.             callback, callback_args, callback_kwargs = resolver.resolve(
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/urlresolvers.py" in resolve
  238.             for pattern in self.urlconf_module.urlpatterns:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/urlresolvers.py" in _get_urlconf_module
  262.                 raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e)
Exception Type: ImproperlyConfigured at /admin/
Exception Value: Error while importing URLconf 'buildbotweb.urls': __import__() takes no keyword arguments
      Attachments (1)
Change History (4)
comment:1 by , 17 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
by , 17 years ago
| Attachment: | load_session_before_save.diff added | 
|---|
The DRY version. Note that this is backwards-incompatible for custom backends. Tested with r8187
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [8188]) Fixed #8086 -- Removed 2.5 specific keyword argument to import. Thanks CHasenpflug for noticing this.