INTRO model의 field를 추가하거나 수정 시 DB schema 변경으로 발생하는 migrte 이슈 테스트 시 생성했던 model의 DB의 filed 이름, 종류, 속성, 수량(추가 또는 제거)이 변경될 때 발생 You have 1 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): [YourApp] Run 'python manage.py migrate' to apply them. - 개발서버 127.0.0.1:8000/admin 에서 DB 내용을 지운다 - admin.py, views.py, urls.py, forms.py 등에서 선언했던 import를 포함 주석처..

0. migrations status django를 설치하면 기본적인 앱이 settings.py의 INSTALLED_APPS에 등록되어있다. --settings.py : default INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] 현재 migrate된 상태를 확인 해보면 다음과 같다. $ python3 manage.py showmigrations admin [X] 0001_initial [X] 0002_logentry_remov..
- Total
- Today
- Yesterday
- sublime text
- arduino
- ERP
- raspberrypi
- CSV
- Model
- vscode
- template
- git
- MacOS
- Templates
- 확진
- Pandas
- 라즈베리파이
- DS18B20
- github
- Django
- Python
- 자가격리
- 코로나
- Regression
- r
- Raspberry Pi
- COVID-19
- pyserial
- SSH
- 코로나19
- analysis
- server
- DAQ
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |