7
after wasting entire day i got the answer
heroku run python manage.py syncdb
doesn’t run on institute or office lan to run this you must remove system proxy as well
unset http_proxy
`unset https_proxy`
I hope this will help
- [Django]-Sending JSON using the django test client
- [Django]-How to disable Django's CSRF validation?
- [Django]-Django: dependencies reference nonexistent parent node
- [Django]-Why would running scheduled tasks with Celery be preferable over crontab?
- [Django]-Inject errors into already validated form?
- [Django]-Django templates: overriding blocks of included children templates through an extended template
1
More info please.
What DB are you using?
Have you set your local_settings.py?
Are you using Debian?
I use Postgres on Debian so I had to both apt-get install python-psycopg2
(otherwise you can’t use postgres) and pip install --user psycopg2
(otherwise pip freeze
misses Postgres), then manually create a user and db. Replace USER with the username from your local_settings.py
sudo su - postgres
createuser USER -dPRs
createdb --owner USER db.db
- [Django]-Django: How to build a custom form widget?
- [Django]-Django media URLs in CSS files
- [Django]-Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding, when trying to start uwsgi
Source:stackexchange.com