Difference between revisions of "Django"

From rbachwiki
Jump to navigation Jump to search
(Replaced content with "==Create a new project== == Create a Django App == === Category===")
Tag: Replaced
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Create a new project==
==[[Create a new project]]==
* First create a main dir django etc..
* cd into directory


django-admin startproject projectname
== [[Create a Django App]] ==
 
* this will create the projectname within the main directory
 
* cd into directory
 
python manage.py runserver
 
* To specify a different port
 
python manage.py runserver 8080


===[[Programming| Category]]===
===[[Programming| Category]]===

Latest revision as of 19:51, 26 April 2023