Files
santeh-ray/orders/migrations/0004_alter_order_payment_method.py
Azimkin ad962d946b
All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
feat: update order payment methods and refine profile edit functionality
- 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
2026-05-30 12:25:19 +02:00

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='Способ оплаты'),
),
]