mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-31 23:14:00 +01:00
Upgrade to django 1.5, some functions have been changed
url in templates now requires quotes roung the first arg USE_TZ added
This commit is contained in:
@@ -12,11 +12,11 @@ New troggle account registered
|
||||
|
||||
{% if account %}
|
||||
<p>
|
||||
Hello, {{ account }}! Your account is now activated. Now you can <a href="{%url auth_login%}">log in</a> with the password you chose. Use the links in the upper right to control this in the future.
|
||||
Hello, {{ account }}! Your account is now activated. Now you can <a href="{%url "auth_login"%}">log in</a> with the password you chose. Use the links in the upper right to control this in the future.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If you have been on the expedition in the past, you already have a profile in the system; <a href={% url profiles_select_profile %}>click here </a> to find it and link it to your account. Otherwise, please <a href={% url profiles_create_profile %}> create yourself a new profile</a>.
|
||||
If you have been on the expedition in the past, you already have a profile in the system; <a href={% url "profiles_select_profile" %}>click here </a> to find it and link it to your account. Otherwise, please <a href={% url "profiles_create_profile" %}> create yourself a new profile</a>.
|
||||
</p>
|
||||
{% else %}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<P>Glad you're joining the CUCC EXPO team! Please go to</P>
|
||||
|
||||
<P><a href="{{ site }}{% url registration_activate activation_key %}">{{ site }}{% url registration_activate activation_key %}</a></P>
|
||||
<P><a href="{{ site }}{% url "registration_activate" activation_key %}">{{ site }}{% url "registration_activate" activation_key %}</a></P>
|
||||
|
||||
<P>to activate your account. Do this within {{ expiration_days }} days, or else you'll have to sign up again.</P>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ Hello {{ form.user }},
|
||||
|
||||
Glad you're joining the CUCC EXPO team! Please go to
|
||||
|
||||
{{ site }}{% url registration_activate activation_key %}
|
||||
{{ site }}{% url "registration_activate" activation_key %}
|
||||
|
||||
to activate your account. Do this within {{ expiration_days }} days, or else you'll have to sign up again.
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ registration_form.html | {{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{% url registration_register %}" method="POST">{% csrf_token %}
|
||||
<form action="{% url "registration_register" %}" method="POST">{% csrf_token %}
|
||||
{% for error in form.non_field_errors %}
|
||||
<span style="color:red">{{ error }}</span>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user