29 lines
985 B
Python
29 lines
985 B
Python
# Generated by Django 6.0 on 2025-12-28 23:42
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('landing_page', '0003_product_image'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='VisitorLog',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('ip_address', models.GenericIPAddressField()),
|
|
('country', models.CharField(blank=True, max_length=100, null=True)),
|
|
('region', models.CharField(blank=True, max_length=100, null=True)),
|
|
('city', models.CharField(blank=True, max_length=100, null=True)),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
],
|
|
options={
|
|
'verbose_name_plural': 'Visitor Logs',
|
|
'ordering': ['-timestamp'],
|
|
},
|
|
),
|
|
]
|