使用DRF开发API

This commit is contained in:
2025-11-15 12:12:09 +08:00
parent 3a0e3e9ad1
commit fe052af0f1
9 changed files with 63 additions and 0 deletions

6
myapp_api/apps.py Normal file
View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class MyappApiConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'myapp_api'