fixes
This commit is contained in:
parent
8c6bdebcab
commit
c130e59b28
@ -62,7 +62,7 @@
|
|||||||
<li><a href="{% url "django.contrib.auth.views.logout" %}">Logout</a></li>
|
<li><a href="{% url "django.contrib.auth.views.logout" %}">Logout</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{% url "django.contrib.auth.views.login" %}?next={% url "accounts_index" %}">Login</a></li>
|
<li><a href="{% url "django.contrib.auth.views.login" %}?next={% url "accounts_index" %}">Login</a></li>
|
||||||
<li><a href="{% url "registration.views.register" %}">Register</a></li>
|
<li><a href="{% url "registration_register" %}">Register</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li>---</li>
|
<li>---</li>
|
||||||
|
@ -5,7 +5,7 @@ and your address will be removed from our records.
|
|||||||
To activate this account, please click the following link within the next
|
To activate this account, please click the following link within the next
|
||||||
{{ expiration_days }} days:
|
{{ expiration_days }} days:
|
||||||
|
|
||||||
http://{{site.domain}}{% url registration_activate activation_key %}
|
http://{{site.domain}}{% url 'registration_activate' activation_key=activation_key %}
|
||||||
|
|
||||||
Sincerely,
|
Sincerely,
|
||||||
{{ site.name }} Management
|
{{ site.name }} Management
|
||||||
|
5
euscanwww/euscan_captcha/views.py
Normal file
5
euscanwww/euscan_captcha/views.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from registration.backends.default.views import RegistrationView
|
||||||
|
from forms import RecaptchaRegistrationForm
|
||||||
|
|
||||||
|
class RecaptchaRegistrationView(RegistrationView):
|
||||||
|
form_class = RecaptchaRegistrationForm
|
Loading…
Reference in New Issue
Block a user