Permalink
Browse files

renamed project-settings

  • Loading branch information...
1 parent a8f4aab commit b11c2ae5fa6bf6bb159ed442152b77decb450036 Nick Badoux committed Jan 13, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +3 −2 fabfile.py
View
@@ -1 +1,2 @@
+.DS_Store
*.pyc
View
@@ -1,10 +1,11 @@
import hosts.staging.tasks as staging
import sys; sys.path.append('..')
-import settings_default
+import settings
# django project settings
-PROJECT_SETTINGS = getattr(settings_default, 'DEPLOYMENT')
+PROJECT_SETTINGS = getattr(settings, 'DEPLOYMENT')
+sys.path.remove('..')
# available tasks
staging.deploy = staging.Deployment(project_settings=PROJECT_SETTINGS)

0 comments on commit b11c2ae

Please sign in to comment.