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
- analysis
- Templates
- 코로나19
- CSV
- Regression
- Model
- template
- 코로나
- 자가격리
- COVID-19
- sublime text
- DAQ
- Django
- server
- git
- r
- arduino
- raspberrypi
- vscode
- ERP
- Raspberry Pi
- 확진
- github
- Pandas
- pyserial
- 라즈베리파이
- MacOS
- DS18B20
- SSH
- Python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |