신규 DB를 생성하기 위해서 migrate를 수행하였습니다. python manage.py migrate ⚠️migrate 오류 발생 raise MigrationSchemaMissing(django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (오류: public 스키마(schema) 접근 권한 없음LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA... ^) 🔍 오류 원인"public 스키마 접근 권한 없음"→ 현재 연결된 PostgreSQL 사용자인 "User" 계정이..
1. 모델 정의하기api_app/models.py에서 API 호출 이력을 저장할 모델을 정의합니다.from django.db import modelsclass ApiCallHistory(models.Model): endpoint = models.URLField() method = models.CharField(max_length=10) response_status = models.IntegerField() timestamp = models.DateTimeField(auto_now_add=True) 모델을 정의한 후, 마이그레이션을 적용합니다.python manage.py makemigrationspython manage.py migrate 2. API 호출을 위한 뷰 생성 api_a..
- Total
- Today
- Yesterday
- 오블완
- 1164회 로또
- 로또 1164회 당첨
- f-string
- 티스토리챌린지
- Django
- python import
- python 문자열 슬라이싱
- github action
- Numpy
- chat gpt 모델 별 가격
- 로또 ai
- chat gpt 한국어 가격
- 1165회 로또
- chat gpt 가격 예상
- 클래스형 뷰
- 케라스
- postgre
- chat gpt 모델별 예산
- Python
- GitHub
- 토치비전
- chat gpt 4o 예산
- 텍스트 전처리
- 장고 orm sql문 비교
- 텍스트 마이닝
- TorchVision
- 인공지능 로또 예측
- chat gpt 모델 api 가격 예측
- chat gpt api 비용 계산
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |