← Back to team overview

ubuntu-accomplishments-contributors team mailing list archive

Re: dash in django project or app name

 

> Solution
> Have the project renamed and replace the dash characters with
> underscores instead.

Correct me if I'm wrong, but it sounds like project name = name of the
directory where you checked out the project? There has to be a better
way. I mean, one should be free to name a checkout directory whatever
they want.

How about if we add a new editor/settings.py with just what's
necessary in it, and use it as:
    import editor.settings
instead of:
    from django.conf import settings

Also, an app should probably not have hardcoded project names in it.

Better ideas anyone?
Janos
-- 
Janos Gyerik
http://titan2x.com/


References