Commit af1edf6a authored by Michal Čihař's avatar Michal Čihař

Fix form url

parent 8ba8c85c
......@@ -14,7 +14,7 @@
</div>
{% endif %}
<form action="{% url 'registration.views.register' %}" method="post" accept-charset="utf-8">
<form action="{% url 'weblate_register' %}" method="post" accept-charset="utf-8">
{% csrf_token %}
<table>
{{ form.as_table }}
......
......@@ -25,7 +25,7 @@ urlpatterns = patterns('',
url(r'^accounts/register/$', 'registration.views.register', {
'form_class': RegistrationForm,
'extra_context': {'title': _('User registration')}},
name='registration_register'),
name='weblate_register'),
url(r'^accounts/', include('registration.urls')),
url(r'^accounts/profile/', 'accounts.views.profile'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment