All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
- Replaced `Order.PaymentMethod` options with "cash" and "card" while adjusting related code and templates - Set "cash" as the default payment method for orders and checkout forms - Added profile editing functionality with `ProfileForm`, allowing users to update names - Improved feedback messages across profile and order management templates - Updated catalog to handle empty filter results with a "reset filters" option
19 lines
573 B
Python
19 lines
573 B
Python
# Generated by Django 6.0.5 on 2026-05-29 16:28
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('orders', '0003_cartitem_selected_color'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='order',
|
|
name='payment_method',
|
|
field=models.CharField(choices=[('cash', 'Наличкой при получении'), ('card', 'Картой при получении')], default='cash', max_length=16, verbose_name='Способ оплаты'),
|
|
),
|
|
]
|