summaryrefslogtreecommitdiff
path: root/django/contrib
AgeCommit message (Collapse)Author
2008-10-06Fixed #8321 -- Change django.contrib.auth.models to use django.utils.hashcompatMalcolm Tredinnick
for consistency with other code. Thanks, magneto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06Fixed #5753 -- Allow createsuperuser to work in situations where thereMalcolm Tredinnick
might be a valid password database entry for the current user id. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8660 -- Small database query optimisation in User.get_profile.Malcolm Tredinnick
When calling User.get_profile(), we now tell the profile object about the related User object right away. This can save a database lookup later if something in the user profile object wants to refer to the user object. Patch from Mike Malone. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.Malcolm Tredinnick
Patch from Marc Garcia. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8963 -- Use the require_POST decorator instead of doing things ↵Malcolm Tredinnick
manually in one of the comment views. Thanks, zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9100 -- Added a missing CSS class to a submit button.Malcolm Tredinnick
Thanks, mordyovits and thejaswi_puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Add internationalisation support to the comment templates. Fixed #8868, #8905Malcolm Tredinnick
Thanks to zgoda for a patch that did most of the internationalisation part. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8803 -- Allow authenticated users without first_name/last_name values ↵Malcolm Tredinnick
set to post comments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8869 -- Fixed comments templates to be well-formed XHTML.Malcolm Tredinnick
Based on a patch from zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #8879 -- Used ungettext instead of ngettext in the comments framework.Malcolm Tredinnick
Patch from zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05Fixed #9141 -- Removed two templates from django.contrib.comments that were ↵Malcolm Tredinnick
not being used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Use correct m2m join table name in LatestCommentsFeedJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28Fixed #9203: Restore correct ordering for LatestCommentsFeedJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27Fixed #9171 -- Fixed a few places where we were assuming lists instead ofMalcolm Tredinnick
generic sequences in ModelForm structures. Patch from mrmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21Fixed #7582: Removed checks that prevented null=True ForeignKey fields from ↵Karen Tracey
being sortable in Admin. Post queryset-refactor there seems no reason to disallow this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21Fixed 8984: Only include a "Documentation" link on change password and ↵Karen Tracey
change password done pages if admin docs have been configured. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-20Added a generic "button" class to the admin styles to allow applying the ↵Wilson Miner
standard admin button styles to arbitrary elements in the future. Should have no effect on existing code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18Fixed #9129 -- Restored a force_unicode that was lost when unicode changes ↵Karen Tracey
were merged to newforms-admin. Thanks Ricardo & Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Changed a slightly suspicious usage of request.POST to request.method == 'POST'.Malcolm Tredinnick
Refs #9014 (not the root cause of that bug, but discovered whilst people were diagnosing it). git-svn-id: http://code.djangoproject.com/svn/django/trunk@9063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #9096 -- Fixed a slightly out-of-date comment.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17Fixed #8574 -- Made Sitemap a new-style classAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #8870 -- Changed django.contrib.comments templates to use lowercase ↵Adrian Holovaty
'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda git-svn-id: http://code.djangoproject.com/svn/django/trunk@9050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Changed the app-level links on the admin index page to include trailing ↵Adrian Holovaty
slashes, to be consistent with the rest of the links git-svn-id: http://code.djangoproject.com/svn/django/trunk@9048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #9083 -- Improved get_admin_log template tag so that it doesn't run a ↵Adrian Holovaty
separate SQL query for every record in the 'history' sidebar on the admin homepage. Thanks for the patch, santip git-svn-id: http://code.djangoproject.com/svn/django/trunk@9045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #9074: Added overflow: hidden to the submit-row div to clear the ↵Wilson Miner
floated contents and avoid collapsing when the Save button is all that's there. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16Fixed #8917 -- Comments are now displayed in reverse order by submit_date in ↵Wilson Miner
the admin. Thanks to arien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15Moved imports so that other tests may be imported without specifying Django ↵Justin Bronn
settings. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15Fixed #9008 -- now use the correct library path for loading the `WinDLL` ↵Justin Bronn
instance of the GDAL library. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14Fixed #8570: Corrected some code that was using 8-space tabs for some ↵Russell Keith-Magee
reason. Thanks to Manuel Saelices for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10Fixed #8957 -- Fixed incorrect error message when Admin prepopulated_fields ↵Adrian Holovaty
refers to a field that does not exist. Thanks, charmless git-svn-id: http://code.djangoproject.com/svn/django/trunk@9002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10Moved the bulk of the shortcut() function in django/views/defaults.py to a ↵Adrian Holovaty
new module, django/contrib/contenttypes/views.py. As a result, django/views/defaults.py no longer relies on django.contrib.contenttypes. Of course, the shortcut() function is still available in the former module, for backwards compatibility. See the new FutureBackwardsIncompatibleChanges wiki page. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10Fixed #8959 -- Removed redundant calls to the 'escape' template filter in ↵Adrian Holovaty
the django.contrib.comments templates. Thanks, zgoda git-svn-id: http://code.djangoproject.com/svn/django/trunk@9000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09Fixed #8881 by specifying the geometry column name; added the ↵Justin Bronn
`geom_col_name` classmethod to `GeometryColumns` for Oracle and PostGIS. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-08Fixed #7929 -- Removed some snippets of admin code that weren't doing ↵Adrian Holovaty
anything, and tightened up a few more lines. Plus, an indentation fix. Thanks, julien git-svn-id: http://code.djangoproject.com/svn/django/trunk@8985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-08Fixed #8172 -- Improved a whole bunch of contrib templates (admin, ↵Adrian Holovaty
databrowse, admindocs, etc.) to remove unnecessary 'escape' filters, given autoescaping. Also removed unnecessary {% if %} tags and shortened some {% if %}/{% else %} tags to use {% firstof %}. Thanks for the patch, benspaulding git-svn-id: http://code.djangoproject.com/svn/django/trunk@8984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed two XHTML errors pointed out by Jarek Zgoda. Refs #8855.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed a small initialisation edge-case in the raw_id_fields section of admin.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8832 -- Position the error icons on the right of the screen in the adminMalcolm Tredinnick
interface when using right-to-left languages. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8614 -- Typo fix.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8812 -- Fixed up the positioning of the "delete" link in the adminMalcolm Tredinnick
interface for right-to-left languages (Hebrew, Arabic, etc). Patch from Jannis Leidel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8669 -- Use a consistent version of create() across the board forMalcolm Tredinnick
model/field instance creation. Based on a patch from Richard Davies. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Security fix. Announcement forthcoming.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #2612: fixed display of admin `help_text` with multiple fields on the ↵Jacob Kaplan-Moss
same line. Thanks to Nathan Borror for the original patch, and jezdez for a little cleanup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8805 -- Make sure proper type coercion happens before dumping data ↵Brian Rosner
into join for limit_choices_to when building the URL parameters for the ForeignKeyRawIdWidget popup. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent ↵Brian Rosner
with the form/formset factories. Refs #8071 to make it easier to get at exclude. Thanks julien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed `GeoRSSSitemap` to no longer use both `args` and `kwargs` with ↵Justin Bronn
`urlresolvers.reverse` (no longer allowed since r8760). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Cleaned up a bunch of minor doc stuff:Jacob Kaplan-Moss
* Removed flatpages/redirects README; no other contrib apps have those. * Cleaned up top-level README to be more readable. * Removed outdated references to old docs (Fixes #8701) git-svn-id: http://code.djangoproject.com/svn/django/trunk@8857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8309: subclasses now inherit `GenericForeignKey` correctly. There's ↵Jacob Kaplan-Moss
also now an internal API so that other "virtual fields" like GFK can be inherited as well. Thanks, msaelices. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8787 -- Fixed failing admin_widgets tests. This fixes ↵Brian Rosner
ManyToManyRawIdWidget which was broken with [8823]. Thanks Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Avoid a deprecation warning when running on Python 2.6. Patch from Karen Tracey.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8841 bcc190cf-cafb-0310-a4f2-bffc1f526a37