Changeset 6466
- Timestamp:
- 10/08/07 11:10:39 (1 year ago)
- Files:
-
- django/branches/queryset-refactor (modified) (1 prop)
- django/branches/queryset-refactor/AUTHORS (modified) (4 diffs)
- django/branches/queryset-refactor/django/bin/compile-messages.py (modified) (1 diff)
- django/branches/queryset-refactor/django/bin/make-messages.py (modified) (1 diff)
- django/branches/queryset-refactor/django/conf/locale/de/LC_MESSAGES/django.mo (modified) (previous)
- django/branches/queryset-refactor/django/conf/locale/de/LC_MESSAGES/django.po (modified) (2 diffs)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/auth/user/change_password.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/base.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/change_form.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/change_list.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/delete_confirmation.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/bookmarklets.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/index.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/missing_docutils.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/model_detail.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/model_index.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_detail.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_filter_index.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_tag_index.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/view_detail.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/view_index.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/admin/object_history.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/registration/password_change_done.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templates/registration/password_change_form.html (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/admin/templatetags/admin_modify.py (modified) (3 diffs)
- django/branches/queryset-refactor/django/contrib/auth/backends.py (modified) (1 diff)
- django/branches/queryset-refactor/django/contrib/comments/templatetags/comments.py (modified) (6 diffs)
- django/branches/queryset-refactor/django/contrib/sessions/backends/base.py (modified) (6 diffs)
- django/branches/queryset-refactor/django/contrib/sessions/models.py (modified) (1 diff)
- django/branches/queryset-refactor/django/core/handlers/wsgi.py (modified) (3 diffs)
- django/branches/queryset-refactor/django/core/management/base.py (modified) (2 diffs)
- django/branches/queryset-refactor/django/core/management/commands/startapp.py (modified) (1 diff)
- django/branches/queryset-refactor/django/core/management/__init__.py (modified) (9 diffs)
- django/branches/queryset-refactor/django/db/models/fields/__init__.py (modified) (1 diff)
- django/branches/queryset-refactor/django/http/__init__.py (modified) (1 diff)
- django/branches/queryset-refactor/django/middleware/http.py (modified) (1 diff)
- django/branches/queryset-refactor/django/newforms/widgets.py (modified) (7 diffs)
- django/branches/queryset-refactor/django/oldforms/__init__.py (modified) (2 diffs)
- django/branches/queryset-refactor/django/template/defaultfilters.py (modified) (3 diffs)
- django/branches/queryset-refactor/django/template/defaulttags.py (modified) (7 diffs)
- django/branches/queryset-refactor/django/template/__init__.py (modified) (9 diffs)
- django/branches/queryset-refactor/django/template/loader_tags.py (modified) (2 diffs)
- django/branches/queryset-refactor/django/templatetags/i18n.py (modified) (2 diffs)
- django/branches/queryset-refactor/django/utils/cache.py (modified) (5 diffs)
- django/branches/queryset-refactor/django/utils/datastructures.py (modified) (1 diff)
- django/branches/queryset-refactor/django/utils/encoding.py (modified) (2 diffs)
- django/branches/queryset-refactor/django/utils/translation/__init__.py (modified) (4 diffs)
- django/branches/queryset-refactor/django/utils/translation/trans_null.py (modified) (1 diff)
- django/branches/queryset-refactor/django/utils/translation/trans_real.py (modified) (1 diff)
- django/branches/queryset-refactor/django/views/static.py (modified) (1 diff)
- django/branches/queryset-refactor/docs/databases.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/db-api.txt (modified) (2 diffs)
- django/branches/queryset-refactor/docs/django-admin.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/email.txt (modified) (5 diffs)
- django/branches/queryset-refactor/docs/generic_views.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/i18n.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/install.txt (modified) (2 diffs)
- django/branches/queryset-refactor/docs/newforms.txt (modified) (2 diffs)
- django/branches/queryset-refactor/docs/request_response.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/sessions.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/settings.txt (modified) (1 diff)
- django/branches/queryset-refactor/docs/templates_python.txt (modified) (2 diffs)
- django/branches/queryset-refactor/docs/unicode.txt (modified) (2 diffs)
- django/branches/queryset-refactor/tests/modeltests/basic/models.py (modified) (1 diff)
- django/branches/queryset-refactor/tests/modeltests/field_defaults/models.py (modified) (1 diff)
- django/branches/queryset-refactor/tests/modeltests/serializers/models.py (modified) (4 diffs)
- django/branches/queryset-refactor/tests/modeltests/signals/models.py (modified) (2 diffs)
- django/branches/queryset-refactor/tests/modeltests/user_commands (copied) (copied from django/trunk/tests/modeltests/user_commands)
- django/branches/queryset-refactor/tests/modeltests/user_commands/__init__.py (copied) (copied from django/trunk/tests/modeltests/user_commands/__init__.py)
- django/branches/queryset-refactor/tests/modeltests/user_commands/management (copied) (copied from django/trunk/tests/modeltests/user_commands/management)
- django/branches/queryset-refactor/tests/modeltests/user_commands/management/commands (copied) (copied from django/trunk/tests/modeltests/user_commands/management/commands)
- django/branches/queryset-refactor/tests/modeltests/user_commands/management/commands/dance.py (copied) (copied from django/trunk/tests/modeltests/user_commands/management/commands/dance.py)
- django/branches/queryset-refactor/tests/modeltests/user_commands/management/commands/__init__.py (copied) (copied from django/trunk/tests/modeltests/user_commands/management/commands/__init__.py)
- django/branches/queryset-refactor/tests/modeltests/user_commands/management/__init__.py (copied) (copied from django/trunk/tests/modeltests/user_commands/management/__init__.py)
- django/branches/queryset-refactor/tests/modeltests/user_commands/models.py (copied) (copied from django/trunk/tests/modeltests/user_commands/models.py)
- django/branches/queryset-refactor/tests/regressiontests/httpwrappers/tests.py (modified) (3 diffs)
- django/branches/queryset-refactor/tests/regressiontests/i18n/models.py (modified) (1 diff)
- django/branches/queryset-refactor/tests/regressiontests/i18n/tests.py (modified) (1 diff)
- django/branches/queryset-refactor/tests/regressiontests/views/tests/generic/date_based.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/queryset-refactor
- Property svnmerge-integrated changed from /django/trunk:1-5600 to /django/trunk:1-6465
django/branches/queryset-refactor/AUTHORS
r6382 r6466 115 115 A. Murat Eren <meren@pardus.org.tr> 116 116 Ludvig Ericson <ludvig.ericson@gmail.com> 117 eriks@win.tue.nl 117 118 Dirk Eschler <dirk.eschler@gmx.net> 118 119 Marc Fargas <telenieko@telenieko.com> … … 235 236 pavithran s <pavithran.s@gmail.com> 236 237 Barry Pederson <bp@barryp.org> 238 permonik@mesias.brnonet.cz 237 239 petr.marhoun@gmail.com 238 240 pgross@thoughtworks.com … … 313 315 Milton Waddams 314 316 wam-djangobug@wamber.net 315 wangchun <yaohua2000@gmail.com> 317 Wang Chun <wangchun@exoweb.net> 318 Filip Wasilewski <filip.wasilewski@gmail.com> 316 319 Filip Wasilewski <filip.wasilewski@gmail.com> 317 320 Dan Watson <http://theidioteque.net/> … … 322 325 Gary Wilson <gary.wilson@gmail.com> 323 326 Jakub Wiśniowski <restless.being@gmail.com> 327 Maciej Wiśniowski <pigletto@gmail.com> 324 328 wojtek 325 329 ye7cakf02@sneakemail.com django/branches/queryset-refactor/django/bin/compile-messages.py
r6382 r6466 15 15 if os.environ.get('DJANGO_SETTINGS_MODULE'): 16 16 from django.conf import settings 17 basedirs += settings.LOCALE_PATHS 17 if hasattr(settings, 'LOCALE_PATHS'): 18 basedirs += settings.LOCALE_PATHS 18 19 19 20 # Gather existing directories. django/branches/queryset-refactor/django/bin/make-messages.py
r5842 r6466 75 75 os.unlink(potfile) 76 76 77 all_files = [] 77 78 for (dirpath, dirnames, filenames) in os.walk("."): 78 for file in filenames: 79 if domain == 'djangojs' and file.endswith('.js'): 80 if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) 79 all_files.extend([(dirpath, f) for f in filenames]) 80 all_files.sort() 81 for dirpath, file in all_files: 82 if domain == 'djangojs' and file.endswith('.js'): 83 if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) 84 src = open(os.path.join(dirpath, file), "rb").read() 85 src = pythonize_re.sub('\n#', src) 86 open(os.path.join(dirpath, '%s.py' % file), "wb").write(src) 87 thefile = '%s.py' % file 88 cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % ( 89 os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile)) 90 (stdin, stdout, stderr) = os.popen3(cmd, 't') 91 msgs = stdout.read() 92 errors = stderr.read() 93 if errors: 94 print "errors happened while running xgettext on %s" % file 95 print errors 96 sys.exit(8) 97 old = '#: '+os.path.join(dirpath, thefile)[2:] 98 new = '#: '+os.path.join(dirpath, file)[2:] 99 msgs = msgs.replace(old, new) 100 if msgs: 101 open(potfile, 'ab').write(msgs) 102 os.unlink(os.path.join(dirpath, thefile)) 103 elif domain == 'django' and (file.endswith('.py') or file.endswith('.html')): 104 thefile = file 105 if file.endswith('.html'): 81 106 src = open(os.path.join(dirpath, file), "rb").read() 82 src = pythonize_re.sub('\n#', src)83 open(os.path.join(dirpath, '%s.py' % file), "wb").write(src)84 107 thefile = '%s.py' % file 85 cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % ( 86 os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile)) 87 (stdin, stdout, stderr) = os.popen3(cmd, 't') 88 msgs = stdout.read() 89 errors = stderr.read() 90 if errors: 91 print "errors happened while running xgettext on %s" % file 92 print errors 93 sys.exit(8) 108 open(os.path.join(dirpath, thefile), "wb").write(templatize(src)) 109 if verbose: 110 sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) 111 cmd = 'xgettext -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --keyword=ugettext_noop --keyword=ugettext_lazy --keyword=ungettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % ( 112 domain, os.path.join(dirpath, thefile)) 113 (stdin, stdout, stderr) = os.popen3(cmd, 't') 114 msgs = stdout.read() 115 errors = stderr.read() 116 if errors: 117 print "errors happened while running xgettext on %s" % file 118 print errors 119 sys.exit(8) 120 if thefile != file: 94 121 old = '#: '+os.path.join(dirpath, thefile)[2:] 95 122 new = '#: '+os.path.join(dirpath, file)[2:] 96 123 msgs = msgs.replace(old, new) 97 if msgs: 98 open(potfile, 'ab').write(msgs) 124 if os.path.exists(potfile): 125 # Strip the header 126 msgs = '\n'.join(dropwhile(len, msgs.split('\n'))) 127 else: 128 msgs = msgs.replace('charset=CHARSET', 'charset=UTF-8') 129 if msgs: 130 open(potfile, 'ab').write(msgs) 131 if thefile != file: 99 132 os.unlink(os.path.join(dirpath, thefile)) 100 elif domain == 'django' and (file.endswith('.py') or file.endswith('.html')):101 thefile = file102 if file.endswith('.html'):103 src = open(os.path.join(dirpath, file), "rb").read()104 thefile = '%s.py' % file105 open(os.path.join(dirpath, thefile), "wb").write(templatize(src))106 if verbose:107 sys.stdout.write('processing file %s in %s\n' % (file, dirpath))108 cmd = 'xgettext -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --keyword=ugettext_noop --keyword=ugettext_lazy --keyword=ungettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % (109 domain, os.path.join(dirpath, thefile))110 (stdin, stdout, stderr) = os.popen3(cmd, 't')111 msgs = stdout.read()112 errors = stderr.read()113 if errors:114 print "errors happened while running xgettext on %s" % file115 print errors116 sys.exit(8)117 if thefile != file:118 old = '#: '+os.path.join(dirpath, thefile)[2:]119 new = '#: '+os.path.join(dirpath, file)[2:]120 msgs = msgs.replace(old, new)121 if os.path.exists(potfile):122 # Strip the header123 msgs = '\n'.join(dropwhile(len, msgs.split('\n')))124 else:125 msgs = msgs.replace('charset=CHARSET', 'charset=UTF-8')126 if msgs:127 open(potfile, 'ab').write(msgs)128 if thefile != file:129 os.unlink(os.path.join(dirpath, thefile))130 133 131 134 if os.path.exists(potfile): django/branches/queryset-refactor/django/conf/locale/de/LC_MESSAGES/django.po
r5836 r6466 1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 2 # This file is distributed under the same license as the PACKAGE package. 3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 1 # Translation of django.po to German 2 # 3 # Copyright (C) 2005-2007, 4 # This file is distributed under the same license as the django package. 4 5 # 5 6 msgid "" … … 1630 1631 msgstr "Webseiten" 1631 1632 1632 #: contrib/humanize/templatetags/humanize.py: 171633 #: contrib/humanize/templatetags/humanize.py:20 1633 1634 msgid "th" 1634 msgstr " "1635 1636 #: contrib/humanize/templatetags/humanize.py: 171635 msgstr "." 1636 1637 #: contrib/humanize/templatetags/humanize.py:20 1637 1638 msgid "st" 1638 msgstr " "1639 1640 #: contrib/humanize/templatetags/humanize.py: 171639 msgstr "." 1640 1641 #: contrib/humanize/templatetags/humanize.py:20 1641 1642 msgid "nd" 1642 msgstr " "1643 1644 #: contrib/humanize/templatetags/humanize.py: 171643 msgstr "." 1644 1645 #: contrib/humanize/templatetags/humanize.py:20 1645 1646 msgid "rd" 1646 msgstr " "1647 1648 #: contrib/humanize/templatetags/humanize.py: 471647 msgstr "." 1648 1649 #: contrib/humanize/templatetags/humanize.py:50 1649 1650 #, python-format 1650 1651 msgid "%(value).1f million" 1651 1652 msgid_plural "%(value).1f million" 1652 msgstr[0] " "1653 msgstr[1] " "1654 1655 #: contrib/humanize/templatetags/humanize.py:5 01653 msgstr[0] "%(value).1f Million" 1654 msgstr[1] "%(value).1f Millionen" 1655 1656 #: contrib/humanize/templatetags/humanize.py:53 1656 1657 #, python-format 1657 1658 msgid "%(value).1f billion" 1658 1659 msgid_plural "%(value).1f billion" 1659 msgstr[0] " "1660 msgstr[1] " "1661 1662 #: contrib/humanize/templatetags/humanize.py:5 31660 msgstr[0] "%(value).1f Milliarde" 1661 msgstr[1] "%(value).1f Milliarden" 1662 1663 #: contrib/humanize/templatetags/humanize.py:56 1663 1664 #, python-format 1664 1665 msgid "%(value).1f trillion" 1665 1666 msgid_plural "%(value).1f trillion" 1666 msgstr[0] " "1667 msgstr[1] " "1668 1669 #: contrib/humanize/templatetags/humanize.py: 681667 msgstr[0] "%(value).1f Billion" 1668 msgstr[1] "%(value).1f Billionen" 1669 1670 #: contrib/humanize/templatetags/humanize.py:71 1670 1671 msgid "one" 1671 1672 msgstr "ein" 1672 1673 1673 #: contrib/humanize/templatetags/humanize.py: 681674 #: contrib/humanize/templatetags/humanize.py:71 1674 1675 msgid "two" 1675 1676 msgstr "zwei" 1676 1677 1677 #: contrib/humanize/templatetags/humanize.py: 681678 #: contrib/humanize/templatetags/humanize.py:71 1678 1679 msgid "three" 1679 1680 msgstr "drei" 1680 1681 1681 #: contrib/humanize/templatetags/humanize.py: 681682 #: contrib/humanize/templatetags/humanize.py:71 1682 1683 msgid "four" 1683 1684 msgstr "vier" 1684 1685 1685 #: contrib/humanize/templatetags/humanize.py: 681686 #: contrib/humanize/templatetags/humanize.py:71 1686 1687 msgid "five" 1687 1688 msgstr "fünf" 1688 1689 1689 #: contrib/humanize/templatetags/humanize.py: 681690 #: contrib/humanize/templatetags/humanize.py:71 1690 1691 msgid "six" 1691 1692 msgstr "sechs" 1692 1693 1693 #: contrib/humanize/templatetags/humanize.py: 681694 #: contrib/humanize/templatetags/humanize.py:71 1694 1695 msgid "seven" 1695 1696 msgstr "sieben" 1696 1697 1697 #: contrib/humanize/templatetags/humanize.py: 681698 #: contrib/humanize/templatetags/humanize.py:71 1698 1699 msgid "eight" 1699 1700 msgstr "acht" 1700 1701 1701 #: contrib/humanize/templatetags/humanize.py: 681702 #: contrib/humanize/templatetags/humanize.py:71 1702 1703 msgid "nine" 1703 1704 msgstr "neun" django/branches/queryset-refactor/django/contrib/admin/templates/admin/auth/user/change_password.html
r5863 r6466 7 7 {% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock %} 8 8 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} 9 {% block userlinks %}<a href="../../../../doc/">{% trans 'Documentation' %}</a> / <a href="../../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}10 9 {% block breadcrumbs %}{% if not is_popup %} 11 10 <div class="breadcrumbs"> django/branches/queryset-refactor/django/contrib/admin/templates/admin/base.html
r4230 r6466 23 23 </div> 24 24 {% if user.is_authenticated and user.is_staff %} 25 <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans 'Documentation' %}</a> / <a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div> 25 <div id="user-tools"> 26 {% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}</strong>. 27 {% block userlinks %} 28 <a href="{% url django.contrib.admin.views.doc.doc_index %}">{% trans 'Documentation' %}</a> 29 / <a href="{% url django.contrib.auth.views.password_change %}">{% trans 'Change password' %}</a> 30 / <a href="{% url django.contrib.auth.views.logout %}">{% trans 'Log out' %}</a> 31 {% endblock %} 32 </div> 26 33 {% endif %} 27 34 {% block nav-global %}{% endblock %} django/branches/queryset-refactor/django/contrib/admin/templates/admin/change_form.html
r4230 r6466 8 8 {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} 9 9 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} 10 {% block userlinks %}<a href="../../../doc/">{% trans 'Documentation' %}</a> / <a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %}11 10 {% block breadcrumbs %}{% if not is_popup %} 12 11 <div class="breadcrumbs"> django/branches/queryset-refactor/django/contrib/admin/templates/admin/change_list.html
r4230 r6466 3 3 {% block stylesheet %}{% admin_media_prefix %}css/changelists.css{% endblock %} 4 4 {% block bodyclass %}change-list{% endblock %} 5 {% block userlinks %}<a href="../../doc/">{% trans 'Documentation' %}</a> / <a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}6 5 {% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › {{ cl.opts.verbose_name_plural|capfirst|escape }}</div>{% endblock %}{% endif %} 7 6 {% block coltype %}flex{% endblock %} django/branches/queryset-refactor/django/contrib/admin/templates/admin/delete_confirmation.html
r3349 r6466 1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 {% block userlinks %}<a href="../../../../doc/">{% trans 'Documentation' %}</a> / <a href="../../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}4 3 {% block breadcrumbs %} 5 4 <div class="breadcrumbs"> django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/bookmarklets.html
r2809 r6466 2 2 3 3 {% block breadcrumbs %}{% load i18n %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › <a href="../">{% trans "Documentation" %}</a> › {% trans "Bookmarklets" %}</div>{% endblock %} 4 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}5 4 {% block title %}{% trans "Documentation bookmarklets" %}{% endblock %} 6 5 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/index.html
r3415 r6466 2 2 {% load i18n %} 3 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">Home</a> › Documentation</div>{% endblock %} 4 {% block userlinks %}<a href="../password_change/">{% trans 'Change password' %}</a> / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}5 4 {% block title %}Documentation{% endblock %} 6 5 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/missing_docutils.html
r3415 r6466 2 2 {% load i18n %} 3 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">Home</a> › Documentation</div>{% endblock %} 4 {% block userlinks %}<a href="../password_change/">{% trans 'Change password' %}</a> / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}5 4 {% block title %}Please install docutils{% endblock %} 6 5 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/model_detail.html
r3642 r6466 1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 {% block userlinks %}<a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %}4 3 {% block extrahead %} 5 4 {{ block.super }} django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/model_index.html
r2809 r6466 3 3 {% block coltype %}colSM{% endblock %} 4 4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Models</div>{% endblock %} 5 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}6 5 7 6 {% block title %}Models{% endblock %} django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_detail.html
r3350 r6466 2 2 {% load i18n %} 3 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › Templates › {{ name|escape }}</div>{% endblock %} 4 {% block userlinks %}<a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %}5 4 6 5 {% block title %}Template: {{ name|escape }}{% endblock %} django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_filter_index.html
r2809 r6466 3 3 {% block coltype %}colSM{% endblock %} 4 4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › filters</div>{% endblock %} 5 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}6 5 {% block title %}Template filters{% endblock %} 7 6 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/template_tag_index.html
r2809 r6466 3 3 {% block coltype %}colSM{% endblock %} 4 4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Tags</div>{% endblock %} 5 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}6 5 {% block title %}Template tags{% endblock %} 7 6 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/view_detail.html
r3856 r6466 2 2 {% load i18n %} 3 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Views</a> › {{ name }}</div>{% endblock %} 4 {% block userlinks %}<a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %}5 4 {% block title %}View: {{ name }}{% endblock %} 6 5 django/branches/queryset-refactor/django/contrib/admin/templates/admin_doc/view_index.html
r2809 r6466 3 3 {% block coltype %}colSM{% endblock %} 4 4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Views</div>{% endblock %} 5 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}6 5 {% block title %}Views{% endblock %} 7 6 django/branches/queryset-refactor/django/contrib/admin/templates/admin/object_history.html
r3349 r6466 1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 {% block userlinks %}<a href="../../../../doc/">{% trans 'Documentation' %}</a> / <a href="../../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}4 3 {% block breadcrumbs %} 5 4 <div class="breadcrumbs"><a href="../../../../">{% trans 'Home' %}</a> › <a href="../../">{{ module_name|escape }}</a> › <a href="../">{{ object|escape|truncatewords:"18" }}</a> › {% trans 'History' %}</div> django/branches/queryset-refactor/django/contrib/admin/templates/registration/password_change_done.html
r2840 r6466 1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 {% block userlinks %}<a href="../../doc/">{% trans 'Documentation' %}</a> / {% trans 'Change password' %} / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}4 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans 'Home' %}</a> › {% trans 'Password change' %}</div>{% endblock %} 5 4 django/branches/queryset-refactor/django/contrib/admin/templates/registration/password_change_form.html
r2809 r6466 1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 {% block userlinks %}<a href="../doc/">{% trans 'Documentation' %}</a> / {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}4 3 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password change' %}</div>{% endblock %} 5 4 django/branches/queryset-refactor/django/contrib/admin/templatetags/admin_modify.py
r5803 r6466 73 73 74 74 def __init__(self, bound_field_var): 75 self.bound_field_var = bound_field_var75 self.bound_field_var = template.Variable(bound_field_var) 76 76 77 77 def get_nodelist(cls, klass): … … 97 97 98 98 def render(self, context): 99 bound_field = template.resolve_variable(self.bound_field_var,context)99 bound_field = self.bound_field_var.resolve(context) 100 100 101 101 context.push() … … 157 157 class EditInlineNode(template.Node): 158 158 def __init__(self, rel_var): 159 self.rel_var = rel_var159 self.rel_var = template.Variable(rel_var) 160 160 161 161 def render(self, context): 162 relation = template.resolve_variable(self.rel_var,context)162 relation = self.rel_var.resolve(context) 163 163 context.push() 164 164 if relation.field.rel.edit_inline == models.TABULAR: django/branches/queryset-refactor/django/contrib/auth/backends.py
r6382 r6466 2 2 from django.contrib.auth.models import User 3 3 4 try: 5 set 6 except NameError: 7 from sets import Set as set # Python 2.3 fallback 8 4 9 class ModelBackend: 5 10 """ django/branches/queryset-refactor/django/contrib/comments/templatetags/comments.py
r5848 r6466 20 20 is_public=True): 21 21 self.content_type = content_type 22 if obj_id_lookup_var is not None: 23 obj_id_lookup_var = template.Variable(obj_id_lookup_var) 22 24 self.obj_id_lookup_var, self.obj_id, self.free = obj_id_lookup_var, obj_id, free 23 25 self.photos_optional, self.photos_required = photos_optional, photos_required … … 33 35 if self.obj_id_lookup_var is not None: 34 36 try: 35 self.obj_id = template.resolve_variable(self.obj_id_lookup_var,context)37 self.obj_id = self.obj_id_lookup_var.resolve(context) 36 38 except template.VariableDoesNotExist: 37 39 return '' … … 76 78 def __init__(self, package, module, context_var_name, obj_id, var_name, free): 77 79 self.package, self.module = package, module 80 if context_var_name is not None: 81 context_var_name = template.Variable(context_var_name) 78 82 self.context_var_name, self.obj_id = context_var_name, obj_id 79 83 self.var_name, self.free = var_name, free … … 83 87 manager = self.free and FreeComment.objects or Comment.objects 84 88 if self.context_var_name is not None: 85 self.obj_id = template.resolve_variable(self.context_var_name,context)89 self.obj_id = self.context_var_name.resolve(context) 86 90 comment_count = manager.filter(object_id__exact=self.obj_id, 87 91 content_type__app_label__exact=self.package, … … 93 97 def __init__(self, package, module, context_var_name, obj_id, var_name, free, ordering, extra_kwargs=None): 94 98 self.package, self.module = package, module 99 if context_var_name is not None: 100 context_var_name = template.Variable(context_var_name) 95 101 self.context_var_name, self.obj_id = context_var_name, obj_id 96 102 self.var_name, self.free = var_name, free … … 103 109 if self.context_var_name is not None: 104 110 try: 105 self.obj_id = template.resolve_variable(self.context_var_name,context)111 self.obj_id = self.context_var_name.resolve(context) 106 112 except template.VariableDoesNotExist: 107 113 return '' django/branches/queryset-refactor/django/contrib/sessions/backends/base.py
r6382 r6466 17 17 Base class for all Session classes. 18 18 """
