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

Fix form url

parent 8ba8c85c
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
{% endif %} {% 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 %} {% csrf_token %}
<table> <table>
{{ form.as_table }} {{ form.as_table }}
......
...@@ -25,7 +25,7 @@ urlpatterns = patterns('', ...@@ -25,7 +25,7 @@ urlpatterns = patterns('',
url(r'^accounts/register/$', 'registration.views.register', { url(r'^accounts/register/$', 'registration.views.register', {
'form_class': RegistrationForm, 'form_class': RegistrationForm,
'extra_context': {'title': _('User registration')}}, 'extra_context': {'title': _('User registration')}},
name='registration_register'), name='weblate_register'),
url(r'^accounts/', include('registration.urls')), url(r'^accounts/', include('registration.urls')),
url(r'^accounts/profile/', 'accounts.views.profile'), 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