Fix form url
This commit is contained in:
parent
8ba8c85ce3
commit
af1edf6afb
@ -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 }}
|
||||||
|
2
urls.py
2
urls.py
@ -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'),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user