update trade acceptance styling and layout, and also trade acceptance update/details page. fixes #16

This commit is contained in:
badblocks 2025-04-10 23:55:08 -07:00
parent 1c95ccfff7
commit 5fbe80e83a
14 changed files with 257 additions and 139 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 5.1.2 on 2025-04-08 06:24
# Generated by Django 5.1.2 on 2025-04-13 05:10
import django.db.models.deletion
from django.db import migrations, models
@ -52,6 +52,7 @@ class Migration(migrations.Migration):
('trade_offer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='trade_offer_have_cards', to='trades.tradeoffer')),
],
options={
'ordering': ['card__name'],
'unique_together': {('trade_offer', 'card')},
},
),
@ -70,6 +71,7 @@ class Migration(migrations.Migration):
('trade_offer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='trade_offer_want_cards', to='trades.tradeoffer')),
],
options={
'ordering': ['card__name'],
'unique_together': {('trade_offer', 'card')},
},
),