1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

912 Commits

Author SHA1 Message Date
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
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
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
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
Adrian Holovaty
e0d2793b7b Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:44:14 +00:00
Adrian Holovaty
d4abd6fb52 Small massaging of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:43:54 +00:00
Adrian Holovaty
c604de5a5d Added 'django-admin.py installperms' command
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:43:24 +00:00
Adrian Holovaty
43ad69e24e Fixed #684 -- Fixed login_required and user_passes_test decorators. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:42:44 +00:00
Georg Bauer
e8d46cb8f1 i18n: updated italian translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:13:41 +00:00
Georg Bauer
26962549d9 i18n: now really added the new language czech
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:03:26 +00:00
Georg Bauer
75ac32d5a4 i18n: added new language czech
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:02:55 +00:00
Georg Bauer
56f73b45cc i18n: fixed a typo in the language names
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 21:48:37 +00:00
Georg Bauer
c8f9ab1ec1 i18n: added updated italian translations
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 21:33:48 +00:00
Georg Bauer
773df6ca39 i18n: updated french translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 15:32:29 +00:00
Georg Bauer
ad1abc35b6 i18n: added sample dateformat i18n to the object_changelist template
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 11:54:50 +00:00
Georg Bauer
916dd813f9 i18n: updated all language files to new message IDs
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 11:46:11 +00:00
Georg Bauer
4bab93a5fd i18n: added missing translations of day names, month names and language selection
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 11:45:35 +00:00
Georg Bauer
174c8a0295 i18n: merged to [992] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 10:18:03 +00:00
Adrian Holovaty
17f62269c2 Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:37:59 +00:00
Adrian Holovaty
f82e64c6b2 Fixed #681 -- get_in_bulk no longer assumes PK fields are called id. Also added unit tests to confirm. Thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:18:53 +00:00
Adrian Holovaty
411625a761 Some small improvements and fixes to docs/authentication.txt, which still isn't finished
git-svn-id: http://code.djangoproject.com/svn/django/trunk@990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:18:39 +00:00
Adrian Holovaty
d412dbf46b Added partially completed docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:12:56 +00:00
Adrian Holovaty
4f47ef85f8 Added django.views.decorators.auth.user_passes_test, which is a more generic hook into authentication based on a test. Refactored login_required to use user_passes_test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:04:55 +00:00
Adrian Holovaty
cc3635d62f Fixed #663 -- app_directories template loader no longer assumes a dot in the app name. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 23:16:45 +00:00
Adrian Holovaty
81cbf27a13 Fixed #668 -- Changed default site from mysite.com to example.com. Thanks, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 22:58:33 +00:00
Adrian Holovaty
3e7ea41bbb Added note about ALLOWED_INCLUDE_ROOTS to docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 21:58:01 +00:00
Georg Bauer
15f1da0532 i18n: merged to [978] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 14:15:30 +00:00
Adrian Holovaty
169f9d2bd3 Fixed #655 -- Improved 'validator_list' section of docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:22:20 +00:00
Adrian Holovaty
d8b8367494 Fixed #658 -- Fixed JavaScript calendar widget in IE. Thanks for the patch, kieranholland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:16:46 +00:00
Adrian Holovaty
a102942d7a Fixed #654 -- Fixed bug in [969]. Thanks, korpios@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:13:55 +00:00
Georg Bauer
0ab4ae9349 i18n: removed special casing for en and en-* - we now have an english translation file, so just handle en the same way as other languages
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 07:36:44 +00:00
Adrian Holovaty
e4c844ffa0 Fixed #653 -- setup.up now accounts for admin file moves. Thanks, korpios@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:35:33 +00:00