feat:添加获取it地址
This commit is contained in:
20
backend/system/migrations/0003_loginlog_location.py
Normal file
20
backend/system/migrations/0003_loginlog_location.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.2.1 on 2025-08-13 03:28
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("system", "0002_alter_dept_creator_alter_dept_is_deleted_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="loginlog",
|
||||
name="location",
|
||||
field=models.CharField(
|
||||
blank=True, db_comment="<IP> 地理位置", default="", max_length=200
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user