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