Russell Keith-Magee
ecdd071794
Fixed #7951 -- Corrected typo in FAQ. Thanks to vulcan_eager for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 11:21:21 +00:00
Nicola Larosa
dd5194ad7e
Update to the Italian translation. No msgstr changed/added/deleted, just
...
line numbers in comments. Also fixes #7945 : thanks, garcia_marc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-25 06:13:38 +00:00
Matt Boersma
96d141dfda
Fixed Oracle backend failure in test suite for modeltests.queries. Item.objects.all()[0:0] was optimizing out the limits clause and returning all rows.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-24 20:11:37 +00:00
Jarek Zgoda
f5801e5fd1
Updated Polish translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-24 12:34:49 +00:00
Marc Garcia
466ddfa798
Updated Spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-24 11:37:45 +00:00
Brian Rosner
9237466bee
Removed a colon that was rendering the bullet-point list below it as code in docs/admin.txt.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:39:41 +00:00
Brian Rosner
4e723f9571
Fixed #7897 -- Corrected some spelling and grammatical errors in the InlineModelAdmin objects documentation. Thanks arthurk and Karen Tracey for catching these.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 22:30:25 +00:00
Jacob Kaplan-Moss
7b3cf13d32
Improved admin model registration options: you can now register using register(Model, **options) and even register(Model, ModelAdmin, **options). This isn't documented yet -- a much expanded version of docs/admin.txt is on the way.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 18:58:06 +00:00
Russell Keith-Magee
508016c0f4
Fixed #7914 -- Added some missing __init__.py files that were missed when the ping_google command was added. Thanks to bernd for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 14:15:03 +00:00
Malcolm Tredinnick
a7b556ca04
Allow for matches against unsaved objects in querysets (which will therefore
...
match nothing). This allows for some more straightforward code in the admin
interface.
Fixed #7488 (all the debugging there was done by Brian Rosner, who narrowed it
down to the item in this patch).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 06:12:15 +00:00
Brian Rosner
3912403550
Added the ability to customize the prefix value on an inline formset. Fixes #7899 . AThanks for the tip Peter of the Norse.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 04:46:31 +00:00
Malcolm Tredinnick
681e7bbd25
Removed some potentially misleading code (it isn't executed) after the changes
...
in [8055]. Thanks, Karen. Refs #7745 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 04:41:53 +00:00
Brian Rosner
9d8f41baac
Made the semi-private _max_form_count live on the public API of formsets by renaming it to max_num. This also removes the ManagementForm use of MAX_COUNT since that usage should just be referenced to the formset's max_num property. Refs #7899 . Thanks Peter of the Norse for straightening me out.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 04:28:52 +00:00
Brian Rosner
62d9e278d7
Fixed #7898 -- Moved formset media definition to a media property in InlineAdminFormSet display helper and added InlineAdminForm media at the same time. This now properly renders all media associated with the formset and its display helper children. Thanks dima.kozlov for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 03:25:41 +00:00
Russell Keith-Magee
437945146d
Fixed #7906 -- Modified admin_scripts regression test to use the same python executable that is running the test suite, rather than using 'python' on the path. Thanks to Chris Hasenpflug for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-23 03:00:50 +00:00
Malcolm Tredinnick
c5a76a3669
Fixed a bunch of Python 2.3 test failures.
...
All remaining buildbot failures on 2.3 are not due to the test suite, as far as
I can work out.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 19:48:36 +00:00
Malcolm Tredinnick
d1ea8b2842
Changed the test from [8052] so that it is insensitive to whether a database
...
sorts NULLs first or last in a sequence or results.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 18:56:50 +00:00
Malcolm Tredinnick
8745beccb1
Fixed #7813 -- Allow pickling of Query classes that use select_related().
...
Based on a patch from Justin Bronn.
The test in this patch most likely breaks on Oracle. That's another issue.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 08:23:20 +00:00
Malcolm Tredinnick
83e97ecf88
Fixed #7791 -- Fixed a really silly error I introduced in [7926]. :-(
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 07:37:09 +00:00
Malcolm Tredinnick
0e9587fd6b
Fixed the tests from [8033] to work for the PostgreSQL backends (the primary
...
key value isn't guaranteed to be the same across all backends). Still some
breakage on MySQL because of the way it treats booleans, but that's another
issue.
Refs #6755 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 05:15:40 +00:00
Malcolm Tredinnick
6ef47cfe5f
To ensure that a model BooleanField has an explicit value set (and since it's
...
not required, by default), set the default properly in the constructor.
This code can be simplified when/if we resolve the
BooleanField/NullBooleanField overlap, but the current stuff is backwards
compatible. This would previously cause SQL errors on PostgreSQL and
interesting failures in subtle ways on MySQL and SQLite.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 04:49:32 +00:00
Adrian Holovaty
c51d000c37
Fixed #7870 -- Fixed typo in docs/forms.txt. Bad form, whoever originally wrote that
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:44:48 +00:00
Adrian Holovaty
f5328f4c38
Fixed #7841 -- Fixed typo in docs/forms.txt. Thanks, msaelices
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:31:05 +00:00
Adrian Holovaty
0894ddb2bb
Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:26:25 +00:00
Adrian Holovaty
29f0e8182f
Fixed #7847 -- Removed a whole bunch of unused imports from throughout the codebase. Thanks, julien
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:24:09 +00:00
Adrian Holovaty
cf2a05952e
Fixed #7868 -- Updated FAQ 'When will you release 1.0' to have an actual, valid answer
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:10:05 +00:00
Adrian Holovaty
8bc442e771
Fixed #7304 -- Gave AnonymousUser a has_perms() method, which it was lacking
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:05:40 +00:00
Adrian Holovaty
bfcecfee91
Fixed #7814 -- Fixed a number of style inconsistencies in the docs. Thanks, uzi and programmerq
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 03:01:21 +00:00
Adrian Holovaty
ca98003390
Fixed spaces vs. tabs issue in docs/contenttypes.txt from [7976]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:57:14 +00:00
Adrian Holovaty
46c7941de3
Fixed badly worded comment in setup.py osx_install_data(). It's better but still doesn't do a good job of explaining what the heck is going on
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:51:59 +00:00
Gary Wilson Jr
459a7965dd
Changed "each" to "ease" and made several edits from Adrian.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:33:16 +00:00
Malcolm Tredinnick
cee642bcb8
Fixed a few formatting errors and typos, courtesy of the proofreaders in #django-dev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 02:02:40 +00:00
James Bennett
2ba74aeb89
1.0 alpha release notes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:27:16 +00:00
Jacob Kaplan-Moss
d3f4de9c18
Bumped version number for 1.0-alpha release.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:15:43 +00:00
Jacob Kaplan-Moss
863f4eb1d7
Fixed #6755 : model inheritance now works in the admin. Thanks, sloonz and Michael Placentra.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22 01:10:06 +00:00
Malcolm Tredinnick
c236874c48
Fixed #7871 -- Added some more bullet-proofing in PATH_INFO determination,
...
since Django would like it to at least contain a '/' (rather than being an
empty string).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 22:13:56 +00:00
Brian Rosner
1ef86fdf2b
Fixed #7869 -- Removed a reference to an inner Admin class in docs/contributing.txt. Thanks John Scott.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:39:22 +00:00
Luke Plant
384a721e1c
Fixed #7825 - modeltests/delete tests failing after NFA merge, and improved documentation of these tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:28:21 +00:00
Gary Wilson Jr
fb51608332
It's time for the "newforms" documentation to arrive:
...
* Removed the "more coming soon" section from bottom of "newforms" docs.
* Removed note on "oldforms" docs that "we have begun to document" newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:13:41 +00:00
Jacob Kaplan-Moss
3a2686a70d
Added a link to admin docs in add_ons.txt. Refs #7829 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:12:15 +00:00
Jacob Kaplan-Moss
ba6d7e1bae
Improved the bit of the tutorial that explains how to enable the admin. Fixes #7824 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:10:33 +00:00
Jacob Kaplan-Moss
f3ec0c18b1
Modified the comments in the skeleton urls.py to be more clear about how to enable the admin. Refs #7824 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:10:27 +00:00
Jacob Kaplan-Moss
882ffc0569
Fixed reST error in [8024].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:04:59 +00:00
Jacob Kaplan-Moss
f2c31535a0
Tweaked forms/oldforms docs to better represent the current state of things.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 17:00:59 +00:00
Gary Wilson Jr
8b1684e676
Corrected link to ModelForm doc.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:57:50 +00:00
Gary Wilson Jr
ce3bdc86d4
Refs #7864 -- Corrected more instances of "newforms" in the docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:56:52 +00:00
Ian Kelly
4dd242bdeb
Corrected the privileges needed to run the test suite under Oracle
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:50:04 +00:00
Gary Wilson Jr
24aa08f486
Refs #7864 -- Updates to documentation for the oldforms/newforms switch.
...
* Moved forms.txt to oldforms.txt
* Moved newforms.txt to forms.txt
* Updated links and most references to "newforms" (there are a few sections that need a more significant rewrite).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:38:54 +00:00
Jacob Kaplan-Moss
f28474547b
Fixed #7414 : fixed setup.py on OSX 10.5. Thanks, ajs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:30:32 +00:00
Brian Rosner
4f1cbaa93e
Moved RedirectAdmin in django.contrib.redirects to an admin.py module.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 16:01:05 +00:00