Changes between Version 3 and Version 4 of Ticket #23573


Ignore:
Timestamp:
Sep 30, 2014, 12:18:55 PM (10 years ago)
Author:
Aymeric Augustin
Comment:

I've rewritten the ticket because the state of the reporter's ass is only marginally relevant to the Django project ;-) However, the idea is valid.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23573

    • Property Needs documentation unset
    • Property Resolution invalid
    • Property Status closednew
    • Property Component Template systemDocumentation
    • Property Keywords TEMPLATES_DIR removed
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Templates override with Admin Site TEMPLATE_DIRS wrong wayShould tutorial 2 demonstrate AdminSite.site_header instead of overriding templates?
  • Ticket #23573 – Description

    v3 v4  
     1Tutorial 2 shows how to change the admin's header (see also #21378).
    12
     3However, in Django 1.7, there's a better way to achieve this particular task: [https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#django.contrib.admin.AdminSite.site_header AdminSite.site_header].
    24
    3 ok just because I got my ass reemed by a bunch of overly sensitive people in my opinion,
     5If that example is intended to demonstrate how to override a template, then it should tackle another use case for which overriding templates is the simplest choice.
    46
    5 here is a better version of my point. 
    6 
    7 we have a DRY principle with Django.
    8 
    9 it saves us time
    10 
    11 so the 1.7 thingy cost me some time.   not that big of a deal. but evidently complaining to volunteers is.
    12 
    13 So whatever.. take it how you will. I would certainly be happy to contribute to documentation but mostly my experience with these opensource projects is most of the people that run them think they are GODS of computer world and are usually rude in the first place and would not give me the time of day to contribute anyways.
    14 
    15 I love Django. I love Open Source. I love all the people that contribute to this stuff. Honestly Do.
    16 
    17 So here is the way I found to do this a little easier.
    18 
    19 http://stackoverflow.com/questions/4938491/django-admin-change-header-django-administration-text
    20 
     7If it is intended to show how to customize the admin's header, then it should describe the simplest solution.
Back to Top