INTRO Python 3.10.0 Django 3.2.8 templates 구조화 (1) django-erp/templates/mysite : 최초 생성한 ERP (2) django-erp/templates/bstest : bootstrap test, 하위 base 폴더에 base.html layout 별 구성 (3) django-erp/templates/persona : bootstrap customize tree 구조 ── templates ├── bstest │ ├── 401.html │ ├── 404.html │ ├── 500.html │ ├── base │ │ ├── base.html │ │ ├── footer.html │ │ ├── sidebar.html │ │ └── topbar.html ..
INTRO Python 3.10.0 Django 3.2.8 templates 구조화 (1) django-erp/templates/mysite : 최초 생성한 ERP (2) django-erp/templates/bstest : bootstrap test, 하위 base 폴더에 base.html layout 별 구성 예정 (3) django-erp/templates/persona : bootstrap customize tree 구조 ── templates ├── bstest │ ├── 401.html │ ├── 404.html │ ├── 500.html │ ├── charts.html │ ├── index.html │ ├── layout-sidenav-light.html │ ├── layout-static...
INTRO Python 3.10.0 Django 3.2.8 bootstrap bootstrap 무료 테마 : https://startbootstrap.com/template/sb-admin 다운로드 파일 django-erp/statics 복사 templates 하위에 templates/bstest 폴더 생성 후 .html 모든 파일 이동 {SublimeText} config/settings.py : TEMPLATES_TEST 경로 추가 TEMPLATES_TEST = os.path.join(BASE_DIR, 'templates', 'bstest') TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ T..
INTRO Python 3.10.0 Django 3.2.8 signup/login - config/urls {SublimeText} config/urls.py from django.contrib import admin from django.urls import path, include from home import urls, views from django.contrib.auth import views as auth_views from django.views.generic import TemplateView urlpatterns = [ path('admin/', admin.site.urls), path('', TemplateView.as_view(template_name='welcome.html'), n..
INTRO Python 3.10.0 Django 3.2.8 app 생성 : home (persona-erp)$ ./manage.py startapp home - config/urls {SublimeText} config/urls.py from django.contrib import admin from django.urls import path, include from home import urls, views from django.contrib.auth import views as auth_views from django.views.generic import TemplateView urlpatterns = [ path('admin/', admin.site.urls), path('', TemplateVie..
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..
$ brew update $ brew upgrade # python 3.10 brew 설치 $ brew search python3 $ brew install python@3.10 # pyenv / pyenv-virtualenv 설치하기 $ brew install pyenv $ brew install pyenv-virtualenv # zsh 환경 설정 : pyenv / pyenv-virtualenv $ nano ~/.zshrc PYENV_ROOT="$HOME/.pyenv" PATH="$PYENV_ROOT/shims:${PATH}" export PYENV_ROOT export PATH eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" $ source ~/...
- Total
- Today
- Yesterday
- github
- ERP
- 코로나
- pyserial
- Python
- analysis
- Regression
- DS18B20
- arduino
- sublime text
- Templates
- CSV
- 라즈베리파이
- 코로나19
- vscode
- MacOS
- DAQ
- Model
- COVID-19
- git
- 자가격리
- raspberrypi
- r
- template
- Pandas
- Django
- SSH
- 확진
- Raspberry Pi
- server
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |