Browse Source

re-enable registration, fix registration.views.register urls

Natenom/support-murmur-13-1446181288462
Michael Ziegler 11 years ago
parent
commit
b2ae81a86c
  1. 2
      pyweb/mumble/templates/mumble/mumble.html
  2. 2
      pyweb/settings.py
  3. 2
      pyweb/templates/registration/login.html

2
pyweb/mumble/templates/mumble/mumble.html

@ -66,7 +66,7 @@
{
xtype: 'buttonIframeWindow',
text: "{% trans 'Register' %}",
url: '{% url "registration.views.register" %}'
url: '{% url "registration_register" %}'
},
{% endif %}
new Ext.ux.ButtonLogin()

2
pyweb/settings.py

@ -303,4 +303,4 @@ modprobe( "rosetta" )
# Check if django_extensions is available.
modprobe( "django_extensions" )
#modprobe( 'registration' )
modprobe( 'registration' )

2
pyweb/templates/registration/login.html

@ -29,7 +29,7 @@
<input type="hidden" name="next" value="{{ next }}" />
</form>
<ul>
<li>No Login? You can <a href="{% url 'registration.views.register' %}">sign up!</a></li>
<li>No Login? You can <a href="{% url 'registration_register' %}">sign up!</a></li>
<li>Forgot the password? You can <a href="{% url 'django.contrib.auth.views.password_reset' %}">reset it!</a></li>
</ul>
{% endblock %}

Loading…
Cancel
Save