INTRO Python 3.10.0 Django 3.2.8 1. base_log.html을 이용한 persona-erp.html, register.html, password.html 단순화 2. temlates/base/base.html을 이용한 home/notice 통합 persona 외 mysite/bstest 정리 및 templates/base 통합 - 현 tree 구조 : 빨강 삭제, 파랑 생성, 노랑 수정/이동 . ├── config │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── db.sqlite3 ├── home │ ├── __init__.py │ ├── admin.py │ ├── apps.py..
INTRO Python 3.10.0 Django 3.2.8 적용 후 미리보기 - localhost:8000/home/notice 공지사항 옆 글쓰기 클릭 : localhost:8000/home/notice_new 2번 공지사항 제목 클릭 : localhost:8000/home/notice_view/2 하단 수정 클릭 : localhost:8000/home/notice_view/2/edit --the end-- -----python coding----------------------------------------------------------------------------------- Model 생성하기 : Notice(공지사항) - home/models.py from django.db import ..
INTRO Python 3.10.0 Django 3.2.8 1. bootstrap 적용 참고 포스트 : (macOS)[python] django-erp : bootstrap 적용 2. 아래 내용 이어가기 전 참고 포스트 : (macOS)[python] django-erp : templates 분리 (2) bstest layout 분리 persona-erp templates 구조화 (3) django-erp/templates/persona : bootstrap customize persona-erp customize 결과 (1) localhost:8000 (2) register localhost:8000/register (3) Forget Password 후 localhost:8000/password (4..
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..
- Total
- Today
- Yesterday
- 자가격리
- COVID-19
- Python
- Django
- github
- Raspberry Pi
- Pandas
- pyserial
- r
- template
- DS18B20
- git
- 코로나
- analysis
- 코로나19
- Templates
- CSV
- 라즈베리파이
- Regression
- DAQ
- arduino
- sublime text
- MacOS
- raspberrypi
- Model
- SSH
- 확진
- vscode
- server
- ERP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |