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

ValueError invalid literal for int() with base 10: '2,' #77

Open
pintuiitbhi opened this issue Dec 11, 2017 · 1 comment
Open

ValueError invalid literal for int() with base 10: '2,' #77

pintuiitbhi opened this issue Dec 11, 2017 · 1 comment

Comments

@pintuiitbhi
Copy link

Following error I am getting will I start taking quiz:

Request Method: GET
http://127.0.0.1:8000/test/test/take/
1.10
ValueError
invalid literal for int() with base 10: '2,'
/home/pintu/djangogirls/myvenv/lib/python3.6/site-packages/django/db/models/fields/init.py in get_prep_value, line 1832
/home/pintu/djangogirls/myvenv/bin/python
3.6.0

Traceback Switch to copy-and-paste view

/home/pintu/djangogirls/test/models.py in user_sitting
sitting = self.get(user=user, quiz=quiz, complete=False)

During handling of the above exception (Sitting matching query does not exist.), another exception occurred:

/home/pintu/djangogirls/test/views.py in dispatch
self.quiz) ...
▶ Local vars
/home/pintu/djangogirls/test/models.py in user_sitting
sitting = self.new_sitting(user, quiz) ...
▶ Local vars
/home/pintu/djangogirls/test/models.py in new_sitting
user_answers='{}')

@GoodnessEzeokafor
Copy link

Having the same issue

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