Commits

Brent Tubbs committed 5c5d3ee

fixing buglet in config importing. add site root to sys.path in django membrane. ver 0.3.3

Comments (0)

Files changed (2)

 
 setup(
     name='silk-config',
-    version='0.3.2',
+    version='0.3.3',
     author='Brent Tubbs',
     author_email='brent.tubbs@gmail.com',
 	packages=find_packages(),

silk_extras/django_membrane.py

 
 here = os.getcwd()
 root = get_site_root(here)
-site_config = get_site_config(here)
+sys.path.insert(0, root)
+site_config = get_site_config(root)
 os.environ['DJANGO_SETTINGS_MODULE'] = site_config['django_settings_module']
 
 def is_django_project(folder):