1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

883 Commits

Author SHA1 Message Date
Georg Bauer
f2b392f654 new_admin: fixes #731, updated gl translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 00:25:15 +00:00
Georg Bauer
ef9ce5e600 new_admin: updated all translation files for new message IDs and updated german translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 17:24:13 +00:00
Robert Wittams
e5912b96f3 merged to trunk r1080
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 16:00:33 +00:00
Robert Wittams
d545100ddb Fixed save_as option
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 15:55:08 +00:00
Adrian Holovaty
9d188cf3bb Added Norwegian translation -- Thanks Espen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 15:30:15 +00:00
Georg Bauer
741a13e1dd new_admin: added more translations to the admin (mostly view functions and decorators)
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 15:28:10 +00:00
Adrian Holovaty
0ac931f38c Companion .mo-file checkin to [1077]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:56:12 +00:00
Adrian Holovaty
9f92a2b92b Renamed 'Traditional Chinese' to 'Simplified Chinese' and updated po files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:53:24 +00:00
Adrian Holovaty
d35d1f1581 Fixed bug in django.utils.decorators.decorator_from_middleware -- it wasn't raising exceptions. Refs #641
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:48:57 +00:00
Georg Bauer
5ef1cef158 new_admin: fixed a problem with make-messages.py and added first new translations (mostly to checkout the toolchain)
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:25:54 +00:00
Robert Wittams
d0ee6afcba Fix for view on site in change forms
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:11:13 +00:00
Robert Wittams
0be2945a14 Fixed RegexFilterParser for i18n
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 13:58:12 +00:00
Robert Wittams
27ef7cef10 mod fix in result_headers
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 13:39:10 +00:00
Robert Wittams
33640b247a Added change_list_results.html and fixed order_type
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 13:37:10 +00:00
Robert Wittams
fdaad9ea27 Merged i18n from trunk . To r1068.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 13:04:07 +00:00
Robert Wittams
3cc2dc152a Refixed raw_id admin, cheers bitprophet. Tiny regex filter parser change.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 12:29:55 +00:00
Jacob Kaplan-Moss
5cf8f68423 Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00
Robert Wittams
b964f470de Raw id admin fix. Thanks bitprophet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 23:42:16 +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
Robert Wittams
b291d5a4fe Merged to trunk r1044
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 15:28:55 +00:00
Robert Wittams
13c27a87d6 More repr cleanups.
Fixed template debugging and now it captures exceptions that occur during rendering. This pinpoints which template tag caused the exceptions and cuts down the stacktrace to what happened inside the template tag. 

Refactored some change list stuff. 


git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 15:14:02 +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
Robert Wittams
0f9d7018a0 Rationalised use of repr & str. Basically, use %s for any non error messages going to the user, including log messages. This means people can use __str__ and __repr__ in their models according to normal python conventions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 15:49:13 +00:00
Robert Wittams
204443cf4c Merged to trunk r1039
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 15:15:09 +00:00
Robert Wittams
18f43e5421 Regex based filter profiler. 150% -> 170% speed up of parsing a filter. Also preserves i18n behaviour from i18n branch.
Fix for auto populated field js and setup.py


git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 15:11:28 +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
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
Robert Wittams
ff6d527f3e Merged to trunk 1024. Typo fixes to changelist stuff - thanks Bruce Mitchener.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 01:13:28 +00:00
Robert Wittams
ce8f990a0d Fixed order_with_respect_to (finally), but still didn't add dom-drag.js because I don't know the licence.
Fixes for some filtering stuff. 

Other cleanups. 


git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 00:35:14 +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
Robert Wittams
938b46d72f Merged 1022
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-30 14:21:26 +00:00
Robert Wittams
5e5f77f59b Merged to 1021.
Initial split up of change lists to tags and templates. Needs work. 

Rationalised related object methods. 

Various bug fixes. 

A lot of changes here, so please let me know of any issues. 
Also I would appreciate examples of models with funky list views, 
eg searchs, pagination, filtering etc. 



git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-30 14:18:28 +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