#4850: Having a project named "code" breaks things
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: django-admin.py
Version: | Resolution:
Keywords: project name | Stage: Design decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------+---------------------------------------------
Comment (by Simon G. <[EMAIL PROTECTED]>):
Yeah, that's what I thought the case would be. How about modifying the
exception to make this a bit more explicit and help debug - e.g.:
{{{
raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors? Is it clashing with an existing
module called '%s'?): %s" % (self.SETTINGS_MODULE, self.SETTINGS_MODULE,
e)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4850#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---