Skip to content

The repository contains everything to start Django development. Some of the key features like authentication, templating, routing such features are also covered.

Notifications You must be signed in to change notification settings

vaibhavbuccha/Django-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Setup Instructions

Create new Django project

django-admin startproject <ProjectName>

Run django app.

python manage.py runserver

Craete new Django app.

django-admin startapp <AppName>

Some Djnago jargons

MVT

  • Model : - Models are the place in django where we have to define our database schemas.
  • Views : - Unlike other frameworks view are not used for the templates. In django view file is use for writeing our business logics.
  • Templates : - Templates are contain our frontend file which is served on web.

DTL (Django template language) / ginger templates

  • For using python code in html file Django uses DTL and ginger templates.

Admin

Access Admin panel

  • for access admin panel we have to serve route with localhost:8000/admin it redirect us to admin page.

Create admin user

  • for create new admin user we have to fire a command python manage.py createsuperuser.

About

The repository contains everything to start Django development. Some of the key features like authentication, templating, routing such features are also covered.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published