Gabriel Hurley
f1dd46b63d
[1.2.X] Fixed #14702 -- Added a "needsinfo" resolution to Trac, and added supporting documentation on the new resolution and closing tickets in general.
...
Backport of [15665] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 22:14:17 +00:00
Gabriel Hurley
a90e297f58
[1.2.X] Fixed #15492 -- Documented the `invalid_date` and `invalid_time` error keys for !SplitDateTimeField. Thanks to lode for the report.
...
Backport of [15663] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 21:18:16 +00:00
Luke Plant
e233917832
[1.2.X] Fixed #15368 - test failures due to regression with RequestContext
...
Thanks to cyberdelia for the reports on this.
Backport of [15660] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 00:28:53 +00:00
Russell Keith-Magee
120d01c20b
[1.2.X] Fixed #10918 -- Ensure that the search widget on a raw_id_admin uses the right field name when the ForeignKey has a to_field definition. Thanks to David Cramer for the report, Collin Anderson for the fix, and Julien Phalip for the test.
...
Backport of r15657 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-26 12:49:15 +00:00
Russell Keith-Magee
3a31023783
[1.2.X] Fixed #11447 -- Ensured that ForeignKey widgets in a list-editable admin changelist won't wrap split the widget. Thanks to patrick@vonautomatisch.at for the report, and Julien Phalip for the patch.
...
Backport of r15656 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-26 12:49:00 +00:00
Ramiro Morales
049b3ff8a2
[1.2.X] Fixed #15424 -- Corrected lookup of callables listed in admin inlines' `readonly_fields` by passing the right ModelAdmin (sub)class instance when instantiating inline forms admin wrappers. Also, added early validation of its elements. Thanks kmike for the report and Karen for the patch fixing the issue.
...
Backport of [15650] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-26 02:00:18 +00:00
Luke Plant
9a5ebbcac9
[1.2.X] Fixed #15493 - csrf_migration_helper.py parsing fix.
...
Thanks to 'john' for the patch.
Backport of [15647] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25 09:45:54 +00:00
Gabriel Hurley
69af5573c3
[1.2.X] Fixed #14401 -- Added a contributing howto guide for new users. Thank you to everyone who added their advice, feedback, and wisdom to the wiki article while constructing this new guide.
...
Backport of [15645] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25 02:51:16 +00:00
Russell Keith-Magee
97e81089a2
[1.2.X] Fixed #15491 -- Added a CDATA block and closed a stray tag in the comments HTML. Thanks to Jonathan Slenders for the report.
...
Backport of r15642 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25 01:08:04 +00:00
Russell Keith-Magee
5b342d7c30
[1.2.X] Fixed #15490 -- Added some missing semicolons in admin javascript. Thanks to Jonathan Slenders for the report and patch.
...
Backport of r15641 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25 01:07:49 +00:00
Jacob Kaplan-Moss
062cbfb1ec
[1.2.X] Prevented non-admin users from accessing the admin redirect shortcut.
...
If the admin shortcut view (e.g. /admin/r/<content-type>/<pk>/) is
publically-accessible, and if a public users can guess a content-type ID
(which isn't hard given that they're sequential), then the redirect view could
possibly leak data by redirecting to pages a user shouldn't "know about." So
the redirect view needs the same protection as the rest of the admin site.
Thanks to Jason Royes for pointing this out.
Backport of [15639] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-24 13:38:32 +00:00
Ramiro Morales
fa1a74ff3c
[1.2.X] Fixed #14012 (again) -- Admin app: Don't show the full user edition view after adding a user in a FK popup. Thanks dburke for reporting this regression introduced in r14628.
...
Backport of [15637] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-24 01:09:23 +00:00
Simon Meers
f87936fa89
[1.2.X] Fixed #15375 -- clarified apparent contradiction in Form Wizard documentation. Thanks to codysomerville for the report.
...
Backport of r15633 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23 09:44:40 +00:00
Russell Keith-Magee
8ed8b249ef
[1.2.X] Fixed #15371 -- Ensure that a superuser created with the createsuperuser management command with --noinput has an invalid password, not a blank password. Thanks to yishaibeeri for the report and patch.
...
Backport of r15631 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 11:35:25 +00:00
Luke Plant
e89c471ebb
[1.2.X] Removed example CSRF jQuery code from release notes, replacing with link to improved code in the CSRF docs
...
Backport of [15628] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 11:30:10 +00:00
Ramiro Morales
dc9d639c0a
[1.2.X] Fixed #13510 -- Corrected colspan of non-field-specific error messages in admin app tabular inlines so it isn't greater than the actual number of field cells. Thanks KyleMac for the report and Julien Phalip for the patch fixing the issue.
...
Backport of [15626] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 03:25:55 +00:00
Timo Graham
53663be502
[1.2.X] Fixed #15257 - Add a link about field lookups to the tutorial; thanks dwillis.
...
Backport of r15624 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 00:58:38 +00:00
Luke Plant
a6114e1a14
[1.2.X] Fixed error that was introduced in [15601] causing lots of test failures on 1.2.X
...
In 1.2.X and earlier, the test client adds the 'template' attribute to
responses, while in trunk it adds 'templates', hence the confusion.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 22:56:01 +00:00
Luke Plant
31d0f2fa29
[1.2.X] Fixed #11058 - list_display_links doesn't allow callables not defined in the model
...
Thanks to dvine for the report and julien for the patch.
Backport of [15619] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 21:20:41 +00:00
Luke Plant
25c217bc17
[1.2.X] Fixed #14835 -- Corrected a lack of indentation in the reST markup for docs/ref/contrib/admin/index.txt and reflowed the text accordingly.
...
Thanks to cogat for the report.
Backport of [14830] from trunk - approximate, because other changes have
made it very hard to do exactly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 21:04:25 +00:00
Chris Beaven
58c4aca370
Remove reference to use_l10n which snuck in from a backport from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 18:45:46 +00:00
Luke Plant
5baa06ecfe
[1.2.X] Fixed HTML error in admin when using list_editable.
...
Backport of [15616] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 18:44:42 +00:00
Luke Plant
e63db6597c
[1.2.X] Fixed #15349 - Bound FormSet produces bound empty_form
...
Thanks to hidde-jan for the report and patch.
Backport of [15614] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 16:14:04 +00:00
Luke Plant
c326ec48d8
[1.2.X] Fixed #14099 - BaseModelFormSet should use _should_delete_form
...
Thanks to kenth for the report and patch.
Backport of [15612] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 14:32:12 +00:00
Luke Plant
4df0e5ff84
[1.2.X] Fixed #11707 - limit_choices_to on a ForeignKey can render duplicate options in formfield
...
Thanks to Chris Wesseling for the report and patch.
Backport of [15607] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 14:08:06 +00:00
Russell Keith-Magee
fee8a49866
[1.2.X] Fixed #15359 -- Ensure that the -h option is always honored by django-admin.py. Thanks to teubank for the report.
...
Backport of r15605 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 14:06:28 +00:00
Russell Keith-Magee
bf4507f255
[1.2.X] Fixed #15364 -- Ensure files are closed correctly during file tests. Thanks to Mila for the report and patch.
...
Backport of r15604 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 14:06:12 +00:00
Karen Tracey
e636db1066
[1.2.X] Fixed #15362 : Added explicit deletion of file to test, needed now since files are no longer auto-deleted when a referencing object is deleted. Thanks mila.
...
r15602 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 12:40:55 +00:00
Chris Beaven
39b8a1f7ed
[1.2.X] Fix broken tests due to changes in r15591 by updating the test store_rendered_templates signal handler.
...
Backport of r15600 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 10:13:11 +00:00
Russell Keith-Magee
3db9383daf
[1.2.X] Fixed #15358 -- Renamed a test to avoid a naming collision. Thanks to mila for the report.
...
Backport of r15598 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 00:08:07 +00:00
Ramiro Morales
1d1f3632c6
[1.2.X] Fixed #14529 -- Fixed representation of model names in admin messages after model object changes when the ModelAdmin queryset() uses defer() or only(). Thanks rlaager for report and initial patch, to rasca an julien for help in tracking the problem.
...
Backport of [15596] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-20 23:19:21 +00:00
Ramiro Morales
d65ca449ac
[1.2.X] Expanded InlineModelAdmin documentation a bit. Partial backport of [14882].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-20 15:27:01 +00:00
Russell Keith-Magee
6ef2b4c2da
[1.2.X] Tweaked the changes from changeset r15580 so as to avoid introducing a backwards incompatible context change to the change_list_results template. Refs #13126 . Thanks to Sean Brant for the report.
...
Backport of r15593 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-20 13:44:37 +00:00
Chris Beaven
2377f109bc
[1.2.X] Ensure render_to_string leaves the context instance stack in the state it was originally passed in.
...
Backport of r15591 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-20 05:56:45 +00:00
Russell Keith-Magee
69a3bb5d47
[1.2.X] Fixed #9161 -- Ensure that ModelMultipleChoiceField respects to_field_name in validation. Thanks to Honza for the report, and Gregor Müllegger for the patch.
...
Backport of r15587 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 14:47:33 +00:00
Russell Keith-Magee
626ad2c9ab
[1.2.X] Fixed #11513 -- Ensure that the redirect at the end of an object change won't redirect to a page for which the user doesn't have permission. Thanks to rlaager for the report and draft patch, and to Julien Phalip for the final patch.
...
Backport of r15584 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 14:30:23 +00:00
Ramiro Morales
3202d2abbc
[1.2.X] Fixed #15327 -- Modified the Oracle test database signature method to allow for the case where TEST_USER is unspecified. Thanks to depaolim for the report.
...
Backport of [15568]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 14:22:57 +00:00
Russell Keith-Magee
909ee62563
[1.2.X] Fixed #14355 -- Ensure that help_text is displayed for readonly fields in the admin. Thanks to jester for the report, and to alexbmeng, subsume, wamberg and Julien Phalip for ther work on the patch.
...
Backport of r15582 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 12:56:25 +00:00
Russell Keith-Magee
da4dea5834
[1.2.X] Fixed #13126 -- Ensured that individual form errors are displayed when errors occur on a list-editable changelist. Thanks to slafs for the report, and to Julien Phalip for the patch.
...
Backport of r15580 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 11:52:33 +00:00
Russell Keith-Magee
c9949103df
[1.2.X] Fixed #12893 -- Added tests to validate that the right queryset is always used in model admins. Thanks to mk and Julien Phalip for their work on the patch.
...
Backport of r15578 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 08:38:53 +00:00
Russell Keith-Magee
efc4c62691
[1.2.X] Fixed #15291 -- Corrected alignment issue when actions are disabled in a ModelAdmin. Thanks to Julien Phalip for the report and patch.
...
Backport of r15573 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 08:15:20 +00:00
Russell Keith-Magee
c94804b14f
[1.2.X] Fixed #15290 -- Fixed a CSS styling issue with borders when the link item in a changelist isn't the first item in the list_display. Thanks to Julien Phalip for the report and patch.
...
Backport of r15572 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 08:15:01 +00:00
Russell Keith-Magee
10a12cd6f2
[1.2.X] Fixed #15336 -- Silenced a warning about the DATABASES transition when a database backend isn't specified. Thanks to Ivan Sagalaev for the report and patch.
...
Backport of r15571 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 08:14:44 +00:00
Russell Keith-Magee
19fa3bcebc
[1.2.X] Fixed #15292 -- Removed redundant code in admin list template tag. Thanks to Julien Phalip for the report.
...
Backport of r15570 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 08:14:28 +00:00
Carl Meyer
b9fc7809f5
[1.2.X] Fixed #15343 -- Added import of handler500 and handler404 in URLconf for contrib.auth tests, so that other configuration errors that cause test failures aren't masked by 'missing handler500' errors.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 02:49:04 +00:00
Carl Meyer
aae16079ef
[1.2.X] Fixed #15260 -- Ensured that CACHE_MIDDLEWARE_ANONYMOUS_ONLY is effective with the cache_page decorator, not only the middleware. Thanks to brodie for report and draft patch.
...
Backport of r15559 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17 05:01:42 +00:00
Carl Meyer
9ec9d2efd1
[1.2.X] Improved CACHE_MIDDLEWARE_ANONYMOUS_ONLY test.
...
Backport of r15557 from trunk. (Backported in order to simplify backport of upcoming test addition).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17 04:15:14 +00:00
Gabriel Hurley
dbe7010d47
[1.2.X] Fixed #15308 -- Sphinx/reST fixes for the Custom Model Fields docs.
...
Backport of [15447] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:26:17 +00:00
Gabriel Hurley
95a6d5a2ef
[1.2.X] Fixed #14820 -- Added more information to the generic relation docs regarding different choices for storing PK references for a GenericForeignKey. Thanks to mrmachine for the all the work on the patch.
...
Backport of [15545] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:21:27 +00:00
Gabriel Hurley
ddc9cefc21
[1.2.X] Fixed #15285 -- Corrected an erroneous import statement in the testing docs. Thanks to kamal.mustafa for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-15 21:51:27 +00:00