Conversation
Created email form to send email to participants.
Codecov Report
@@ Coverage Diff @@
## dev #378 +/- ##
===========================================
- Coverage 83.25% 72.52% -10.73%
===========================================
Files 116 114 -2
Lines 3607 3531 -76
===========================================
- Hits 3003 2561 -442
- Misses 604 970 +366
Continue to review full report at Codecov.
|
# Conflicts: # news/forms.py # news/templates/news/admin_event_ticket_list.html # news/views.py
| {{ form.content }} | ||
| </div> | ||
| <input class="ui yellow right floated submit button" type="submit" value="{% trans "Send" %}"> | ||
| <a href="{% block cancel-url %}{% url "admin-event" form.instance.id %}{% endblock %}" class="ui red right floated button"> |
There was a problem hiding this comment.
Please add the name to the endblock and change the naming style as well.(relevant section)
| <a href="{% block cancel-url %}{% url "admin-event" form.instance.id %}{% endblock %}" class="ui red right floated button"> | |
| <a href="{% block cancel_url %}{% url "admin-event" form.instance.id %}{% endblock cancel_url %}" class="ui red right floated button"> |
| if not event and not time_place: | ||
| raise forms.ValidationError("Event and timeplace cannot both be None.") | ||
| if event and time_place: | ||
| raise forms.ValidationError("Event and timeplace cannot both be set.") | ||
| return cleaned_data |
There was a problem hiding this comment.
It is nice if you have add tests that verify that the validation works as intended. I can help in a worksession if you'd like.
…ultiperiod.py Fieldname "multiperiod" in model ReservationRule renamed to "multi-period".
Co-authored-by: Markus Ho-Yen <32592450+mahoyen@users.noreply.github.com>
I'm not certain if this migration has a function or why it was created, but migration nr 21 depends on this one..
second attempt at fixing dependency.
|
Did an oopsie - see #758 for context :) |
Implemented an email form for events. Allowing organizers to easily send email updates to everyone who signed up.