diff --git a/euscanwww/djeuscan/templates/_base.html b/euscanwww/djeuscan/templates/_base.html index 03bd5ff..dedc70e 100644 --- a/euscanwww/djeuscan/templates/_base.html +++ b/euscanwww/djeuscan/templates/_base.html @@ -62,7 +62,7 @@
  • Logout
  • {% else %}
  • Login
  • -
  • Register
  • +
  • Register
  • {% endif %}
  • ---
  • diff --git a/euscanwww/djeuscan/templates/registration/activation_email.txt b/euscanwww/djeuscan/templates/registration/activation_email.txt index 2e4d942..55b583b 100644 --- a/euscanwww/djeuscan/templates/registration/activation_email.txt +++ b/euscanwww/djeuscan/templates/registration/activation_email.txt @@ -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 {{ expiration_days }} days: -http://{{site.domain}}{% url registration_activate activation_key %} +http://{{site.domain}}{% url 'registration_activate' activation_key=activation_key %} Sincerely, {{ site.name }} Management diff --git a/euscanwww/euscan_captcha/views.py b/euscanwww/euscan_captcha/views.py new file mode 100644 index 0000000..45ff0be --- /dev/null +++ b/euscanwww/euscan_captcha/views.py @@ -0,0 +1,5 @@ +from registration.backends.default.views import RegistrationView +from forms import RecaptchaRegistrationForm + +class RecaptchaRegistrationView(RegistrationView): + form_class = RecaptchaRegistrationForm