django-quiz
django-quiz copied to clipboard
Quiz application created in django to create and take MCQ Quizzes
Django Quiz Application
A quiz application created in django to conduct mcq quizzes. The application has the following features :
- Add/update/delete questions from admin.
- JavaScript timer
- Random questions from set of questions
- Production ready
Installation
- Install python3
- Install pip for python3
- Install virtualenv
pip install virtualenvorpip3 install virtualenv - Create virtual environment and cd into it
virtualenv django-quiz --python python3 && cd django-quiz - Clone git repository into src folder and cd into it
git clone <url> src && cd src - Install requirements
pip install -r requirements.txtorpip3 install -r requirements.txt - Make appropriate changes to settings module and make migrations using
python manage.py makemigrationsand thenpython manage.py migrate - Run using
python manage.py runserver - Create superuser to log into admin
python manage.py createsuperuser
Implementation
- Add questions from admin
- Conduct the quiz
- To get results, run the results script
python manage.py runscript -v2 results - To send reviews, run the reviews script
python manage.py runscript -v2 reviewsWARNING : Reviews script will send emails to all participants. Make sure to update email settings in settings module. Try not to use fake emails to avoid sending emails to random people.