๊ด๋ฆฌ์(superuser) ์์ฑํ๊ธฐ
๊ด๋ฆฌ์ ์์ฑ ๋ช ๋ น
python manage.py createsuperuser
Shell
๋ณต์ฌ
๊ด๋ฆฌ์ username, password ์ ๋ ฅ
> Username : admin
> Email address: [์ด๋ฉ์ผ์ฃผ์]
> Password: 123456
> Password (again): 123456
This password is too short. It must contain at least 8 characters.
This password is too common.
This password is entirely numeric.
> Bypass password validation and create user anyway? [y/N]: y
> Superuser created successfully.
Shell
๋ณต์ฌ
์๋ฒ ์คํ
python manage.py runserver
Shell
๋ณต์ฌ
๊ด๋ฆฌ์ ํ์ด์ง ์ ์
http://127.0.0.1:8000/admin
Shell
๋ณต์ฌ