KnowledgeTest is a web application for creating and taking quizzes. This project is built using the Django web framework.
- User registration and authentication
- Creating, updating and deleting quizzes
- Topic selection
- Taking a quiz, viewing results
- Viewing quiz taken history
├── Django/
│ ├─ accounts/
│ │ ├─ migrations/
│ │ │ ├─ __init__.py
│ │ ├─ static/
│ │ │ ├─ css/
│ │ │ │ ├─ login.css
│ │ │ │ ├─ signup.css
│ │ ├─ __init__.py
│ │ ├─ admin.py
│ │ ├─ apps.py
│ │ ├─ models.py
│ │ ├─ tests.py
│ │ ├─ urls.py
│ │ ├─ views.py
│ ├─ Django/
│ │ ├─ __init__.py
│ │ ├─ asgi.py
│ │ ├─ settings.py
│ │ ├─ urls.py
│ │ ├─ views.py
│ │ ├─ wsgi.py
│ ├─ quiz/
│ │ ├─ migrations/
│ │ │ ├─ __init__.py
│ │ ├─ static/
│ │ │ ├─ css/
│ │ │ │ ├─ index.css
│ │ │ │ ├─ quiz-results.css
│ │ │ │ ├─ select-topic.css
│ │ │ │ ├─ take-a-quiz.css
│ │ ├─ templates/
│ │ ├─ __init__.py
│ │ ├─ admin.py
│ │ ├─ apps.py
│ │ ├─ models.py
│ │ ├─ urls.py
│ │ ├─ views.py
│ │ ├─ tests.py
│ ├─ templates/
│ │ ├─ account/
│ │ │ ├─ login.html
│ │ │ ├─ profile.html
│ │ │ ├─ signup.html
│ │ ├─ quiz/
│ │ │ ├─ index.html
│ │ │ ├─ results.html
│ │ │ ├─ select-topic.html
│ │ │ ├─ take-a-quiz.html
│ │ ├─ error.html
│ │ ├─ base.html
├────── .gitignore
├────── db.sqlite3
└────── manage.py
To get started with the project, follow these steps:
Setup python interpreter
-
Go to File => Settings => Project: KnowledgeTest => Python Interpreter. Select Add Interpreter => Add Local Interpreter

Edit Configurations
- Run => Edit Configurations

- Config parameters
Script path: select manage.py file
Parameters: runserver
Cannot start the project - Django hasn't installed
- Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

- Causes: Django hasn't installed
- Solution:
Install Django for the project
Open terminal:
Set-ExecutionPolicy Unrestricted -Scope Process
venv\Scripts\activate.ps1Install Django
pip install djangousername: admin
password: password






