The admin templates extend "admin/base_site.html" and rely on the presence 
of specific template blocks so I don't think it's appropriate for those 
dependencies to be added to contrib.auth. I'm curious to see what content 
you would propose for a default template. Typically I've seen login 
templates that extend from a project's base template so it inherits all the 
project specific styles, JavaScript, etc. I'm not sure a default template 
would actually be used much in practice.

On Tuesday, March 3, 2015 at 8:18:39 AM UTC-5, Tino de Bruijn wrote:
>
> Yeah, or default to admin/login.html. The admin ships with all necessary 
> "registration" templates, but for some reason only the login.html is 
> included in the admin directory.
>
> On Tue, Mar 3, 2015 at 2:05 PM, Ilya Kazakevich <kazakev...@gmail.com 
> <javascript:>> wrote:
>
>> Hello,
>>
>> When I use Django auth, I need to provide login.html myself. But Django 
>> encourages applications to have default templates which can be overwritten 
>> by user (via filesystem.Loader, for example). 
>> I suggest to provide default login.html with simple HTML form. User may 
>> always overwrite it.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django developers (Contributions to Django itself)" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-develop...@googlegroups.com <javascript:>.
>> To post to this group, send email to django-d...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-developers/9487d6c7-8ee2-4a64-aae6-9a05574c1464%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-developers/9487d6c7-8ee2-4a64-aae6-9a05574c1464%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/02ab20d8-7dee-444d-9990-224bad28df8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to