Ticket #13749: patch.txt

File patch.txt, 1007 bytes (added by joelklabo, 14 years ago)

Patch: added link to django admin <h1> tag

Line 
1Index: contrib/admin/templates/admin/base_site.html
2===================================================================
3--- contrib/admin/templates/admin/base_site.html (revision 13336)
4+++ contrib/admin/templates/admin/base_site.html (working copy)
5@@ -4,7 +4,7 @@
6 {% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %}
7
8 {% block branding %}
9-<h1 id="site-name">{% trans 'Django administration' %}</h1>
10+<a href="/"><h1 id="site-name">{% trans 'Django administration' %}</h1></a>
11 {% endblock %}
12
13 {% block nav-global %}{% endblock %}
14Index: contrib/auth/models.py
15===================================================================
16--- contrib/auth/models.py (revision 13336)
17+++ contrib/auth/models.py (working copy)
18@@ -10,7 +10,6 @@
19 from django.utils.hashcompat import md5_constructor, sha_constructor
20 from django.utils.translation import ugettext_lazy as _
21
22-
23 UNUSABLE_PASSWORD = '!' # This will never be a valid hash
24
25 def get_hexdigest(algorithm, salt, raw_password):
Back to Top