Commit Graph

6451 Commits

Author SHA1 Message Date
Russell Keith-Magee f2986d89b9 [1.0.X] Fixed -- Added a to_python handler for FloatField to ensure correct typing of deserialized data before saving. Underlying problem is analogous to , fixed in [8515]. Thanks to David Larlet <larlet@gmail.com> for the report and fix.
Backport of r9695 and r9696 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 04:59:05 +00:00
Justin Bronn 94b83db499 [1.0.X] Fixed `check_geom` and `check_srs` to accept larger sized pointer addresses as returned by some platforms (including OpenBSD 4.4 and Fedora 8).
Backport of r9693 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-03 01:42:56 +00:00
Karen Tracey 1f2e21ba07 [1.0.X] Update svnmerge metadata -- all bugfix changesets from trunk have been merged to 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-30 15:27:09 +00:00
Karen Tracey fadccc6494 [1.0.X] Block changeset relating to CSS refactor from svnmerge to 1.0.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-30 15:22:04 +00:00
Justin Bronn d2c9c1261a [1.0.X] Fixed -- `LayerMapping` now works with MySQL spatial backends.
Backport of r9688 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 20:07:36 +00:00
Justin Bronn 04ce539ad2 [1.0.X] Fixed -- support additional binary packages for GEOS & GDAL libs on OSX & Ubuntu platforms.
Backport of r9686 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 16:04:48 +00:00
Adrian Holovaty fd9ddb2dc1 [1.0.X] Merged [9682], [9683] and [9684] from trunk. These were changes dealing with documenting and adding a helpful error message for the quirk of admin users needing 'change user' permission to add users. Refs
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-26 06:02:44 +00:00
Gary Wilson Jr 3abbb455b2 [1.0.X] Fixed -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover.
Backport of r9680 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 18:28:22 +00:00
Gary Wilson Jr 9841776ec3 [1.0.X] Fixed -- Added `alters_data = True` to `BaseModelForm.save` method, thanks dc.
Backport of r9678 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:52:57 +00:00
Gary Wilson Jr 1d37663aef [1.0.X] Fixed -- Corrected template example in model forms documentation, thanks bradmontgomery.
Backport of r9676 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:22:10 +00:00
Gary Wilson Jr 44239004db [1.0.X] Fixed -- Corrected misspelling in form validation documentation, thanks zunzun.
Backport of r9674 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 04:14:51 +00:00
Gary Wilson Jr 47de671948 [1.0.X] Fixed -- Corrected a couple uses of `formset.forms`, thanks aglzen.
Backport of r9672 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:15:03 +00:00
Gary Wilson Jr 518e19a363 [1.0.X] Fixed -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
Backport of r9670 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:03:19 +00:00
Gary Wilson Jr 6c3a98ab3a [1.0.X] Fixed -- Corrected name of storage method in files documentation.
Backport of r9668 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 23:24:34 +00:00
Malcolm Tredinnick 6dd5c855d4 [1.0.X] Changed some ReST formatting of headers (in forms/validation.txt).
Backport of r9666 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 04:19:41 +00:00
Karen Tracey 73534cd942 [1.0.X] Fixed -- Allow saving of new inline-edited objects with custom non-auto primary key fields that are not the foreign key to the parent object.
r9664 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:58:59 +00:00
Karen Tracey 26554aa6b2 [1.0.X] Fixed -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
r9662 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:23:35 +00:00
Malcolm Tredinnick 3c9aaaef34 Fixed a typo in r9652.
Backport of r9659 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-17 01:50:11 +00:00
Karen Tracey ae5c9b33d0 [1.0.X] Fixed -- Added another missing force_unicode needed in admin when running on Python 2.3. Many thanks for report & patch with test to nfg.
Also enhanced the new test to hopefully exercise all paths through the get_deleted_objects function, and fixed the errors pointed out by the beefed-up test.

r9656 and r9657 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 17:53:33 +00:00
Karen Tracey 75ea7a434a [1.0.X] Fixed -- Allowed SafeStrings to be saved to sqlite DB when running on Python 2.6.
r9654 from trunk, also updated merge metadata to reflect that all other bugfix changetsets have been merged.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 14:34:12 +00:00
Karen Tracey 8cc518a964 [1.0.X] Block r9643 (code removal) and r9646 (fix to code present only in trunk) from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 14:26:02 +00:00
Malcolm Tredinnick 01e04e90e0 [1.0.X] Fixed -- Added extra validation for VARCHAR-based fields on MySQL.
max_length > 255 and unique=True is not permitted. Based on a patch from
adamnelson.

Backport of r9470 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:49:43 +00:00
Malcolm Tredinnick 518c4ca2a8 [1.0.X] Removed one test that is only intended for PostgreSQL from the
visibility of other databases. This basically hides an annoying warning when
running the tests under MySQL.

Backport of r9469 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 06:48:15 +00:00
Malcolm Tredinnick 0a0aba5f5e [1.0.X] Fixed -- Fixed inequality checking for django.db.models.fields.file.FieldFile class.
Backport of r9647 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-16 04:54:29 +00:00
Matt Boersma aca5a5258c [1.0.X] Reformatted PL/SQL flush left so "manage.py sqlall [app] | manage.py dbshell" works with Oracle. Also some PEP8 cleanup.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-11 20:12:34 +00:00
James Bennett 0efff2c032 [1.0.X] Fixed : Since related-object selection widgets take limit_choices_to into account, the offending code is no longer necessary and can simply be removed. Was [9641] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-11 07:07:03 +00:00
Karen Tracey 08d47a16e3 [1.0.X] Fixed a small reST header glitch in docs/ref/templates/builtins.txt. This was [9529] on trunk.
Also updated svnmerge.py metadata; all non bugfix changesets from trunk have been applied to 1.0.X.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 16:13:14 +00:00
Karen Tracey 6ff50eb24c [1.0.X] Blocked two more trunk changesets that should not be merged to 1.0.X.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 15:50:42 +00:00
Karen Tracey 02b15e87d2 [1.0.X] Blocked non-bugfix changesets from svnmerge.py consideration.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 15:39:15 +00:00
James Bennett 349405009f [1.0.X] Yet another place where we claim to support 2.3 and up. Was [9635] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 01:53:02 +00:00
Luke Plant 24a1900b36 [1.0.X] Fixed : made help() work on models and improved introspection support.
Descriptors now return themselves when accessed via the class, as per standard
Python descriptors like property().

Backported from r9550 and also r9562 and r9563


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 00:14:56 +00:00
James Bennett c9a6c06de8 [1.0.X] Another place where we talked about Python versions. Was [9632] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 23:06:45 +00:00
James Bennett 1a12506846 [1.0.X] Clarify install docs to point at new FAQ items about Python 3.0. Was [9360] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:49:16 +00:00
James Bennett 707d144c30 [1.0.X] Fixed ; clarified install docs and FAQ to explain that Django does not yet work with Python 3.0. Was [9628] in trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:42:10 +00:00
Malcolm Tredinnick 4aaa15e812 [1.0.X] Documented how to handle '%' characters in redirect_to() URL strings
(even in the absence of keyword arguments). Fixed .

Backport of r9626 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:35:34 +00:00
Malcolm Tredinnick 2e4336b659 [1.0.X] Fixed -- Typo fix.
Backport of r9622 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:32 +00:00
Malcolm Tredinnick bc2cc6eb09 [1.0.X] Fixed -- Fixed a couple of broken links and pointed them to a more
appropriate section. Thanks, Ramiro Morales.

Backport of r9621 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 07:18:02 +00:00
Malcolm Tredinnick 8611522898 [1.0.X] Fixed -- Fixed an oversight from r9601 and allow direct attribute
lookup in the serializable_value() method. This means that abstract
parents that are multi-table children of other models(no, really!!) now
work again.

Backport of r9618 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 06:51:23 +00:00
Adrian Holovaty 3988cb2d27 [1.0.X] Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words. Backport of [9616]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:20:54 +00:00
Brian Rosner 7edf9149d7 [1.0.X] Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
Backport of r9614 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:36:25 +00:00
Matt Boersma 1a3a03c5f0 [1.0.X] Fixed obscure Oracle quoting issues pointed out by the custom_columns_regress test case.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 18:37:08 +00:00
Karen Tracey a9c5bf106c [1.0.X] In the release process doc, clarify that the original committer is responsible for backporting trunk fixes to the bug-fix branch.
r9610 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:18:50 +00:00
Karen Tracey 8c71c6607a [1.0.X] Block non-bugfix changesets from svnmerge.py consideration. This includes changes related to loading compressed fixtures, for's new empty clause, CSRF enhancements, iterating over hidden fields in forms, and a new argument to simple.redirect_to().
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 17:01:17 +00:00
Justin Bronn 067361b9c5 [1.0.X] Fixed a Python 2.4 incompatibility in `compress_kml`.
Backport of r9607 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:52:39 +00:00
Justin Bronn 974135fc7e [1.0.X] Fixed -- now explicitly set response type on C functions that return WKB and WKT.
Backport of r9605 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:34:28 +00:00
Malcolm Tredinnick 4dcff3e684 [1.0.X] The second part of fixing "related inherited models" display. Handle raw_id values for child models in the admin. Fixed .
I couldn't think of a way to test this automatically and robustly, however,
manual testing with the ticket example shows failure before and success
afterwards and the fix make sense logically.

Backport of r9602 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:24:32 +00:00
Malcolm Tredinnick bffb457862 [1.0.X] The first step in fixing a group of problems related to outputting a
proper "value" for a field that is a relation to another model.

This part adds the utility method on Model that should help in general.Also
cleans up the slightly ugly mess from r8957.

Backport of r9601 from trunk (the second piece of this patch is a bugfix, not
just a tidy-up. It looks like it might be possible to have to_field setups that
make the existing code fail and that's only hidden by the fact that inherited
models with to_field relations to the parent fail for other reasons right now).


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:23:52 +00:00
Gary Wilson Jr 85e1d876c0 [1.0.X] Fixed -- Added missing close paragraph tag to password reset confirmation template, thanks casseen.
Backport of r9599 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:42:39 +00:00
Gary Wilson Jr 3c4c1adefb [1.0.X] Fixed -- Added missing import to URLconf example, thanks shacker.
Backport of r9597 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:36:53 +00:00
Gary Wilson Jr 89f2a5892d [1.0.X] Fixed -- Removed a reference to oldforms FormWrapper? object in the user authentication docs.
Backport of r9595 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:29:43 +00:00