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
Jacob Kaplan-Moss
970611827b
FIxed #7666 : use a bare queryset when accessing single related objects so that the related objects never become inaccessible.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 15:41:21 +00:00
Russell Keith-Magee
4016d5264a
Fixed #7727 -- Improved the checks for import failure when using PIL. Under PyPy, you can import the PIL module, but when you try to use it, the underlying _imaging module will not be available. Thanks to Maciej Fijalkowski (fijal) for the report and suggested fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 11:52:11 +00:00
Malcolm Tredinnick
bfcecbffd3
Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or
...
equivalents). Basically, URL resolving will only use the PATH_INFO and the
SCRIPT_NAME will be prepended by reverse() automatically. Allows for more
portable development and installation. Also exposes SCRIPT_NAME in the
HttpRequest instance.
There are a number of cases where things don't work completely transparently,
so mod_python and fastcgi users should read the relevant docs.
Fixed #285 , #1516 , #3414 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 07:57:10 +00:00
Brian Rosner
ca7ee4be17
Fixed #7858 -- Quick CSS fix for right-to-left written languages in inlines. Thanks mksoft for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 04:09:29 +00:00
Gary Wilson Jr
80ac41e2f7
Corrected typo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 03:50:40 +00:00
Malcolm Tredinnick
ee90b7cf9a
Fixed filter_horizontal and filter_vertical handling in admin so that they can
...
be lists (aren't required to be tuples). It's less error-prone to use one item
lists than one-tuples, but this caused a crash.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 21:12:36 +00:00
Brian Rosner
c2ee295f50
Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to the steps to activating the Django admin site. Thanks dacort for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 18:20:54 +00:00
Brian Rosner
effa299342
Added admin.autodiscover() to project template urls.py. It is left commented out intentionally. Thanks tome for the suggestion. Refs #7824 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 18:09:27 +00:00
Brian Rosner
a53a1ba541
Fixed #7842 -- Added a raw string identifier in project template urls.py for consistency sake. Added spaces for consistency too. Thanks yoshi.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 18:05:11 +00:00
Russell Keith-Magee
d911a64ce8
Fixed #6450 -- Improved the checking of errors when creating the directories for saved files. Thanks to henry@precheur.org for the report and patch, and vung for the excellent test case.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 12:44:41 +00:00
Russell Keith-Magee
6c4c60b14a
Fixed #7775 -- Removed some duplicated code from the admin login sequence. Thanks to Mnewman for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 11:37:20 +00:00
Russell Keith-Magee
6db9fd0116
Made the test case for doctest comparison of XML fragments a little more rigorous. Refs #7441 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 08:47:10 +00:00
Russell Keith-Magee
b58de15139
Fixed #7339 -- Added manual calls to the garbage collector. This is required for PyPy and Jython; these implementations don't use reference counting, so you can't rely on __del__ being run immediately after del is called. Thanks to Maciej Fijalkowski (fijal) and Leo Soto.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 06:32:54 +00:00
Russell Keith-Magee
2f49d18071
Fixed #7441 -- Removed some of the shortcuts in the doctest output comparators, and added a wrapper to allow comparison of xml fragments. Thanks to Leo Soto for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20 05:46:41 +00:00
Malcolm Tredinnick
55ebc2b594
Modified [7999] based on some feedback from Marty Alchin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:50:06 +00:00
Ramiro Morales
44c329e1d3
Update es_AR l10n to post nf-a merging (actually r7984).
...
Yay for first commit :).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:45:28 +00:00
Malcolm Tredinnick
e942636fbe
Added a cavaet to the use of get_FOO_filename() and get_FOO_url(). This
...
constraint has always existed, but it's very hard to fix in the current code,
so better to work around it for now.
Refs #5619
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:26:46 +00:00
Malcolm Tredinnick
5141b67a19
Reverted [7986].
...
It turns out that we need to treat filename creation/display (in
particular, the upload_to path) differently depending upon whether the value is
out of the database or provided by other code and there's no reliable way to
determine that at the moment (although some later proposed changes might alter
that). So calling get_FIELD_filename on an unsaved model with a changed file
attribute will not necessarily return the same result as after the save().
Refs #5619 . Fixed #7843 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:26:32 +00:00
Nicola Larosa
a4619944dc
it translation: updated to r7996
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 20:02:46 +00:00
Nicola Larosa
be922f1ba5
it translation: regenerated po file, now let's get to work
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:54:09 +00:00
Malcolm Tredinnick
189c704ae6
Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout
...
that, folks. :-(
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:37:55 +00:00
Malcolm Tredinnick
be36750163
Fixed #7774 -- Updated Norwegian translation from jonklo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:32:29 +00:00
Malcolm Tredinnick
ff68e85b8e
Starting to do the reverse() threading stuff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:32:18 +00:00
Malcolm Tredinnick
99bbaa0090
Allow avoidance of the Apache mod_rewrite undo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:32:12 +00:00
Malcolm Tredinnick
b653cdcfb2
First part of setting request.path correctly.
...
Still needs:
- testing
- docs changes
- some way of fixing reverse().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:32:01 +00:00
Malcolm Tredinnick
e8dd3855c1
Fixed #7761 -- Updated Georgian translation. Thanks, David Avsajanishvili.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:26:47 +00:00
Malcolm Tredinnick
8ac9cbee2f
Fixed #7763 -- Added a Romanian localflavor. Thanks, MihaiD.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 19:22:44 +00:00
Malcolm Tredinnick
795b6a1271
Fixed #7471 -- If the 400 response handler raises an exception, pass control to
...
the 500 handler (if that then raises an exception, it's just not your day).
Patch from Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 18:49:49 +00:00
Malcolm Tredinnick
344383284c
Fixed #6009 -- Added regression tests to show that uploading non-ASCII
...
filenames now works properly. Patch from Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 18:47:59 +00:00
Malcolm Tredinnick
a103786971
Fixed #5619 -- Return the same path in get_FOO_filename() before and after a
...
model is saved (i.e. make sure the upload prefix is prepended in both cases).
Patch from wreese@gmail.com . Tests from Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 18:35:11 +00:00
Malcolm Tredinnick
c09351aec6
Fixed #6965 -- Sped up the urlize and urlizetrunc filters. A nice patch from Andrew Badr.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 18:05:22 +00:00
Brian Rosner
67eeb72e26
Fixed #7838 -- Corrected an invalid class name the 'classes' usage in the tutorial. Thanks kratorius for catching this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 15:51:48 +00:00