Claude Paroz
fb3d916c20
Fixed #18751 -- Cleaned up BaseFormSet._should_delete_form
...
We can do that now that cleaned_data is guaranteed to be
present. Related to [121fd109
].
Thanks Simon Charette for his work on the ticket.
2012-08-30 15:51:13 +02:00
Claude Paroz
ae88e73fa6
Replaced some smart_xxx by force_xxx equivalent
...
smart_str/smart_text should only be used when a potential lazy
string should be preserved in the result of the function call.
2012-08-30 15:46:16 +02:00
Tim Graham
36df198e4b
Fixed #18647 - Removed link to Malcolm's blog which is gone.
2012-08-30 07:44:41 -04:00
Tim Graham
141e6cd2ac
Fixed #18871 - Fixed typo in multi-db docs.
2012-08-30 06:45:11 -04:00
Aymeric Augustin
723c9a8c6d
[py3] Ported the 'shell' management command.
...
The user module and the execfile function were removed in Python 3.
Thanks Linovia for the report.
2012-08-29 23:44:12 +02:00
Bruno Renié
adbdb18adc
Fixed #18874 -- Updated new name of README.rst to auxiliary files
2012-08-29 21:25:02 +02:00
Claude Paroz
4e70ad11d2
Made FileSystemStorage accept both text and byte streams
...
Thanks Alexey Boriskin for his help on the patch.
2012-08-29 16:37:37 +02:00
Claude Paroz
b5240d25c1
Removed unnecessary bytes prefix for ContentFile
2012-08-29 11:32:18 +02:00
Claude Paroz
361d6738f8
Fixed #11739 -- Made ContentFile support Unicode input
2012-08-29 11:21:33 +02:00
Claude Paroz
ebc773ada3
Replaced many smart_bytes by force_bytes
...
In all those occurrences, we didn't care about preserving the
lazy status of the strings, but we really wanted to obtain a
real bytestring.
2012-08-29 11:20:32 +02:00
Florian Apolloner
9eafb6592e
[py3] Fixed test failures introduced in 3afb5916b2
.
2012-08-29 00:04:34 +02:00
Florian Apolloner
3afb5916b2
Fixed #18091 -- Non-ASCII templates break `django-admin.py startproject --template=TEMPLATE`.
...
Thanks to Claude Huchet and Tomáš Ehrlich for the patch.
2012-08-28 23:23:07 +02:00
Aymeric Augustin
20012b961e
[py3] Updated bundled version of six
2012-08-28 23:20:55 +02:00
Florian Apolloner
e98eff836d
Added latex preamble for ≤.
...
Thanks to bnomis for the report and yajogo for the initial patch.
2012-08-28 22:45:51 +02:00
Florian Apolloner
3f6a1f430a
Merge pull request #309 from mitar/patch-1
...
Code comment fix.
2012-08-28 13:20:59 -07:00
Mitar
b2ffa2ea90
Code comment fix.
2012-08-26 14:28:44 -07:00
Ramiro Morales
5a9e127efc
Made model instance history admin view link not hard-coded. Refs #15294 .
2012-08-26 17:54:49 -03:00
Ramiro Morales
c73f2bd65c
Fixed typo in model fields reference docs.
2012-08-26 00:24:32 -03:00
Aymeric Augustin
28ea4d4b07
Fixed #18852 -- Restored backwards compatibility
...
in django.core.signing. Specifically, kept the same return types
(str/unicode) under Python 2. Related to [92b2dec918
].
2012-08-25 22:22:32 +02:00
Claude Paroz
62e1c5a441
Fixed #17448 -- Improved test and documented raw-sql gis query
2012-08-25 14:39:52 +02:00
Tim Graham
e6e01f619d
Updated doc for settings.MEDIA_ROOT based on what's generated by settings.py; thanks ryan-blunden.
2012-08-25 08:25:34 -04:00
Tim Graham
df7c1a13a0
Fixed #18804 - Reorganized class based views docs a bit; thanks anthonyb for the initial patch.
2012-08-25 08:13:43 -04:00
Anssi Kääriäinen
01b9c3d519
Fixed #16715 -- Fixed join promotion logic for nested nullable FKs
...
The joins for nested nullable foreign keys were often created as INNER
when they should have been OUTER joins. The reason was that only the
first join in the chain was promoted correctly. There were also issues
with select_related etc.
The basic structure for this problem was:
A -[nullable]-> B -[nonnull]-> C
And the basic problem was that the A->B join was correctly LOUTER,
the B->C join not.
The major change taken in this patch is that now if we promote a join
A->B, we will automatically promote joins B->X for all X in the query.
Also, we now make sure there aren't ever join chains like:
a LOUTER b INNER c
If the a -> b needs to be LOUTER, then the INNER at the end of the
chain will cancel the LOUTER join and we have a broken query.
Sebastian reported this problem and did also major portions of the
patch.
2012-08-25 14:14:45 +03:00
Claude Paroz
d7a2e816a1
Added a GeoDjango test with a raw query (Refs #17448 )
...
Thanks David Eklund for the initial patch.
2012-08-25 11:12:43 +02:00
Alex Gaynor
b7c3b044fc
Cleaned up the implementation of in_bulk
2012-08-24 16:08:16 -07:00
Tim Graham
e57338f2b9
Fixed #18847 - Updated for media examples to use static.example.com. Thanks Jamie Curle.
2012-08-24 08:23:50 -04:00
Karen Tracey
14924ea96b
Merge pull request #301 from carlospalol/quickfix/blog-post-typo
...
Fixed typo in docs
2012-08-24 04:28:43 -07:00
Ramiro Morales
6786b38ace
Modified docs about SpatiaLite version that doesn't need manual initial SQL file loading as per 675431dfaa
.
2012-08-23 21:18:29 -03:00
Claude Paroz
f5ea730dac
Fixed #18843 -- Replaced more special chars in column names (inspectdb)
...
Thanks airstrike for the report.
2012-08-23 22:59:45 +02:00
Claude Paroz
395c6083af
Fixed #12460 -- Improved inspectdb handling of special field names
...
Thanks mihail lukin for the report and elijahr and kgibula for their
work on the patch.
2012-08-23 21:46:57 +02:00
Carlos Palol
f200ffd701
Fixed typo in docs
2012-08-23 16:46:38 +02:00
Alexey Boriskin
10d32072af
Fixed #18798 -- Renamed conflicting test methods in i18n tests
2012-08-23 11:27:56 +02:00
Claude Paroz
44c09de555
Fixed #18678 -- HttpResponse init arguments allowed for subclasses
...
Thanks hp1337@gmail.com for the report.
2012-08-23 10:59:22 +02:00
Aymeric Augustin
03671ad7e3
Reordered imports
...
to avoid an error introduced in 5301a9d7b1
.
2012-08-23 10:24:50 +02:00
Aymeric Augustin
5301a9d7b1
[py3] Removed duplicate imports.
...
Fixed #18837 . Refs #18791 .
2012-08-23 10:16:16 +02:00
Tim Graham
e06189f7ce
Merge pull request #297 from mjjohnson/ticket_17069
...
Fixed #17069 -- Added log filter example to docs.
2012-08-22 17:36:46 -07:00
Claude Paroz
7cfe8e8fce
Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-type
...
The HTTP 1.1 spec tells that the 304 response MUST NOT contain a
message body.
Thanks aparajita for the report.
2012-08-22 20:55:24 +02:00
Claude Paroz
e2b4eddc11
Used the decorator syntax for properties in django.http
2012-08-22 20:55:24 +02:00
Simon Meers
dfe63a52ef
Revert "Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2"
...
This reverts commit 3fce0d2a91
.
2012-08-22 11:48:47 +10:00
Tim Graham
13d47c3f33
Fixed #18637 - Updated some documentation for aspects of models that are ModelForm specific, not admin specific.
...
Thanks Ben Sturmfels for the patch.
2012-08-21 17:38:16 -04:00
Tim Graham
3fd89d9903
Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if the form is invalid.
...
Thanks Ben Sturmfels for the patch.
2012-08-21 17:32:53 -04:00
Claude Paroz
4353a6163c
Fixed #18196 -- Improved loaddata error messages.
2012-08-21 21:52:25 +02:00
Anssi Kääriäinen
a193372753
Fixed #17886 -- Fixed join promotion in ORed nullable queries
...
The ORM generated a query with INNER JOIN instead of LEFT OUTER JOIN
in a somewhat complicated case. The main issue was that there was a
chain of nullable FK -> non-nullble FK, and the join promotion logic
didn't see the need to promote the non-nullable FK even if the
previous nullable FK was already promoted to LOUTER JOIN. This resulted
in a query like a LOUTER b INNER c, which incorrectly prunes results.
2012-08-21 21:23:57 +03:00
Michael Johnson
32ffcb21a0
Fixed #17069 -- Added log filter example to docs.
...
Added an example of filtering admin error emails (to exclude
UnreadablePostErrors) to the docs.
2012-08-21 09:01:11 -04:00
Claude Paroz
fd58d6c258
Merge walk and find_files in makemessages command
2012-08-21 14:43:37 +02:00
Claude Paroz
ab2f65bb7f
Removed obsolete __members__ definitions
...
This was useful for pre-Python 2.6 support. See commit c6e8e5d9
.
2012-08-21 11:20:22 +02:00
Aymeric Augustin
e89bc39935
Reverted type check added in 62954ba04c
.
...
Refs #17040 .
2012-08-21 09:00:55 +02:00
Alex Gaynor
831f2846dd
Fixed #18819 -- fixed some typos in the auth docs
2012-08-20 14:27:28 -07:00
Aymeric Augustin
62954ba04c
[py3] Fixed #17040 -- ported django.utils.crypto.constant_time_compare.
...
This is a private API; adding a type check is acceptable.
2012-08-20 22:50:49 +02:00
Aymeric Augustin
54899d810d
[py3] Fixed #18805 -- ported createsuperuser.
...
Thanks sunsesh at gmail.com for the report.
2012-08-20 22:25:41 +02:00