Skip to content
Snippets Groups Projects
Verified Commit 7f3164c1 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add website to models

parent ba9ad52b
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.9 on 2021-11-30 15:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('paweljong', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='event',
name='website',
field=models.CharField(default='', max_length=255, verbose_name='Website of event'),
preserve_default=False,
),
]
......@@ -33,6 +33,7 @@ class Event(ExtensibleModel):
# Other details
cost = models.IntegerField(verbose_name=_("Cost in €"))
max_participants = models.PositiveSmallIntegerField(verbose_name=_("Maximum participants"))
website = models.CharField(verbose_name=_("Website of event"), max_length=255)
# Feedback
feedback_aspects = models.ManyToManyField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment