- Django 웹 서버 환경 설정.
- django-excel 설치 오류
    - http://django-excel.readthedocs.io/en/latest/
- pip install –upgrade setuptools
 
- pip 설치 방법
- rails와 대응되는 기능
    - config.rb + database.yml [settings.py]
- urls.py [routes.rb]
- pip [gemfile]
- requirements.txt
- pip manage [gem update]
 
- 실행
    - pip install -r requirements.txt
 
- 버전 고정
    - pip freeze > requirements.txt
 
- admin 기능 활성화
- admin 계정 생성
    - python manage.py createsuperuser
 
- model 생성 기능
    - http://tutorial.djangogirls.org/ko/django_models/
        python manage.py startapp [앱이름] 
- http://pythonstudy.xyz/python/article/308-Django-%EB%AA%A8%EB%8D%B8-Model
 
- http://tutorial.djangogirls.org/ko/django_models/
        
- model reload
- model api
- model migrate 과정
    - migrate 파일 생성
        - python manage.py makemigrations
 
- 실행
        - python manage.py migrate
 
- migrate 실패시
        - 오류 확인 후, 오류가 나지 않도록 migrate 파일을 수동 수정하거나 삭제 해주면 된다.
- 주로 default값 오류임.
 
- models.field types
 
- migrate 파일 생성
        
- redis
- request
- cookie 유지
- datetime
- compare
- background run
    - 설치
        - yum install nohup
 
- 권한 부여
        - chmod 755 shell.sh
 
- 가동
        - nohup sh – ./shell.sh &
 
- 중지
 
- 설치
        
- File upload
- multifile upload
- inspect
Django package
- django
- redis 계열
    - redis
- django-redis-sessions
- django-redis
 
- django-jsonfield
- django-excel
python
- dictionary
- merge
- list
- loop
- 연산자 정리
    - 연산자, 식, 그리고 프로그램 흐름
- 3항 연산자
 
- null 검사
- to_i
- json
    - dictionary <-> json and django
- dictionary <-> json
 
- 람다
- 클로저
- 모듈
- command line argument
- file io
- tuple
- convert
- static method, class method
python package
- excel
- 사용법
- console color