Changeset 6584
- Timestamp:
- 10/21/07 12:51:06 (11 months ago)
- Files:
-
- django/trunk/django/core/urlresolvers.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/urlresolvers.py
r5681 r6584 250 250 try: 251 251 self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) 252 except ValueError, e: 253 # Invalid urlconf_name, such as "foo.bar." (note trailing period) 252 except Exception, e: 253 # Either an invalid urlconf_name, such as "foo.bar.", or some 254 # kind of problem during the actual import. 254 255 raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e) 255 256 return self._urlconf_module
