tillmo / two_tiered_quiz

A multiple choice quiz with justifications for the answers, written in Django
GNU Affero General Public License v3.0
0 stars 0 forks source link

Network error on sign up #84

Open tillmo opened 4 years ago

tillmo commented 4 years ago

After filling in name and passwords and pressing the button, a network error occurs. Here is the log. The first error is KeyError: 'django'.

tillmo commented 4 years ago

Maybe this helps?

tillmo commented 4 years ago

The error occurs after sign up. However, the sign up is successful, and afterwards one can log in without problems. What does not work any longer is the automatic login after sign up. (Moreover, uses leave the website due to the network error and do not try to log in.)

tillmo commented 4 years ago

The first answer here solved the problem. However, this kind of monkey-patching is unfortunate.

pramodbontha commented 4 years ago

The first answer here solved the problem. However, this kind of monkey-patching is unfortunate.

Could you please check my changes. Those patches might not be needed.

tillmo commented 4 years ago

The first answer here solved the problem. However, this kind of monkey-patching is unfortunate.

Could you please check my changes. Those patches might not be needed.

they do not solve the problem

tillmo commented 4 years ago

Here is how you can try to debug your solution:

pramodbontha commented 4 years ago

I guess the issue is with Django versions. The version I run in my local machine is 2.2.11 but when I downloaded the python_lib and pointed to it, the versions shows 3.0.5. I think may be installing the django as per the requirements.txt should fix this issue without patches.