
INTRO Python 3.10.0 Django 3.2.8 - Login template 위치 수정 : sidebar.html -> topbar.html - templates/sidebar.html : 부분 제거 .... Logged in as: {{ user.username }} .... - templates/topbar.html : Navbar dropdown toggle 메뉴 부분 수정 .... Settings Log-Out '{{ user.username }}'님 환영합니다. .... sales/customer 적용 후 미리보기 - localhost:8000/sales/customer 고객관리 옆 글쓰기 클릭 : localhost:8000/sales/customer_new 2번 공지사항 제목 클릭..
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. 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 │ ├── 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..

Local / Server 구동 비교 ERP Menu hyperlink Test : urls - views - templates 관계 이해 Server Test : git transmission INTRO * local / server terminal 구분 : [macOS] / [Raspi] ** venv 표기 : (pyERP) Raspi : server - Python : 3.7.3 - django : 3.2 macOS : local-dev - Python : 3.9.4 - django : 3.2 1. superuser Django Admin 상태 macOS : local-dev http://localhost:8000/admin Raspi : server http://[RaspiIP]:xxxx/admi..

django : wiki - 파이썬으로 작성된 오픈 소스 웹 프레임워크로, 모델-뷰-컨트롤러(MVC) 패턴을 따르고 있다. - 고도의 데이터베이스 기반 웹사이트를 작성하는 데 있어서 수고를 더는 것이 장고의 주된 목표 - 콤포넌트의 재사용성(reusability)과 플러그인화 가능성(pluggability), 빠른 개발 , "DRY(Don't repeat yourself: 중복배제)" 원리 - 설정 파일부터 데이터 모델에까지 파이썬 언어가 구석구석에 쓰였다. 0. 구성 장고는 파이썬으로 코딩한 모델을 관계형 데이터베이스로 구축해주는 모델(Model), HTTP 요청을 처리하는 웹 템플릿 시스템인 뷰(View), URL의 라우팅을 처리하는 URL 컨트롤러 (Controller) 로 구성된 MVC 디자인 패..
- Total
- Today
- Yesterday
- MacOS
- template
- Python
- pyserial
- 자가격리
- DAQ
- Model
- 확진
- 코로나19
- 라즈베리파이
- raspberrypi
- Templates
- vscode
- git
- 코로나
- DS18B20
- Regression
- server
- github
- arduino
- SSH
- sublime text
- ERP
- Django
- CSV
- Raspberry Pi
- r
- Pandas
- COVID-19
- analysis
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |