INTRO Python 3.10.0 Django 3.2.8 적용 후 미리보기 - localhost:8000 : 대문, welcome -> login으로 사용 - localhost:8000/accounts/login : login으로 사용 - localhost:8000/accounts/signup : 회원가입으로 사용 --> localhost:8000/home/ : 로그인 후 or 회원가입/로그인 후 --the end-- -----python coding----------------------------------------------------------------------------------- #참고 : from django.contrib.auth import views as auth_views 사..
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 통합 home/views.py from django.shortcuts import render, redirect from django.contrib import auth from django.contrib.auth.models import User from django.contrib.auth import authenticate from django.contrib.auth.decorators import login_required from h..
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..
- Total
- Today
- Yesterday
- analysis
- server
- MacOS
- 코로나
- Python
- arduino
- vscode
- git
- 코로나19
- CSV
- Django
- raspberrypi
- Templates
- COVID-19
- template
- DAQ
- pyserial
- SSH
- ERP
- Regression
- Model
- 자가격리
- Pandas
- 라즈베리파이
- DS18B20
- 확진
- github
- r
- sublime text
- Raspberry Pi
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |