I just created a Django project with
python manage.py startapp smartrecruitment
Then I synchronized db
python manage.py syncdb
Operations to perform:
Apply all migrations: admin, contenttypes, auth, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying sessions.0001_initial... OK
And my superuser added, but I can not access / admin in the browser. I tried to execute the following commands to grant apache permissions, but no luck.
sudo chown apache <folder_containing_db.sqlite3>
sudo chown apache db.sqlite3
source
share