Permalink
Browse files

define django-gtd environments in stackato.yml

  • Loading branch information...
1 parent d1eded6 commit 5389ee7d0be47f69d55c7b05dc8de53ab0885ffa Sridhar Ratnakumar committed Sep 15, 2011
Showing with 7 additions and 9 deletions.
  1. +7 −7 stackato.yml
  2. +0 −2 wsgi.py
View
14 stackato.yml
@@ -1,14 +1,14 @@
name: gtd
-framework:
- type: python
-
mem: 64M
+env:
+ DJANGO_SETTINGS_MODULE: settings
+
services:
postgresql: postgresql-gtd
-ignore: [
- .git
- dev.db
-]
+ignore:
+ .git
+ dev.db
+
View
2 wsgi.py
@@ -1,8 +1,6 @@
import os
import sys
-os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-
import django.core.handlers.wsgi as w
application = w.WSGIHandler()

0 comments on commit 5389ee7

Please sign in to comment.