django_quiz | django quiz system for school | Learning library
kandi X-RAY | django_quiz Summary
kandi X-RAY | django_quiz Summary
django quiz system for school.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of django_quiz
django_quiz Key Features
django_quiz Examples and Code Snippets
Community Discussions
Trending Discussions on django_quiz
QUESTION
I followed the instructions on https://github.com/tomwalker/django_quiz to use this project. I am able to successfully use the project. However, when I change the template (.html files) nothing changes. Even If I add or delete the entire content. I am not sure if I am missing something. I checked in views.py and I cannot see any html renders. I am new to Django and finding it difficult to understand views.py and make any changes to the templates like questions or category. Any help would be greatly appreciated.
Interestingly if I make any changes to my original base.html the css and styles are applied as well as any other changes in base.html
urls.py code
...ANSWER
Answered 2020-Aug-11 at 19:57I just had a quick look at it and it seems in views.py that he's using just generic views, that's why he never calls the render function directly.
So, as you can see in urls.py, the home page is associated with QuizListView from views.py QuizListView inherits from django.views.generic.ListView
If you look at the documentation, you will see that the default template name for that is the name of the model you specify + '_list'
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django_quiz
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page