관리 메뉴

Silver Library (Archived)

#3 Django - how dev only server works? 본문

Personal DB/Unclassified record

#3 Django - how dev only server works?

Ayin Kim 2020. 11. 24. 23:37
반응형

#part of airbnb clone

 

Command:

python manage.py runserver

 

will be essential to see (empty) log in page.

 

* always use that 'admin' panel

 

e.g.

http://127.0.0.1:8000/admin

 

migrate(covered later)

 

command:

python manage.py createsuperuser

 

So, this is the phase to create admin account. Once this is done, I can log in to that admin page.