Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperationalError (no such table: quiz_quiz) while trying to start application #76

Open
obaqueiro opened this issue Dec 7, 2017 · 1 comment

Comments

@obaqueiro
Copy link

Hello!

I am trying to run the barebones application with an empty Django prorject.

  • I followed the README.md instructions and I've got a .egg

  • I create a new Django project ( django-admin startproject xyz )

  • I move the .egg file to the app directory and add sys.path.append("django_quiz_app-0.5.1-py2.7.egg") to the manage.py (so that my Django app can see the required libs) and modify the settings.py and url.py (according to README.md instructions)

  • I start the project ( python manage.py runserver ) and it runs OK. However when I point my browser to 127.0.0.1/q , I get the following error:

Request Method: | GET
-- | --
http://127.0.0.1:8000/q/
1.6.5
OperationalError
no such table: quiz_quiz
/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 451
/usr/local/opt/python/bin/python2.7

Is there something I am doing wrong?

@riiy
Copy link

riiy commented Dec 15, 2017

try run this command
python manage.py syncdb
at the project root dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants