Changeset 8664
- Timestamp:
- 08/28/08 11:14:13 (3 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
r8272 r8664 255 255 return self._urlconf_module 256 256 except AttributeError: 257 try: 258 self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) 259 except Exception, e: 260 # Either an invalid urlconf_name, such as "foo.bar.", or some 261 # kind of problem during the actual import. 262 raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e) 257 self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) 263 258 return self._urlconf_module 264 259 urlconf_module = property(_get_urlconf_module)
