1
0
mirror of https://github.com/django/django.git synced 2025-04-20 23:34:37 +00:00

940 Commits

Author SHA1 Message Date
Georg Bauer
e27211a0de i18n: merged to [1054] of trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
archive/attic/i18n
2005-11-03 21:29:48 +00:00
Georg Bauer
9e724c2523 i18n: fixed documentation and message scanner for constant string translations
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 17:10:16 +00:00
Georg Bauer
11e6a88011 i18n: readded constant string translations, needed for template tags with string constants
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 16:50:41 +00:00
Georg Bauer
1470bb0b23 i18n: updated unittests and fixed bugs in the tags, removed the old tags and fixed #719 (thx nesh)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 16:07:43 +00:00
Georg Bauer
ed05d90232 i18n: updated translation documentation for new syntax
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 12:01:16 +00:00
Georg Bauer
c9194cdf90 i18n: rebuilt the .po and .mo files based on the new source
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 11:26:42 +00:00
Georg Bauer
b60d7ff985 i18n: implemented the proposed syntax change to {% trans %} and {% blocktrans %}
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 11:25:18 +00:00
Georg Bauer
df1e0ef61b i18n: updated sr translation. thx Petar.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 07:54:45 +00:00
Georg Bauer
76c591dbe5 i18n: fixed the LANGUAGES variable to contain language codes (instead of locale codes) and fixed a wrong language name
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 07:53:22 +00:00
Adrian Holovaty
9af59f4ba8 Small update to [1057]
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 06:54:10 +00:00
Adrian Holovaty
e2b7527f79 Preliminary clean-up of docs/translation.txt in i18n branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-03 06:52:53 +00:00
Georg Bauer
1c4a48134a i18n: updated fr translation. thx Laurent.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 23:41:08 +00:00
Adrian Holovaty
cb45fd0ae2 Added DATABASE_PORT to docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 22:28:08 +00:00
Adrian Holovaty
f29205fc7b Updated docs/legacy_databases.txt to remove 'auth_admin_log' from list of tables that shouldn't be in the database, because that's now optional.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:55:21 +00:00
Adrian Holovaty
2d5c6ec256 Changed docs/legacy_databases.txt to link to settings docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:53:32 +00:00
Adrian Holovaty
b5df9c308f Improved docs/db-api.txt to specify that case-sensitive ordering isn't supported
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 20:31:12 +00:00
Jacob Kaplan-Moss
91a283583c Made floatformat filter not choke on non-floats
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 19:01:27 +00:00
Georg Bauer
a7bd5a2141 i18n: updated documentation and unittests for the new get_available_languages tag and the new switching view
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 17:48:49 +00:00
Georg Bauer
13fcef45f7 i18n: added get_available_languages tag and added a default view for switching languages (both from the django-dev posting of jacob)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 17:46:07 +00:00
Georg Bauer
5c8399469c i18n: added updated sr translation. thx nesh.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 14:45:32 +00:00
Adrian Holovaty
27efe14c54 Added 'Session IDs in URLs' and 'Session cookies' sections to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 14:26:55 +00:00
Georg Bauer
ca3dbaacbb i18n: removed debugging leftovers (thx. rjwittams)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 18:50:32 +00:00
Adrian Holovaty
23bb8c4a4b Added quote_name hook for each database backend. Refs #121. Thanks, Robin Munn -- we miss you.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:32:54 +00:00
Adrian Holovaty
c65332d409 Updated out-of-date docstring in django/core/db/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:28:42 +00:00
Adrian Holovaty
cee6faf43e Fixed #505 -- ssi template tag now displays a message instead of failing silently if DEBUG=True. Thanks, Manuzhai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:11:36 +00:00
Adrian Holovaty
7136eb8f3a Fixed #507 -- Changed MySQL backend so that it uses 'LIKE BINARY' for case-sensitive comparisons -- contains, startswith and endswith. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:08:13 +00:00
Adrian Holovaty
390666ac2b Fixed #508 -- Added support for 'expires' in cookies and changed session middleware to set 'expires' in addition to 'max_age'. Thanks, mark@junklight.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:02:07 +00:00
Adrian Holovaty
41d5cff745 Fixed #548 -- Added missing step at the end of docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 00:49:52 +00:00
Adrian Holovaty
3226127aa2 Added model unit tests for year, month and day lookup. Refs #659
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 00:40:32 +00:00
Georg Bauer
9480908bfa i18n: updated cs translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 21:37:21 +00:00
Adrian Holovaty
546e368d0b More tightening of docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 03:17:39 +00:00
Adrian Holovaty
cbe2426369 Made several grammar fixes to cache documentation from [1020]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 03:14:57 +00:00
Georg Bauer
63651e8a81 i18n: merged to [1025] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 00:13:29 +00:00
Georg Bauer
e744018edc i18n: added simplified chinese translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 00:02:40 +00:00
Jacob Kaplan-Moss
fb55717a09 Documented {{{singular}}} argument for m2m relationships (fixes #664).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-30 14:35:44 +00:00
Jacob Kaplan-Moss
7e0719efa6 Fixed #675: PasswordFields now respect length and maxlength params
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:10:51 +00:00
Jacob Kaplan-Moss
2822f71d08 Fixed #140: memcached backends may now use multiple servers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:05:19 +00:00
Jacob Kaplan-Moss
f12e324332 Fixed #612 - added cache control headers (thanks, hugo)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:00:20 +00:00
Adrian Holovaty
67d490a61d Fixed #701 -- contrib.admin.views.doc now uses get_internal_type()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:48:33 +00:00
Adrian Holovaty
b5a6ff5bdd Fixed #488 -- removetags template filter now removes tags without a space before the final slash
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:45:51 +00:00
Adrian Holovaty
c6f375fd11 Fixed #700 -- urlify.js now uses hyphens instead of underscores
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:41:39 +00:00
Jacob Kaplan-Moss
e7c870c36e Fixed #703: added decorators to require that view be called with a given HTTP REQUEST_METHOD
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 01:30:30 +00:00
Georg Bauer
30b857649d i18n: startproject still did create the settings directory with admin.py setting - leftover from before the admin move. fixed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-27 23:03:13 +00:00
Georg Bauer
ec56b7241d i18n: updated brazilian translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-27 23:01:02 +00:00
Georg Bauer
de42aef09c fix for startproject requiring settings
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-27 22:34:06 +00:00
Jacob Kaplan-Moss
c3377c1eae Fixed shortcut redirect handler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-26 14:01:53 +00:00
Adrian Holovaty
d310b108f4 Changed global_settings.TEMPLATE_LOADERS to be same as default project_template.settings.TEMPLATE_LOADERS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 02:02:58 +00:00
Adrian Holovaty
3ad82eff77 Improved autoreloader to ignore files that might be in eggs. Refs #596
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 02:01:10 +00:00
Adrian Holovaty
5c3d1ec163 Fixed #677 -- db.queries is now reset per request. Thanks, seancazzell
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:51:57 +00:00
Adrian Holovaty
1ed99862c6 Fixed #679 -- 'collapse' admin row class is now processed correctly when more than one tuple is in the admin.fields list. Thanks, malcolm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:47:34 +00:00