Ticket #13381: login.patch

File login.patch, 492 bytes (added by alperkanat, 9 years ago)

patch for adding login named url to be able to use it with namespaces

  • contrib/admin/sites.py

     
    216216            url(r'^$',
    217217                wrap(self.index),
    218218                name='index'),
     219            url(r'^login/$',
     220                wrap(self.login),
     221                name='login'),
    219222            url(r'^logout/$',
    220223                wrap(self.logout),
    221224                name='logout'),
Back to Top