summaryrefslogtreecommitdiff
path: root/django/contrib
AgeCommit message (Collapse)Author
2008-06-23Several Django styling fixes in the `contrib.sessions` app.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-22Fixed #7517 -- Added code to remove Sites from the site cache when they are ↵Russell Keith-Magee
deleted. Thanks to Marc Fargas for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-22Fixed #7514 -- Added code to clear the site cache on sync. This shouldn't ↵Russell Keith-Magee
have any effect on regular usage, but it does correct an error in the test suite. Thanks to Marc Fargas for the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20Added basic tests for auth.views.password_resetLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19Fixed #6812 -- Modified the formtools test case to be run order safe with ↵Russell Keith-Magee
respect to the ROOT_URLCONF setting. Thanks for the patch, james git-svn-id: http://code.djangoproject.com/svn/django/trunk@7705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18Fixed #3393: login view no longer assumes that set_test_cookie has been ↵Jacob Kaplan-Moss
called. This is mildly backwards-incompatible, but in the "now it works the way it should have all along" sense. Thanks to James and lcordier for the patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18Fixed #7554 -- Modified contrib.localflavor to make use of ugettext, rather ↵Russell Keith-Magee
than ugettext. Thanks to msaelices for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18Fixed #7429 -- Modified the Session base class a little more dictionary-like ↵Russell Keith-Magee
by adding update(), has_key(), values(), and iterator access methods. Thanks to Jeremy Dunck for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16Fixed #7347 -- Corrected docstring in IT localflavor.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16Fixed #7354 -- Fixed a Python 2.3 compatibility issue in ↵Adrian Holovaty
formtools/wizard.py. Thanks, mage git-svn-id: http://code.djangoproject.com/svn/django/trunk@7657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16Fixed #7329 -- Added list_display Admin options to FlatPage and Redirect ↵Adrian Holovaty
models. Also changed list_filter for FlatPage. Thanks for the patch, benspaulding git-svn-id: http://code.djangoproject.com/svn/django/trunk@7651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08Fixed #7394: fixed bug with syncdb and createsuperuser introduced in [7590]. ↵Jacob Kaplan-Moss
Thanks, av0000@mail.ru git-svn-id: http://code.djangoproject.com/svn/django/trunk@7598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08Fixed #7392 -- Corrected a typo in the backwards-compatibility layer to the ↵Russell Keith-Magee
new createsuperuser command. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08Fixed #5614: added 'manage.py createsuperuser'. Thanks, programmerq.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit ↵Jacob Kaplan-Moss
Upadhyay and SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-16Simplified control flow for change made in r7535Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-15Fixed bug in staff_member_required decorator for the case where users share ↵Luke Plant
an email address. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-10Removed mark_safe from the saved request path on the admin login form. This ↵Russell Keith-Magee
prevents a potential XSS attack. Formal announcement will be forthcoming. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28Fixed #3002 -- Fixed a problem with ordering by related models in the adminMalcolm Tredinnick
interface. Patch from Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27Merged the queryset-refactor branch into trunk.Malcolm Tredinnick
This is a big internal change, but mostly backwards compatible with existing code. Also adds a couple of new features. Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658 git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15Fixed #7012 -- Added a missing file for CSS backgrounds with right-to-leftMalcolm Tredinnick
languages. Thanks, Amit Ramon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15Fixed #6387 -- Updated markdown filter to handle markdown-1.7 as well asMalcolm Tredinnick
earlier versions. Patch from cogg, jedie and Dmitri Fedortchenko. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15Fixed #7017 -- Minor typo fix in a comment. Thanks FranRuiz.Malcolm Tredinnick
Also promoted the comment to a docstring and removed some extra spaces. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-13Updated the inline help text for User.is_active.Malcolm Tredinnick
Fixed #6881. Refs #7011. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29Django code styling fixes.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29Fixed #6879 -- Made string in `contrib.flatpages` translatable, thanks ↵Gary Wilson Jr
ctrochalakis. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25Fixed #6852 -- Converted the admin to use the new paginator, to remove ↵Adrian Holovaty
DeprecationWarnings. Thanks for the patch, nickefford git-svn-id: http://code.djangoproject.com/svn/django/trunk@7363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes aMalcolm Tredinnick
problem with the default on Windows). Thanks, Philippe Raoult. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19Fixed #5107: swapped in RequestContext for Context in syndication feeds. ↵Jacob Kaplan-Moss
Thanks, peter@mymart.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@7324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Added more robust processing to parameterised syndication feeds for the caseMalcolm Tredinnick
when all the "extra" URL bits are accidentally omitted. Patch from Niran Babalola <niran@niran.org>. Fixed #5855. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Added "svn:eol-style native" to every text file in the tree (*.txt, *.html,Malcolm Tredinnick
*.py, *.xml and AUTHORS, etc). Added "svn:ignore *.pyc" to some directories in tests/regressiontests/ that were previously missing it. Fixed #6545, #6801. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18Fixed corner-case bug in formtools wizard.py and preview.py, in case of a ↵Adrian Holovaty
None value -- thanks, Honza git-svn-id: http://code.djangoproject.com/svn/django/trunk@7277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17Added parse_params() hook to FormWizardAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13Fixed #3218 -- Implemented django.contrib.formtools.wizard. Thanks, Honza ↵Adrian Holovaty
and Oyvind. Note that there are no docs yet git-svn-id: http://code.djangoproject.com/svn/django/trunk@7236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-12Fixed #5570: generic foreign keys no longer do multiple lookups on the ↵Jacob Kaplan-Moss
content type. This uses the new ctype caching bit added in [7216]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-10Beefed up caching of ContentType lookups by adding ↵Jacob Kaplan-Moss
ContentType.objects.get_for_id(). This shares the same cache as get_for_model(), and thus things that do lots of ctype lookups by ID will benefit. Refs #5570. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08Fixed #5922 -- Turned `ModelBackend` authentication backend into a new-style ↵Gary Wilson Jr
class, thanks `Honza_Kral`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-25Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring ↵Gary Wilson Jr
of the function they decorate by adding a modified version of the `functools.wraps` function from Python 2.5. `wraps` has been altered to work with Django's `curry` function and with Python 2.3, which doesn't allow assignment of a function's `__name__` attribute. This fixes severaly annoyances, such as the online documentation for template filters served by the admin app. This change is backwards incompatible if, for some reason, you were relying on the name of a Django decorator instead of the function it decorates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-19Fixed #6481 -- Fixed a bunch of import problems (and some whitespace cleanups).Malcolm Tredinnick
Found by Bastian Kleineidam with help from pyflakes. Thanks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03Fixed #6109 -- Marked fieldset descriptions as safe from auto-escaping. GoodMalcolm Tredinnick
catch, SomeGuy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03Fixed #6224 -- Small doc fixed for Argentinean localflavor. Thanks, RamiroMalcolm Tredinnick
Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03Fixed #6356 -- Added a mark_safe() call that was missed in a url() method. ↵Malcolm Tredinnick
Thanks, tangerine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03Fixed #6383 -- Fixed a typo in the Irish counties list. Thanks, Jamie Quint.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31Fixed `add_domain` call to use domain attribute of `current_site` so the ↵Gary Wilson Jr
function doesn't use the string representation of `current_site`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-31Fixed #6508 -- Fixed `add_domain` function to also work with https feed ↵Gary Wilson Jr
URLs, thanks Uninen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28Fixed #6354 -- Fixed url in `django/conf/urls/shortcut.py` to work with ↵Gary Wilson Jr
non-integer primary keys (refs #2033) and made use of the URL file in the admin urls. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28Fixed #6324 -- Fixed `get()` call in `UserFlagManager.flag()`.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-28Style fixes.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13Fixed #3165 -- Really allow underscores when making a superuser, thanks ↵Gary Wilson Jr
`SmileyChris`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-01-13Fixed #6347 -- Fixed missing comma in `it_province.py` module, thanks ↵Gary Wilson Jr
Filippo Caprioli. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7017 bcc190cf-cafb-0310-a4f2-bffc1f526a37