Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Raphael Michel
39937de7e6
Fixed #24929 -- Allowed permission_required decorator to take any iterable
2015-06-08 13:44:39 -04:00
Marissa Zhou
8b1f39a727
Fixed #24796 -- Added a hint on placement of SecurityMiddleware in MIDDLEWARE_CLASSES.
...
Also moved it in the project template.
2015-06-08 12:32:38 -04:00
Alasdair Nicol
1f5b067710
Fixed #24952 -- Fixed example SQL in Func() expressions docs
2015-06-08 15:14:15 +01:00
Trey Hunner
788071e22d
Moved jQuery to a vendor/jquery subdirectory.
2015-06-07 22:23:42 +02:00
Erik Romijn
1daae25bdc
Fixed #16860 -- Added password validation to django.contrib.auth.
2015-06-07 19:31:20 +02:00
David Bannon
f4416b1a8b
Fixed #24915 -- Added stricter session key validation
...
Changed _session_key attribute to a property and implemented basic
validation in the setter. The session key must be 'truthy' and
at least 8 characters long. Otherwise, the value is set to None.
2015-06-06 20:04:20 -04:00
Sergei Maertens
eaf4d8c0d8
Fixed #24922 -- Added system check for templates setting
...
If `'loaders'` is present in the `TEMPLATES` options together with
`APP_DIRS` set to `True`, the template engine raises an exception. This
conflict is now detected by the system check templates.E001.
2015-06-06 19:40:26 -04:00
Marten Kenbeek
bc77eb6d08
Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces.
...
Set ResolverMatch.app_name to the full path of nested application
namespaces.
2015-06-06 10:44:43 -04:00
Alasdair Nicol
1ea87c8c79
Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDs
...
Clarified docs to say that a non-unique USERNAME_FIELD is permissable
as long as the custom auth backend can support it.
2015-06-06 09:33:02 -04:00
Matthew Somerville
a391b17ad2
Fixed #23516 -- Added caching of include tag Template objects
...
This also speeds up for loops that render the same template
multiple times.
2015-06-06 09:25:11 -04:00
Andriy Sokolovskiy
08232ef84d
Fixed #24744 - Fixed relabeled_clone for the Transform
2015-06-06 09:04:53 -04:00
Mark Henwood
dee1bcd08a
Fixed #24882 -- Documented Migration.run_before
2015-06-06 09:00:04 -04:00
Marc Tamlyn
d58816bd6b
Merge pull request #4818 from dracos/24937-ranging-to-victory
...
Fixed #24937 -- fix serialization of Date(Time)RangeField.
2015-06-06 13:41:00 +01:00
Markus Amalthea Magnuson
3fd754f12d
Fixed #24907 -- Updated contributing tutorial with a more recent example ticket.
2015-06-06 08:36:50 -04:00
Matthew Somerville
2926559cce
Fixed #24937 -- fix serialization of Date(Time)RangeField.
...
Use the DjangoJSONEncoder so that datetime and date are encoded
appropriately.
2015-06-05 22:01:42 +01:00
Mark Lavin
541f4ea546
Fixed #24924 -- Join promotion for multiple Case expressions
2015-06-05 12:22:43 -04:00
Tim Graham
6b41834855
Minor edits to Greatest/Least docs; refs #24767 .
2015-06-05 11:40:10 -04:00
Andriy Sokolovskiy
286d0e6ab1
Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()."
...
Partial forwardport of 469f1e362b
from stable/1.8.x
as the issue was already fixed in master.
2015-06-05 11:21:31 -04:00
Yamila Moreno
cbe4efcbc1
Fixed #22571 -- Added clarification about auto_now_add=True
2015-06-05 09:56:02 -04:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Russell Keith-Magee
5c35b4a8c9
Added release notes for feature added in fe21fb81
2015-06-05 11:42:58 +01:00
Ian Foote
14dead04ac
Fixed #24925 -- Document using Coalesce on MySQL
...
Add warning for using Coalesce with python values on MySQL and document
workaround.
2015-06-05 11:18:58 +01:00
Ian Foote
4ab53a558a
Fixed #24767 -- Added Greatest and Least expressions
...
Greatest and Least are row-level Function versions of Min and Max.
2015-06-05 11:15:33 +01:00
Russell Keith-Magee
fe21fb810a
Merge pull request #4757 from sergei-maertens/ticket_18166
...
Fixed #18166 -- Added ability to pass kwargs to the form constructor in a formset.
2015-06-05 11:10:28 +01:00
Yamila Moreno
f954c51720
Fixed #24926 -- Removed outdated information from deployment
2015-06-05 12:03:29 +02:00
Matthew Somerville
2dc93bb10a
Fixed #22316 -- Added time filters to TimeField on SQLite.
...
This was implemented for non-SQLite backends in 1.7 (as a
side effect of #16187 ).
2015-06-04 22:27:13 -04:00
Raphael Michel
6700c90935
Fixed #19210 -- Added leap year support to django.utils.timesince()
2015-06-04 21:36:12 -04:00
Loek van Gent
0207bdd2d4
Fixed #24474 -- Allowed configuring the admin's empty change list value.
2015-06-04 21:06:26 -04:00
Matthew Somerville
40f0a84cb1
Fixed #24159 -- Made compilemessages run across all apps.
...
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Marc Tamlyn
7bda2d8ebc
Fixed #24837 -- field__contained_by=Range
...
Provide `contained_by` lookups for the equivalent single valued fields
related to the range field types. This acts as the opposite direction to
rangefield__contains.
With thanks to schinckel for the idea and initial tests.
2015-06-04 19:29:59 +01:00
Alasdair Nicol
5c98223f39
Fixed #24191 -- Documented Form.changed_data
...
Thanks rhertzog and Björn Påhlsson for the suggestion.
2015-06-04 13:51:26 -04:00
Raphael Michel
5c125f63f7
Fixed #24728 -- Renamed mime_type to content_type for syndication feeds
...
Renamed the mime_type properties of RssFeed and Atom1Feed to
content_type and start deprecation for the old names.
2015-06-04 13:24:18 -04:00
Raphael Michel
3e9b5bfd9c
Fixed #7060 -- Added a note about race conditions to the tutorial
2015-06-04 09:40:59 -04:00
Sergei Maertens
238e2ac369
Fixed #18166 -- Added form_kwargs support to formsets.
...
By specifying form_kwargs when instantiating the formset, or overriding
the `get_form_kwargs` method on a formset class, you can pass extra
keyword arguments to the underlying `Form` instances.
Includes tests and documentation update.
2015-06-04 15:13:55 +02:00
Steadman
dfdcb3ca22
Improved wording in writing documentation docs.
2015-06-04 11:58:32 +01:00
Edin Sarajlic
40f2325df6
Added migrations directory to file structure in tutorial
2015-06-04 10:59:36 +02:00
Carl Meyer
492537ac18
Fixed #24628 -- Fixed applied status for squashed migrations.
2015-06-02 16:15:13 -06:00
Adam Chainz
23048d186c
Fixed #24866 -- Added Now() database function
2015-06-02 17:59:01 -04:00
Tomáš Ehrlich
002b3d87b5
Fixed #24230 -- Added translated language name for i18n template tag/filter.
2015-06-02 16:04:01 -04:00
Tim Graham
9ca0961b8a
Added headings to i18n template tags and filters.
2015-06-02 15:51:00 -04:00
Carl Meyer
84522c0d16
Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency.
2015-06-02 12:07:54 -06:00
zauddelig
262d4db8c4
Fixed #24897 -- Allowed using choices longer than 1 day with DurationField
2015-06-02 12:39:34 -04:00
Andriy Sokolovskiy
2913d6b77d
Fixed #24831 -- Fixed pickling queryset with prefetch_related() after deleting objects.
2015-06-02 09:54:53 -04:00
Tim Graham
e1e6399c2c
Fixed #24893 -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True
2015-06-02 09:25:47 -04:00
Tim Graham
5ab8680983
Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in PostgreSQL
2015-06-02 09:13:55 -04:00
Simeon J Morgan
0b5fb8e72c
Fixed #24896 -- Doc'd clickjacking protection doesn't overwrite X-Frame-Options header.
2015-06-02 09:01:38 -04:00
Jon Dufresne
44f3ee7716
Fixed #9596 -- Added date transform for DateTimeField.
2015-06-02 08:49:10 -04:00
Maximiliano
bf07ba523a
Simplified wording in QuerySet.update() docs.
2015-06-01 09:42:23 -04:00
Przemysław Suliga
d29ed3f355
Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite.
2015-06-01 08:53:12 -04:00
Tim Graham
c954931abd
Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query.
2015-05-31 06:24:08 -04:00
Marc Tamlyn
33ea472f69
Fixed #24604 -- Added JSONField to contrib.postgres.
2015-05-30 23:10:30 +01:00
Marc Tamlyn
74fe4428e5
Add HasAnyKeys lookup for HStoreField.
2015-05-30 21:39:45 +01:00
Curtis
c005a6620e
Optimise the rest of the PNGs in docs
2015-05-29 15:22:40 +10:00
Curtis
44eef25463
Optimise tutorial images
2015-05-29 14:56:38 +10:00
João Luiz Lorencetti
3653466bdf
Fixed #24732 -- Reordered tutorial to cover basics before bells and whistles.
2015-05-28 14:07:39 -04:00
Tim Graham
ad0f0daf8c
Fixed #24851 -- Fixed crash with reverse one-to-one relation in ModelAdmin.list_display
...
Forwardport of 2456276b02
from stable/1.8.x
2015-05-28 10:52:50 -04:00
Andriy Sokolovskiy
80ad5472ce
Fixed #24817 -- Prevented loss of null info in MySQL field renaming.
2015-05-28 10:07:52 -04:00
Paweł Marczewski
300e8baf94
Fixed #24847 -- Prevented items set on a RequestContext from being lost.
2015-05-27 10:04:57 -04:00
Tim Graham
70be31bba7
Fixed #24836 -- Made force_text() resolve lazy objects.
2015-05-27 09:48:53 -04:00
Kevin Marsh
10945ebeb8
Removed unused import in example code in docs/topics/auth/default.txt
2015-05-27 13:26:20 +01:00
I am Clinton
14f20c1fdc
Fixed typos in docs/ref/forms/widgets.txt
2015-05-26 10:47:37 -04:00
Tim Graham
f4cb350c79
Added release notes for refs #24844 .
2015-05-25 21:03:41 -04:00
Paweł Marczewski
801a84ae32
Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()
...
QuerySet.exists() incorrectly handled query.group_by = True
case (grouping by all select fields), causing GROUP BY
expressions to be wiped along with select fields.
2015-05-25 20:46:20 -04:00
Paweł Marczewski
4df7e8483b
Fixed #24788 -- Allowed Forms to specify a prefix at the class level.
2015-05-25 20:23:31 -04:00
Marten Kenbeek
d73176a842
Fixed #24848 -- Fixed ValueError for faulty migrations module.
...
Added apps to unmigrated apps if the migrations module is a file
or a folder missing __init__.py.
Thanks to Ernest0x for the bug report.
2015-05-25 13:47:50 -04:00
I am Clinton
73b5b0b4a5
Minor edits to docs/ref/forms/validation.txt
2015-05-25 13:19:21 -04:00
Villiers Strauss
614bec41b5
Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's prepare_value()
2015-05-25 12:06:55 -04:00
I am Clinton
a6b77abff7
Fixed typos in docs/ref/forms/fields.txt
2015-05-25 10:48:30 -04:00
Andy McKay
4525a0c466
Fixed #24773 -- Added a json() method on test client responses.
2015-05-25 10:42:30 -04:00
Tim Graham
46ce72e8d2
Added oss-security@lists.openwall.com to security release announcements.
2015-05-25 08:31:51 -04:00
I am Clinton
0b0bb6100d
Fixed typos in HTTP decorator docs.
2015-05-25 07:38:08 -04:00
Tim Graham
9ef2615d49
Fixed #24811 -- Added details on installing PostgreSQL extensions.
2015-05-23 15:38:30 -04:00
Alexander Sosnovskiy
04e8d890ae
Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects.
2015-05-22 13:27:16 -04:00
I am Clinton
9c8a2ab81d
Fixed mistakes in docs/topics/forms/formsets.txt examples.
2015-05-22 11:29:10 -04:00
Chris Schur
70faaccc3e
Fixed settings docs to match list/tuple changes in #24149 .
2015-05-22 09:40:55 -04:00
Tim Graham
e11a08ee15
Fixed #24839 -- Removed references to deprecated contrib.webdesign.
2015-05-22 09:39:14 -04:00
Tim Graham
00d763a4fb
Fixed typo in docs/topics/auth/default.txt
2015-05-22 06:48:59 -04:00
Laurent Peuch
21efb5eb74
Enhanced registration/login.html example template.
2015-05-21 20:45:51 -04:00
I am Clinton
32f0c8f796
Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt
2015-05-21 20:23:26 -04:00
Andrei Kulakov
fc3409b093
Fixed #24813 -- Documented {% include %} debug behavior variance
2015-05-21 19:51:41 -04:00
Tim Graham
016d8cfbe2
Removed obsolete distros@vs.openwall.org security notification.
2015-05-21 19:22:58 -04:00
garwoodpr
99ec80f84a
Cosmetic edits and minor corrections to docs/ref/django-admin.txt.
2015-05-21 19:19:57 -04:00
garwoodpr
5edf25bddd
Cosmetic edits and minor corrections to docs/ref/settings.txt.
2015-05-21 18:58:41 -04:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Tim Graham
7b8008a078
Added stub release notes for 1.8.3.
2015-05-20 14:17:59 -04:00
Tim Graham
c940940fe4
Added today's security issue to archive.
2015-05-20 14:04:56 -04:00
Tim Graham
ebe994a42c
Added release date for 1.8.2.
2015-05-20 13:48:06 -04:00
Tim Graham
088579638b
Fixed incorrect session.flush() in cached_db session backend.
...
This is a security fix; disclosure to follow shortly.
Thanks Sam Cooke for the report and draft patch.
2015-05-20 13:48:06 -04:00
Simon Charette
c15b0c2792
Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.
...
Thanks to Tim and Anssi for the review.
2015-05-20 12:50:41 -04:00
Anssi Kääriäinen
bc87061a3c
Fixed #24705 -- Fixed negated Q objects in expressions.
...
Avoided split_exclude() for Q when used as an expression.
2015-05-20 09:41:04 -04:00
latyas(懒)
8b106cfaa0
Fixed typo in docs/ref/contrib/admin/index.txt
2015-05-20 08:13:56 -04:00
Tim Graham
fb94e7b8cf
Fixed #24784 -- Fixed visibility regression in admin's FK widget.
2015-05-19 13:01:48 -04:00
I am Clinton
f3b51f5193
Made minor edits to docs/intro/tutorial01.text
2015-05-19 12:32:23 -04:00
Claude Paroz
1046c8afec
Fixed #24739 -- Documented translation fallback change
...
Refs #24503 .
2015-05-18 18:40:37 +02:00
Tim Graham
a0175724b0
Added docs for assertRaisesMessage as context manager.
2015-05-18 10:04:18 -04:00
I am Clinton
e4f0e5a981
Fixed typos in docs/ref/request-response.txt
2015-05-18 09:45:33 -04:00
Tim Graham
307acc745a
Fixed #24630 -- Clarified docs about RunPython transactions.
...
Thanks Markus Holtermann for review.
2015-05-17 18:50:18 -04:00
Tim Graham
fc1eea59c0
Fixed typo in docs/topics/http/sessions.txt
2015-05-17 18:35:14 -04:00
Aymeric Augustin
da2c6959c8
Dropped the needs_datetime_string_cast feature.
...
It has been superseded by the converter infrastructure.
2015-05-17 10:23:13 +02:00