1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
Commit Graph

13334 Commits

Author SHA1 Message Date
Tim Graham
f7142b6111 Fixed #9920 - Clarfied empty string vs. localhost in settings database host.
Thanks chromano for the draft patch.
2012-09-01 09:03:05 -04:00
Tim Graham
e376558ed2 Fixed #16936 - Updated javascript for CSRF protection.
Thanks Idan Gazit for the patch.
2012-09-01 06:03:01 -04:00
Tim Graham
f99ecaff06 Fixed #18642 - Added a note suggesting the use of render() rather than render_to_response() if you need RequestContext in your template. 2012-08-31 20:24:33 -04:00
Chris Streeter
fef641d164 Clarify some of the password reset docs
Some of the wording was copied from the change password section. Updated
the text to clarify that the we are talking about password resets.
2012-08-31 16:13:50 -07:00
Tim Graham
70896386ec Fixed #16309 - Made ModelAdmin.list_filter versionchanged annotations more specific to the sections that changed; thanks akaihola for the suggestion and patch. 2012-08-31 18:01:02 -04:00
Claude Paroz
44f541ab47 Added 1.4.1 and 1.3.2 release notes 2012-08-31 20:35:50 +02:00
Tim Graham
7235cc7685 Fixed #14556 - Documented how to use flatpages in URLconf; thanks Claude Paroz for the draft patch. 2012-08-31 08:14:45 -04:00
Florian Apolloner
785980d30e Merge pull request #310 from juanpex/master
fix documentation testing of Selenium WebDriverWait
2012-08-31 04:59:59 -07:00
Florian Apolloner
fc81854934 Merge pull request #311 from gutworth/py3-doc
Indexing bytes is the problem not slicing.
2012-08-31 04:56:42 -07:00
Florian Apolloner
d05eee0119 Merge pull request #313 from davidfischer/master
Fix comment typo
2012-08-31 03:03:43 -07:00
Alex Gaynor
17d57275f9 Fixed #18883 -- added a missing self parameter in the docs 2012-08-30 19:19:11 -07:00
Tim Graham
f698b973ea Fixed #18384 - Reformatted GeoDjango install instructions slightly. 2012-08-30 16:16:28 -04:00
Claude Paroz
a9a773ff38 Made get_table_description also return the size of char fields on SQLite 2012-08-30 19:36:05 +02:00
Claude Paroz
879b245baa Fixed #5725 -- Fixed varchar column size introspection for MySQL
Thanks ferdonline for the initial patch and Karen Tracey for the
related post on django-users.
2012-08-30 19:28:13 +02:00
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
David Fischer
06b1dedae5 Fixed comment typo 2012-08-29 17:09:47 -07: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
Benjamin Peterson
c87b08d2a1 Indexing bytes is the problem not slicing. 2012-08-28 20:46:42 -04: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
juanpex
bfa3d5af34 fix documentation testing of Selenium WebDriverWait
According to the documentation of Selenium, WebDriverWait class has no timeout parameter and using the code fails.

http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html#until%28com.google.common.base.Predicate%29
2012-08-27 21:04:20 -03: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