Skip to content

Conversation

skoczen
Copy link

@skoczen skoczen commented Aug 19, 2013

I use project/settings/dev.py/project/settings/production.py or something similar in a lot of projects.

This PR provides a way to explicitly set the project root path, instead of only the magic replace('.settings', '') method.

Thanks for a great project!

If this looks good and gets merged, a quick version bump and pypi release would be awesome, so I can pull our projects off my fork and back on to trunk.

Thanks!

CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))

class SiteAndPathUtils(object):
@crolfe
Copy link

crolfe commented Sep 30, 2014

I'd like to see this change get merged in, as modular settings is a very common pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants