django-heroku-bootstrap
django-heroku-bootstrap copied to clipboard
South integration
When I do fab run I get File "/Users/trang/.virtualenvs/djangoheroku/lib/python2.7/site-packages/django/db/models/loading.py", line 149, in get_app raise ImproperlyConfigured("App with label %s is missing a models.py module." % app_label) django.core.exceptions.ImproperlyConfigured: App with label examples is missing a models.py module.
I see you have committed code on south integration. Would love it if you update the readme so I can try it out. Thanks
Will do. The repository is in a somewhat in-between state right now. I'll fix this shortly
When I do fab run I get error. Not sure if its related to migration or not
Traceback (most recent call last):
File "manage.py", line 14, in
Fatal error: local() encountered an error (return code 1) while executing 'python manage.py schemamigration apps.examples --initial --settings=settings.dev'
Aborting.
I believe it is. The example app in the apps module does not have a models module. South is not happy about that. As I said, I will update the bootstrap to bring it to a coherent state + fresh docs. Thanks for help in tracking that down
I m trying to run on my local machine. When I do fab run I get an error raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e)) 21:00:52 web.1 | ImportError: Could not import settings 'settings.dev' (Is it on sys.path?): No module named settings.dev
I believe it has something to do with
web: gunicorn_django -b 0.0.0.0:$PORT -w 9 -k gevent --max-requests 250 --preload settings.dev
any idea?
My guess is that current directory ('.') is not on your python path. Try the following:
- in the python console: import sys print sys.path
- check to see if current directory ('.') is within the list. If not, you might want to add it through an environmental variable in your system (export PYTHONPATH=${PYTHONPATH}:.)
I will add automatic path appending to the fab script so you won't have to worry about it in the future
Hey Dat. I've made some changes to the bootstrap that should resolve the problems you've been having. Please let me know if it works. South migrations should work as well.
I keep getting table does not exist error. plus can you separate staging and production sites on heroku? i keep getting ! Multiple apps in folder and no app specified. when I tried to do it
On Mon, Dec 3, 2012 at 7:36 PM, Philip Nuzhnyi [email protected]:
Hey Dat. I've made some changes to the bootstrap that should resolve the problems you've been having. Please let me know if it works. South migrations should work as well.
— Reply to this email directly or view it on GitHubhttps://github.com/callmephilip/django-heroku-bootstrap/issues/1#issuecomment-10979195.
could you provide trace logs, por favor?