Changes between Version 3 and Version 4 of Ticket #23573
- Timestamp:
- Sep 30, 2014, 12:18:55 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23573
- Property Needs documentation unset
- Property Resolution invalid
- Property Status closed → new
- Property Component Template system → Documentation
- Property Keywords TEMPLATES_DIR removed
- Property Triage Stage Unreviewed → Accepted
- Property Summary Templates override with Admin Site TEMPLATE_DIRS wrong way → Should tutorial 2 demonstrate AdminSite.site_header instead of overriding templates?
-
Ticket #23573 – Description
v3 v4 1 Tutorial 2 shows how to change the admin's header (see also #21378). 1 2 3 However, 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]. 2 4 3 ok just because I got my ass reemed by a bunch of overly sensitive people in my opinion, 5 If 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. 4 6 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 7 If it is intended to show how to customize the admin's header, then it should describe the simplest solution.