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

Creating a quiz does not work #2

Open
yasslbk opened this issue Oct 6, 2024 · 6 comments
Open

Creating a quiz does not work #2

yasslbk opened this issue Oct 6, 2024 · 6 comments

Comments

@yasslbk
Copy link

yasslbk commented Oct 6, 2024

Describe the bug
Creating a quiz does not work.

To Reproduce
Access to http://localhost:8000/admin/quiz/quiz/add/
Key 'title_en' not found in 'QuizForm'. Choices are: questions.

Expected behavior
Successful creation of quiz.
Know that other types of questions work.

Screenshots
image

@adilmohak
Copy link
Member

@YassineLambarki It seems like you haven't migrated all the migrations. Lang support is recently included, run the migration command and let us know if the bug persists.

python manage.py migrate

@yasslbk
Copy link
Author

yasslbk commented Oct 6, 2024

New error.
I am rebased at HEAD main.
image

adilmohak added a commit that referenced this issue Oct 6, 2024
@adilmohak
Copy link
Member

@YassineLambarki Could you please check now

@yasslbk
Copy link
Author

yasslbk commented Oct 7, 2024

No, still not working, I have this error.
Does it work in your end ?
https://stackoverflow.com/questions/48842889/django-templatesyntaxerror-invalid-filter

@adilmohak
Copy link
Member

I just double-checked, and it is working on my side. Did you rebase or pull the latest changes? Also is this error happen on the same page admin/quiz/quiz/add?

@sanyaade-teachings
Copy link

Access to http://localhost:8000/admin/quiz/quiz/add/

I had this error when using localhost:8000 but no errors if you use 127.0.0.1:8000
Could the Django MVC issues? I have had the same problems with other Django projects. The settings treat 127.0.0.1 differently from localhost
Google: Django localhost vs 127.0.0.1 to learn more about this

Hope this helps!

God blesses!!!

Regards

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

3 participants