Skip to content

prasannassp/django-schools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django School

Python Version Django Version CircleCI

This is an example project to illustrate an implementation of multiple user types. In this Django app, teachers can create quizzes and students can sign up and take quizzes related to their interests.

Django School Screenshot

Read the blog post How to Implement Multiple User Types with Django.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/suhailvs/django-schools

Create Virtual Env and Install the requirements:

cd django-schools
python3 -m venv env
source ./env/bin/activate
pip install -r requirements.txt

Create the database:

cd django-schools
python manage.py migrate

Load datas, some questions, a teacher(user: sumee,pass: sumee1910) and a student(user: suhail,pass: sumee1910)

python manage.py loaddata datas.json

Finally, run the development server:

python manage.py runserver

The project will be available at http://127.0.0.1:8000, Login using::

Teacher

username: sumee password: sumee1910

Student

username: suhail password: sumee1910

License

The source code is released under the MIT License.

About

Django Quiz Application

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 58.4%
  • HTML 40.0%
  • CSS 1.6%