File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ ### Create ur project
12``` python
23django- admin startproject myproject
34```
45# Or
56``` python
67python - m django startproject mysite
78
9+ ```
10+ ### Create Ur app
11+ ``` python
12+ django- admin startapp myapp
813```
914
10-
15+ ### makemigrations is a management command
1116``` python
1217python manage.py makemigrations
1318
1419```
1520
21+
22+ migrate is a management command
1623``` python
1724python manage.py migrate
1825```
@@ -24,14 +31,18 @@ python manage.py runserver
2431python manage.py createsuperuser
2532```
2633
34+ ## run your server
2735
2836``` python
2937python manage.py runserver
3038
3139```
40+ ### Use below url /admin with current localhost
3241``` python
3342 Use thsis url http:// 127.0 .0.1:8000 / admin
3443```
44+
45+
3546### output
3647``` python
3748
You can’t perform that action at this time.
0 commit comments