Malcolm Tredinnick
|
2da4c4111e
|
Fixed #1856 -- install content-type entries and auth permissions for
models regardless of the presence of an inner Admin class. Patch from Mathew
Flanagan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 12:50:53 +00:00 |
Malcolm Tredinnick
|
c6dc7089a1
|
Refs #1834 -- Documented include_admin_script tag in admin interface. Thanks to
Matias Hermanrud Fjeld.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 12:35:38 +00:00 |
Malcolm Tredinnick
|
271083cf7c
|
Fixed #1756 -- Permit selecting no file in a FilePathField with blank = True.
Thanks to Adam Endicott for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 12:30:43 +00:00 |
Malcolm Tredinnick
|
1fc3b3229a
|
Fixed #1683 -- Permit initialising models using settable properties as well as
field names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 02:34:32 +00:00 |
Malcolm Tredinnick
|
214d88ce86
|
Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 02:04:37 +00:00 |
Malcolm Tredinnick
|
a93b1f7ac3
|
Fixed #1473 -- Added support for categories back into syndication feeds
(was accidently removed in r1994). Thanks, k.shaposhnikov@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 01:38:06 +00:00 |
Malcolm Tredinnick
|
c0ea3284d7
|
Fixed #1088 - Correctly detect when a float with too many digits before the
decimal point is passed in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 01:09:00 +00:00 |
Adrian Holovaty
|
c8f1d0a84e
|
Fixed #2186 -- Fixed i18n variable substitution in admin/templates/registration/password_reset_email.html. Thanks, md@hudora.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-18 17:32:15 +00:00 |
Malcolm Tredinnick
|
75a8a32f86
|
Fixed #2181 -- allow '{' and '}' to be escaped via {% templatetag ... %}.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-18 04:12:55 +00:00 |
Adrian Holovaty
|
d599052a15
|
Added AllValuesFilterSpec to admin changelist filters, which lets you put any arbitrary field in Admin.list_filter. To determine the list of all available choices, Django does a SELECT DISTINCT. Note this is backwards-incompatible for people who have defined and registered their own FilterSpecs, because each FilterSpec now takes a 'model' parameter.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-16 19:42:06 +00:00 |
Adrian Holovaty
|
72307a6eee
|
Fixed typo in docstring in db/transaction.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-16 19:35:57 +00:00 |
Jacob Kaplan-Moss
|
bca5327b21
|
Added generic foreign key support to Django. Much thanks to Ian Holsman and
Luke Plant -- most of this code is theirs. Documentation is to follow; for now
see the example/unit test. Fixes #529.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-16 19:18:30 +00:00 |
Malcolm Tredinnick
|
062bae3bb3
|
Fixed the detection of when a custom manager is required because an 'objects'
field already exists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-15 14:05:33 +00:00 |
Malcolm Tredinnick
|
28e643743f
|
Fixed #2164 -- Create correct SQL when pk column name is not the same as the
attribute name. Thanks, Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-15 11:28:28 +00:00 |
Adrian Holovaty
|
8938d5eeb3
|
Fixed #2152 -- Now HTML-escaping user.first_name in admin/base.html template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-14 14:56:19 +00:00 |
Malcolm Tredinnick
|
d5377fc813
|
Fixed #2153 -- display debugging template even if no stack frame is found.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-14 11:44:56 +00:00 |
Adrian Holovaty
|
93974e00d3
|
Fixed #2148 -- Now escaping ForeignKey fields correctly in Django admin change-list pages. Thanks, rushman@mail.ru
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-13 23:18:15 +00:00 |
Jacob Kaplan-Moss
|
efcb5912e4
|
Fixed #2147: file uploads within the update_object generic view now works. Thanks, parlar.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-13 21:47:40 +00:00 |
Adrian Holovaty
|
15437d7a88
|
Fixed #2139 -- Changed Redirect repr to str
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-12 16:20:05 +00:00 |
Georg Bauer
|
4fcb72d306
|
fixed #2128: updated BiDi support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-12 14:52:51 +00:00 |
Georg Bauer
|
ece252ed0f
|
fixed #2113: fixed 'pl' translation of date formats
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-12 14:49:05 +00:00 |
Georg Bauer
|
395cc62c78
|
fixed #2018: updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-12 14:45:28 +00:00 |
Malcolm Tredinnick
|
686c5a2f88
|
Fixed the empty model saving case so that it retrieves the primary key id. Also
updated the tests to test this case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-12 12:49:14 +00:00 |
Malcolm Tredinnick
|
bff39bfb8c
|
Fixed #2127 -- Made datetime filters fail silently when passed empty strings or
None. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-11 00:33:44 +00:00 |
Malcolm Tredinnick
|
7e2b888a2d
|
Fixed #2108 -- allow saving of empty models, rather than just dropping them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 15:14:06 +00:00 |
Adrian Holovaty
|
29f55c8dbb
|
Fixed #2106 -- Made collapse-block JavaScript translatable. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 05:04:10 +00:00 |
Adrian Holovaty
|
2abfd5dd58
|
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 05:00:13 +00:00 |
Adrian Holovaty
|
5edd1335b2
|
Added django.template.Token.split_contents() and used it to add support for strings with spaces in {% ifchanged %}
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 04:29:10 +00:00 |
Adrian Holovaty
|
0f0560a9ac
|
Changed django.utils.text.smart_split to return strings, not tuples
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 04:26:23 +00:00 |
Adrian Holovaty
|
a88e0ec5c6
|
Fixed #2116 -- Added ul_class parameter to CheckboxSelectMultipleField. Thanks, Jorge Gajon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 04:08:17 +00:00 |
Adrian Holovaty
|
3aa6b0556f
|
Solved the POST-data-lost-after-redirect problem by raising RuntimeError when DEBUG=True in the CommonMiddleware
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 03:47:18 +00:00 |
Adrian Holovaty
|
e5cd46d6d1
|
Fixed #2026 -- Added support for 'and' in template 'if' tags, added dozens of unit tests and updated docs. Thanks, ckknight
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 03:33:21 +00:00 |
Malcolm Tredinnick
|
89920e058f
|
Fixed #2108 -- do not try to save an empty model.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 00:13:52 +00:00 |
Adrian Holovaty
|
a1c9c52533
|
Added django.utils.text.smart_split. Thanks, ckknight
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 06:08:23 +00:00 |
Adrian Holovaty
|
22da62f239
|
Fixed #1503 -- Improved model validator to throw an error if a model doesn't manually define a primary key and has a field named 'id', which conflicts with the auto-primary-key convention. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:22:42 +00:00 |
Adrian Holovaty
|
0b92bd11db
|
Removed legacy deprecated_args check from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:15:18 +00:00 |
Adrian Holovaty
|
b78b1b98ff
|
Small improvement to django.template.resolve_variable -- isdigit() instead of 0123456789
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:12:39 +00:00 |
Adrian Holovaty
|
3db34ce73e
|
Fixed #2100 -- Made some remaining parts of the admin changelist translatable. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 03:17:58 +00:00 |
Adrian Holovaty
|
1926428a55
|
Fixed #2098 -- Loosened validation for model 'ordering' parameter by allowing periods. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:47:53 +00:00 |
Adrian Holovaty
|
f3f002b161
|
Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:46:08 +00:00 |
Adrian Holovaty
|
b3a6348bc2
|
Added Manager.get_or_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 00:09:29 +00:00 |
Georg Bauer
|
7e88ec5271
|
fixed #2089: added language bidirectional support and updated the admin to use it. thanks meir@mksoft!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 15:22:53 +00:00 |
Georg Bauer
|
05b1a70dab
|
fixed #2090: fixed bad charset header in po file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 15:13:16 +00:00 |
Jacob Kaplan-Moss
|
86d585a0a1
|
Backed out [3088] which was a premature commit with a message meant for another term window :)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 12:30:26 +00:00 |
Jacob Kaplan-Moss
|
0909c97e60
|
BNW: Added modpython handler to autosettings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 12:20:45 +00:00 |
Adrian Holovaty
|
6dfea737f6
|
Made template names in django.contrib.auth.views passable as template_name argument to the view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 05:16:05 +00:00 |
Wilson Miner
|
6cd0125745
|
Added more visible borders to form buttons.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 16:27:05 +00:00 |
Jacob Kaplan-Moss
|
42a34423f2
|
Fixed stupid bug in [3802]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:25:12 +00:00 |
Jacob Kaplan-Moss
|
55b6559b0e
|
Small refactoring of django.core.management to allow a custom argv to be passed into execute_manager(). This makes custom manage scripts with extra options possible
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:20:47 +00:00 |
Adrian Holovaty
|
643c7b23a9
|
Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastructures
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 00:46:18 +00:00 |