diff --git a/events/forms.py b/events/forms.py index 18552a1..078a49a 100644 --- a/events/forms.py +++ b/events/forms.py @@ -184,9 +184,10 @@ class DeleteTeamForm(forms.Form): confirm = forms.BooleanField(label="Yes, delete team", required=True) class TeamEventForm(forms.ModelForm): + recurrences = recurrence.forms.RecurrenceField(label="Repeat", required=False) class Meta: model = Event - fields = ['name', 'start_time', 'end_time', 'summary', 'web_url', 'announce_url', 'tags'] + fields = ['name', 'start_time', 'end_time', 'recurrences', 'summary', 'web_url', 'announce_url', 'tags'] widgets = { 'place': Lookup(source=Place), 'start_time': DateTimeWidget, diff --git a/get_together/templates/get_together/events/edit_event.html b/get_together/templates/get_together/events/edit_event.html index 23a4b21..f6fefd5 100644 --- a/get_together/templates/get_together/events/edit_event.html +++ b/get_together/templates/get_together/events/edit_event.html @@ -1,6 +1,12 @@ {% extends "get_together/base.html" %} {% load static %} +{% block meta %} + + + +{% endblock %} + {% block content %}