Ticket #10763: login_custom_form-urls.py

File login_custom_form-urls.py, 228 bytes (added by Felipe 'chronos' Prenholato, 16 years ago)

The urls.py example.

Line 
1from myapp.account.forms import MyAuthenticationForm
2urlpatterns = patterns('',
3 url(r'^login/', 'django.contrib.auth.views.login', {'template_name': 'account/login.html','form_instance':MyAuthenticationForm}, name='login' ),
4)
Back to Top