Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move config directory outside of project

  • Loading branch information...
commit e74725a7ac78309082d0df2e718b34e73536f429 1 parent 4f70b8b
@elijahr elijahr authored
View
4 django_host_settings/management/commands/createhostsettings.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
2  setup.py
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.