This commit is contained in:
2026-03-27 03:08:01 +08:00
parent 29b5466711
commit 36c1575712
39 changed files with 2817 additions and 69 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class ApiConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'api'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+7
View File
@@ -0,0 +1,7 @@
from django.contrib import admin
from django.urls import path, include
from .views.GetIPDataView import GetIPData
urlpatterns = [
path("getIpData/", GetIPData.as_view()),
]
View File