summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-20Fixed #2185 -- Changed django.views.decorators.http.require_http_methods ↵Adrian Holovaty
decorator to use HttpResponseNotAllowed instead of HttpResponseForbidden git-svn-id: http://code.djangoproject.com/svn/django/trunk@3163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2189 -- Optimized auth.User.get_all_permissions() to use ↵Adrian Holovaty
select_related behind the scenes to avoid multiple queries. Thanks, konrad@gwu.edu git-svn-id: http://code.djangoproject.com/svn/django/trunk@3162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2190 -- Now allowing NullBooleanField to be given NoneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #2195 -- Fixed spelling error in generic_relations model test. Other ↵Adrian Holovaty
errors were fixed earlier today. Thanks, Tom Tobin git-svn-id: http://code.djangoproject.com/svn/django/trunk@3160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed ReST error in [3158]. I think.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Added 'Why is Django leaking memory?' to docs/faq.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20Fixed #1857 -- Fixed get_previous_by_FIELD and get_next_by_FIELD to workMalcolm Tredinnick
properly with keyword arguments. Patch from tom@jerakeen.org. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed some small typos in generic_relations model testsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19fixed #2172: updated russian translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19fixed #2180: updated polish translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19fixed #2165: updated hebrew translationsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1856 -- install content-type entries and auth permissions forMalcolm Tredinnick
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-19Refs #1834 -- Documented include_admin_script tag in admin interface. Thanks toMalcolm Tredinnick
Matias Hermanrud Fjeld. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1756 -- Permit selecting no file in a FilePathField with blank = True.Malcolm Tredinnick
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-19Fixed #1683 -- Permit initialising models using settable properties as well asMalcolm Tredinnick
field names. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1473 -- Added support for categories back into syndication feedsMalcolm Tredinnick
(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-19Fixed #1088 - Correctly detect when a float with too many digits before theMalcolm Tredinnick
decimal point is passed in. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18Fixed #2176 -- Fixed typo in docs/db-api.txt. Thanks, simon@lieschke.netAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18Fixed #2186 -- Fixed i18n variable substitution in ↵Adrian Holovaty
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-18Fixed #2173 -- Small tweaks to Windows mod_python question in docs/faq.txt. ↵Adrian Holovaty
Thanks, paolo and asmodai git-svn-id: http://code.djangoproject.com/svn/django/trunk@3139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18Fixed #2181 -- allow '{' and '}' to be escaped via {% templatetag ... %}.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-17Fixed #2166 -- (take two!). Use "manage.py reset ..." to reset a model'sMalcolm Tredinnick
database tables, not the older piped combination that used to be required. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16Added AllValuesFilterSpec to admin changelist filters, which lets you put ↵Adrian Holovaty
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-16Fixed typo in docstring in db/transaction.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16Added generic foreign key support to Django. Much thanks to Ian Holsman and Jacob Kaplan-Moss
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-16Test harness actually now installs contrib apps so they can be used in tests.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16Fixed #2166 - Use "manage.py dbshell" as the portable way to pipe commands toMalcolm Tredinnick
the database. Thanks Paolo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-15Fixed the detection of when a custom manager is required because an 'objects'Malcolm Tredinnick
field already exists. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-15Fixed #2164 -- Create correct SQL when pk column name is not the same as theMalcolm Tredinnick
attribute name. Thanks, Russell Cloran. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2152 -- Now HTML-escaping user.first_name in admin/base.html templateAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed 1378 -- Added svn:ignore for .pyc files in django/conf/urls/.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2153 -- display debugging template even if no stack frame is found.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2141 -- corrected indentation problems in a couple of the code fragments.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2143 -- Changed a few places where the pre-magic-removal-merge syntaxMalcolm Tredinnick
was still being used in the docs. Thanks to mssnlayam@yahoo.com for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-13Fixed #2148 -- Now escaping ForeignKey fields correctly in Django admin ↵Adrian Holovaty
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-13Fixed #2147: file uploads within the update_object generic view now works. ↵Jacob Kaplan-Moss
Thanks, parlar. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12Fixed #2139 -- Changed Redirect repr to strAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12fixed #2128: updated BiDi supportGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12fixed #2113: fixed 'pl' translation of date formatsGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12fixed #2018: updated 'sk' translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12Fixed the empty model saving case so that it retrieves the primary key id. AlsoMalcolm Tredinnick
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-11Fixed #2127 -- Made datetime filters fail silently when passed empty strings orMalcolm Tredinnick
None. Thanks, Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Tests to avoid regressions for ticket #2108. See also r3115.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2108 -- allow saving of empty models, rather than just dropping them.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2106 -- Made collapse-block JavaScript translatable. Thanks, ramiroAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2109 -- Convert old-style classes to new-style classes throughout ↵Adrian Holovaty
Django. Thanks, Nicola Larosa git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Added django.template.Token.split_contents() and used it to add support for ↵Adrian Holovaty
strings with spaces in {% ifchanged %} git-svn-id: http://code.djangoproject.com/svn/django/trunk@3112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Changed django.utils.text.smart_split to return strings, not tuplesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2116 -- Added ul_class parameter to CheckboxSelectMultipleField. ↵Adrian Holovaty
Thanks, Jorge Gajon git-svn-id: http://code.djangoproject.com/svn/django/trunk@3110 bcc190cf-cafb-0310-a4f2-bffc1f526a37