Skip to content

bupark82/git_class_2

Repository files navigation

git_class_2

1주차 (2021.07.02) 장고 프로젝트

$pip install virtualenv
$virtualenv venv
$source venv/bin/activate
$pip install django
$django-admin startproject djangoProject2 .
$python manage.py migrate
$python manage.py runserver 0.0.0.0:8000
->urls.py
$python manage.py startapp accountapp
->settings.py
->urls.py
->views.py
->accountapp/templates/accountapp/hello_world.html
$python manage.py runserver 0.0.0.0:8000
->models.py
$python manage.py makemigrations
$python manage.py migrate
$python manage.py createsuperuser
$python manage.py runserver 0.0.0.0:8000
->admin.py
->models.py
->views.py
->accountapp/templates/accountapp/hello_world.html
$python manage.py runserver 0.0.0.0:8000
->settings.py > SECRET_KEY = env_list['SECRET_KEY']
-.gitignore 파일 첨부
-.env 파일 SECRET_KEY

1주차 second

  • accountapp/templates/accountapp/hello_world.html
  • static 디렉토리 > base.css
  • templates 디렉토리 > base.html, footer.html, head.html, header.html

2주차 (2021.07.07)

  • db.sqlite3
    1.In the Database tool window (View | Tool Windows | Database ), click the Data Source Properties icon The Data Source Properties icon.
    2.On the Data Sources tab in the Data Sources and Drivers dialog, click the Add icon (The Add icon) and select SQLite.

2주차 (2021.07.09)

  • db.sqlite3

3주차 (2021.07.13)

*주차 (2021.07.**)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages