INTRO Python 3.10.0 Django 3.2.8 # django 설정 BASE_DIR : ~/.pyenv/versions/3.10.0/envs/persona-erp/django-erp - secret.json django-erp 하위에 secret.json 파일 생성 후 setting.py의 SECRET_KEY 입력 { "SECRET_KEY": "[YOUR_KEY]" } - templates, statics, staticfiles django-erp 하위에 폴더 3개 생성 . ├── config │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── db.sqlite3 ├── manage.py ├── s..
1. django SECRET_KEY 보안설정 (pyERP)testerp$ nano config/settings.py .... # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '[YourKey]' .... (pyERP)testerp$ nano secret.json (pyERP)testerp$ touch secret.json (pyERP)$ pip install django { "SECRET_KEY": "[YourKey]" } (pyERP)testerp$ nano config/settings.py import os, json from django.core.exceptions import ImproperlyConf..
- Total
- Today
- Yesterday
- CSV
- SSH
- Model
- 자가격리
- 라즈베리파이
- ERP
- sublime text
- 코로나19
- 코로나
- arduino
- Python
- raspberrypi
- Django
- Raspberry Pi
- server
- Pandas
- DS18B20
- Templates
- r
- github
- vscode
- pyserial
- 확진
- analysis
- git
- template
- DAQ
- Regression
- COVID-19
- MacOS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |