Introduce a unique, auto-generated slug field to the Product model, populated from category, brand, and name. Update core filters, serializers, sitemaps, and GraphQL object types to support the new slug functionality. Also, enforce HTTP-only cookies for session, CSRF, and language for improved security.
18 lines
430 B
Python
18 lines
430 B
Python
# Generated by Django 5.1.8 on 2025-04-30 13:29
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('payments', '0003_alter_transaction_balance'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='transaction',
|
|
name='payment_method',
|
|
field=models.CharField(blank=True, max_length=20, null=True),
|
|
),
|
|
]
|