Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed project-settings

  • Loading branch information...
commit b11c2ae5fa6bf6bb159ed442152b77decb450036 1 parent a8f4aab
Nick Badoux authored
Showing with 4 additions and 2 deletions.
  1. +1 −0  .gitignore
  2. +3 −2 fabfile.py
View
1  .gitignore
@@ -1 +1,2 @@
+.DS_Store
*.pyc
View
5 fabfile.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.