Skip to content

saloniig/Online-School-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online School System Using Django

In this project there is an online School System where teachers can create assignments, upload study material and previous year papers that students can view. By this project you will get to know a lot about the Rest framework of django and also some amount of Javascript In this project AJAX LIVE SEARCH is also used that displays the result as typed by the student .

About Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Features

  • A split of settings.py that allows for different values in development versus production
  • Preinstallation of Django's automatic administration panel
  • Preconfiguration of urls.py to serve static, media and Munin files
  • Preconfiguration of logging options
  • Preinstallation of django-debug-toolbar
  • Preconfiguration of our preferred caching options for development and production
  • Management commands for scheduling database backups retrieving them for local installation.
  • Custom context processors that provide the current site and environment

Requirements

Getting started

Table of Contents

For the complete tutorial series index click here.

Installation

Please check the official django installation guide for server requirements before you start. Official Documentation

Setup

Create a virtual enviroment to work inside.

virtualenv my-environment

Jump in and turn it on.

cd my-environment

. bin/activate

Install Django:

pip install Django

Perform database migration:

python manage.py makemigrations

python manage.py migrate

Run Development Server

python manage.py runserver

You can now access the server at http://localhost:8000

Project File/Folder Structure

What I’ve changed ?

  • All Django apps live under mysite/ folder.
  • All of the models live under models.py file.
  • All of the admin files live under admin.py file. -- All of the views live under generated app’s views/ folder.
  • Every app should contain It’s own urls.py.
  • All settings related files will live under settings.py file.
  • Every environment has It’s own setting such as
  • Every environment/settings can have It’s own package/module requirements.
  • All of the templates live under basedir’s templates/APP_NAME folder.
  • Additional files such as images, JavaScript, or CSS are live under static/mine folder.
  • Every environment/settings can have It’s own package/module requirements.

Here is directory/file structure:



mysite/
    manage.py
    mysite/
       __init__.py
       settings.py
       urls.py
       wsgi.py
    mine/
       migrations/
               __init__.py
       __init__.py
       admin.py
       static
       templates
       models.py
       tests.py
       views.py

Documentation

You can see the documentation over at Read the Docs: django-project-skeleton

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published