INTRO Django model db를 csv로 내보내기(db to csv export) DB Browser SQLite를 통해 csv export(csv 내보내기)도 가능 csv to django model db view request 기반 model manager(model.object.create)를 이용 DB 생성하고자하는 app의 views.py를 이용 : ORM path 용이 views.py from django.shortcuts import render from [Your-App].models import [model_name] from .data.db_to_csv_run import db_to_csv # Create your views here. def test_db_to_csv(requ..

INTRO Django model 생성 후 다수 DB를 생성할 때 csv를 이용하면 수월하다 DB Browser SQLite를 통해 csv export(csv 내보내기)도 가능 view request 기반 model manager(model.object.create)를 이용 DB 생성하고자하는 app의 views.py를 이용 : ORM path 용이 views.py from django.shortcuts import render from [Your-App].models import [model_name] from .data.csv_to_db_run import csv_to_db # Create your views here. def test_csv_to_db(request): csv_to_db([model..

INTRO Python 3.10.0 Django 3.2.8 table/charts 적용 후 미리보기 - localhost:8000/home/ship_status/ : sidebar 출하현황 클릭 이동 - localhost:8000/home/ship_status/ : 크게보기 --the end-- -----python coding----------------------------------------------------------------------------------- 링크 생성 및 수정 templates/base/sidebar.html .... .... Reports 출하현황 매출현황 수주현황 Persona Menu Test_List charts_chartjs2.8 chart_bar_chartjs..

Intro (macOS)[python] django post_list site에 구현하기 - 1/2 지난 포스트에 이어 DB table post_post Table을 127.0.0.1:8000에 접속 시 첫화면에 리스트를 불러오도록 해보려고 한다. jinozblog2019 tree : views.py에서 DB Table을 다룰 것이며, 첫화면 welcomemessage를 지우고 urls.py에 할당한다. . ├── db.sqlite3 ├── jblog │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── manage.py └── post ├── __init__.py ├── admin.py ├── apps.py ├── migrations ..
- Total
- Today
- Yesterday
- analysis
- Python
- template
- SSH
- COVID-19
- 자가격리
- Templates
- sublime text
- server
- r
- ERP
- 코로나
- Pandas
- MacOS
- raspberrypi
- Regression
- 확진
- arduino
- CSV
- pyserial
- Django
- vscode
- Raspberry Pi
- DS18B20
- git
- 코로나19
- Model
- DAQ
- github
- 라즈베리파이
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |