feat: add Products form to admin

This commit is contained in:
2026-05-18 17:07:15 +02:00
parent 3b46a18b29
commit 6471b98ec2
9 changed files with 407 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
# Generated by Django 6.0.4 on 2026-05-18 15:05
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('home', '0023_eventindexpage'),
('purchase', '0003_alter_purchasableproduct_currency'),
]
operations = [
migrations.AddField(
model_name='purchasableproduct',
name='course',
field=models.OneToOneField(default=0, on_delete=django.db.models.deletion.CASCADE, related_name='purchasable_product', to='home.coursepage'),
preserve_default=False,
),
]