-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/email reminder #378
base: dev
Are you sure you want to change the base?
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Some comments :)
{{ 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
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.
Implemented an email form for events. Allowing organizers to easily send email updates to everyone who signed up.