Configure shop app, admin sidebar, media routing, and Stripe dependencies
This commit is contained in:
commit
93d83a0d63
188 files changed
+9220
No files matched your search
@@ -0,0 +1,43 @@
|
||||
# Generated by Django 5.2.19 on 2026-11-21 20:37
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('catalog', '0012_community_and_webp'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='AIChapterReview',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('result', models.JSONField(blank=True, default=dict)),
|
||||
('updated_at', models.DateTimeField(blank=True, null=True)),
|
||||
('started_at', models.DateTimeField(blank=True, null=True)),
|
||||
('version', models.CharField(blank=True, max_length=64)),
|
||||
('model_name', models.CharField(blank=True, max_length=80)),
|
||||
('chapter', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='ai_editorial_review', to='catalog.chapter')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='TrafficDaily',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('day', models.DateField()),
|
||||
('kind', models.CharField(max_length=12)),
|
||||
('target_id', models.PositiveBigIntegerField(default=0)),
|
||||
('route', models.CharField(max_length=64)),
|
||||
('country', models.CharField(blank=True, default='', max_length=2)),
|
||||
('source', models.CharField(blank=True, default='', max_length=255)),
|
||||
('views', models.PositiveBigIntegerField(default=1)),
|
||||
],
|
||||
options={
|
||||
'indexes': [models.Index(fields=['kind', 'target_id'], name='slx_traffic_item_idx')],
|
||||
'constraints': [models.UniqueConstraint(fields=('day', 'kind', 'target_id', 'route', 'country', 'source'), name='slx_traffic_daily_key')],
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user