[Answer]-Django and sqlite on production! my db file has nothing, why?

1👍

Have you installed your project’s dependencies?

Are you running a virtualenv or system environment?

What do you mean with ‘click a button’, post the script behind it

Does your production environment runserver without errors?

Try the command line and check for errors:

./manage.py syncdb

errors ?

./manage.py runserver

errors ?

./manage.py shell

>> from django.contrib.auth.models import User
>> print User.objects.all()

errors ?

>> import sqlite3

errors ?

Leave a comment