Some renamings gestioncof -> cof
The tests fail for an obscure reason: django.db.utils.OperationalError: no such column: cof_cofprofile.num
This commit is contained in:
parent
36827cef6b
commit
0162f431d4
10 changed files with 22 additions and 29 deletions
|
@ -2,10 +2,6 @@
|
|||
|
||||
{% block realcontent %}
|
||||
<h2>Inscription d'un nouveau membre</h2>
|
||||
{% if success %}
|
||||
<p class="success">L'inscription de {{ member.first_name }} {{ member.last_name }} (<tt>{{ member.username }}</tt>) a été enregistrée avec succès.
|
||||
{% if member.profile.is_cof %}Il est désormais membre du COF n°{{ member.profile.num }} !{% endif %}</p>
|
||||
{% endif %}
|
||||
<div id="form-placeholder">
|
||||
{% include "cof/registration_form.html" %}
|
||||
</div>
|
||||
|
|
|
@ -604,7 +604,7 @@ def calendar_ics(request, token):
|
|||
|
||||
class ConfigUpdate(FormView):
|
||||
form_class = GestioncofConfigForm
|
||||
template_name = "gestioncof/banner_update.html"
|
||||
template_name = "cof/banner_update.html"
|
||||
success_url = reverse_lazy("home")
|
||||
|
||||
def dispatch(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue