Permalink
Browse files

move config directory outside of project

  • Loading branch information...
1 parent 4f70b8b commit e74725a7ac78309082d0df2e718b34e73536f429 @elijahr elijahr committed Jul 9, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 django_host_settings/management/commands/createhostsettings.py
  2. +1 −1 setup.py
@@ -10,8 +10,8 @@ class Command(BaseCommand):
def handle(self, *args, **options):
from django.conf import settings
module_name = get_local_settings_module()
- module_path = os.path.join(settings.PROJECT_ROOT, 'config',
- '%s.py' % module_name)
+ module_path = os.path.abspath(os.path.join(settings.PROJECT_ROOT, '..',
+ 'config', '%s.py' % module_name))
if os.path.exists(module_path):
raise CommandError('%s already exists, nothing to do' % module_path)
View
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(
- version = "0.2",
+ version = "0.3",
name = "django-host-settings",
packages = find_packages(),
author = "Elijah Rutschman",

0 comments on commit e74725a

Please sign in to comment.