Wrap-up
νλ‘μ νΈ λ° APP μ΄κΈ° μ€μ
νλ‘μ νΈ λ§λ€κΈ°
$ django-admin startproject [project name]settings.py μ€μ
settings.py μ€μ ALLOWED_HOST = ['*']
Locale
Timezone
Language
App λ§λ€κΈ°
$ python manage.py startapp [app name]settings.py μ€μ
settings.py μ€μ INSTALLED_APPSμ app λ±λ‘
Model μ μ
models.py
ModelForm μ μ
forms.py
μ½λ μμ± νλ¦
url -> view -> template
views.py
ν¨μ ( μΈμ -> λ°ν return)
OOPλ?
S + V
Import
Project setup
Social Login
Installation
Google
settings.py
urls.py
GitHub
App registration (get your key and secret here)
Development callback URL
If you want more than just read-only access to public data, specify the scope as follows. See https://developer.github.com/v3/oauth/#scopes for details.
Pagination
django-bootstrap-pagination μΌλ‘ Pagination μμκ² νκΈ°
Install
settings.py
template
Last updated
Was this helpful?