Skip to content

arbaazkhan03/arbaazkhan0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This multiple user behaviour will be easily extensible to future projects. My MVT framework is Django with HTML,CSS,Bootstrap and JavaScript on the frontend. Files Includes With This Project: In static folder:-Css and JS files In templatge folder:- All HTML files Base.html About.html Post form.html Post draft.html Post confirm delete.html

Setting of Django For installation of Django:- a) intall python or anaconda b)install django using pip or do it from conda, go to conda site c) or use anaconda prompt to do all the steps, only if in above appliction django is not working well.

We use models to incorporate a database into Django project. -----Set up of Models----

  1. Make classes and stirng represtion of each class using str.return what you want

  2. migration apply

  3. use python manage.py makemigrations appname

4.then again manage.py migration use

5.use shell command to test a)pythoon manage.py shell use it

6.Since Shell is not good method so we use admin.py file is a good method a) from appname.models import model names eg. topic,accessname b) admin.site.register(modelname)

  1. python manage.py Superuser it will allow you to make email and pass etc.

  2. for use of admin who is going into backend use /admin following url in order to fully use of admin and database,we will need superuser.

About

Django project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published