Tim Graham
14172cf442
Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept.
2017-07-27 08:42:01 -04:00
Michiel Beijen
5e8625ba64
Renamed "Mac OS X" to "macOS" in docs.
2017-04-24 20:16:09 -04:00
Claude Paroz
6585ebebaa
Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758 .
2017-03-27 12:53:03 -04:00
Tim Graham
397b3705c5
Removed settings.TEMPLATES upgrade guide.
2017-01-17 20:52:05 -05:00
Henry Dang
9c2e1ad6a5
Fixed #27400 -- Documented {% static %} encoding change in 1.10.
2016-10-31 16:07:00 -04:00
Jon Dufresne
c74378bb77
Fixed #27299 -- Documented the Widget.use_required_attribute() method.
...
Thanks Tim Graham for the review and edits.
2016-10-26 19:29:16 -07:00
Shai Berger
c93ac9cf42
Refs #25850 , #27142 , #27110 -- Documented migration history consistency checks.
2016-09-01 18:49:10 -04:00
Tim Graham
3c20aa49d7
Fixed #26986 -- Documented force_login() delegation to auth backends.
2016-08-05 10:52:30 -04:00
Tim Graham
f4b1f972dc
Fixed #26999 -- Documented model_to_dict() ManyToManyField change in 1.10.
2016-08-03 08:49:47 -04:00
Tim Graham
54afa960d1
Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility.
...
Thanks marktranchant for the report and review.
2016-08-02 11:01:08 -04:00
Tim Graham
95b47c009b
Added release dates for 1.10 and 1.9.9
2016-08-01 13:55:08 -04:00
Tim Graham
ec4a6b33a9
Fixed #26946 -- Clarified instructions for customizing collectstatic's ignore_patterns.
2016-07-25 10:05:40 -04:00
Markus Holtermann
e69091b34a
Refs #25232 -- Documented AllowAll*Backend in "new features" section of 1.10 release notes.
2016-07-25 09:09:54 -04:00
Tim Graham
944e66cb1d
Reverted "Fixed #25388 -- Added an option to allow disabling of migrations during test database creation"
...
This reverts commit 157d7f1f1d
since it
disables migrations all the time, not just during tests.
2016-07-14 09:21:28 -04:00
Tim Graham
ee2f0f311a
Linked "Features removed" release notes to corresponding deprecation notes.
2016-07-11 15:22:32 -04:00
Julien Hartmann
f4afb85d7e
Fixed #26749 -- Preserved behavior of use_for_related_field during deprecation.
2016-07-11 13:30:44 -04:00
Tim Graham
39805686b3
Refs #21379 , #26719 -- Moved username normalization to AbstractBaseUser.
...
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
2016-06-21 16:19:37 -04:00
Tim Graham
20d1cb33c2
Fixed #26787 -- Documented deleting and reloading of model instance fields.
...
Thanks Julien Hartmann for the report.
2016-06-21 14:39:17 -04:00
Tom Christie
da22079c21
Linked to upgrade guide from release notes.
2016-06-06 07:28:55 -04:00
jrabbit
d65e2899b2
Fixes #26700 -- Added how to upgrade to TEMPLATES link in 1.10 release notes.
2016-06-02 20:27:33 -04:00
Tim Graham
149ace94df
Updated release notes links to prevent warnings with Sphinx 1.4.2.
2016-06-02 11:41:49 -04:00
Tim Graham
0e7e47b5d7
Fixed #26652 -- Documented removal of model instance _(default/base)_manager attributes.
2016-05-27 10:36:16 -04:00
Tim Graham
0eac5535f7
Removed unused sections in 1.10 release notes.
2016-05-19 11:49:15 -04:00
Shai Berger
5112e65ef2
Fixed #20869 -- made CSRF tokens change every request by salt-encrypting them
...
Note that the cookie is not changed every request, just the token retrieved
by the `get_token()` method (used also by the `{% csrf_token %}` tag).
While at it, made token validation strict: Where, before, any length was
accepted and non-ASCII chars were ignored, we now treat anything other than
`[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for
backwards-compatibility, are accepted and replaced by 64-char ones).
Thanks Trac user patrys for reporting, github user adambrenecki
for initial patch, Tim Graham for help, and Curtis Maloney,
Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne
for reviews.
2016-05-19 05:02:19 +03:00
Josh Smeaton
2a4af0ea43
Fixed #25774 -- Refactor datetime expressions into public API
2016-05-18 20:14:58 +10:00
Tim Graham
ece4d24f8e
Refs #26601 -- Deprecated old-style middleware.
2016-05-17 07:22:26 -04:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
c999c8d8f6
Updated admin's jQuery to 2.2.3.
2016-05-17 07:20:06 -04:00
Loïc Bistuer
ed0ff913c6
Fixed #10506 , #13793 , #14891 , #25201 -- Introduced new APIs to specify models' default and base managers.
...
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932 , #25897 .
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
Claude Paroz
526575c641
Fixed #21379 -- Created auth-specific username validators
...
Thanks Tim Graham for the review.
2016-05-16 19:37:57 +02:00
Aron Podrigal
85ef98dc6e
Fixed #24305 -- Allowed overriding fields on abstract models.
...
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
2016-05-16 07:32:21 -04:00
Simon Charette
f937c9ec97
Fixed #24100 -- Made the migration signals dispatch its plan and apps.
...
Thanks Markus for your contribution and Tim for your review.
2016-05-15 19:51:15 -04:00
Matthew Somerville
1962a96a30
Fixed #24938 -- Added PostgreSQL trigram support.
2016-05-13 12:38:21 -04:00
Andre Cruz
929684d6ee
Fixed #21231 -- Enforced a max size for GET/POST values read into memory.
...
Thanks Tom Christie for review.
2016-05-12 10:17:52 -04:00
Tim Graham
2f0e0eee45
Fixed #24046 -- Deprecated the "escape" half of utils.safestring.
2016-05-10 12:46:47 -04:00
Claude Paroz
c3e1086949
Stopped truncating AdminEmailHandler message subjects
...
Refs #26572 , #17281 . The RFC doesn't limit total length, just the line length
which is already taken care of by Python itself.
Thanks Tim Graham for the review.
2016-05-10 18:17:43 +02:00
Vitaly Bogomolov
aec4f97555
Fixed #26402 -- Added relative path support in include/extends template tags.
2016-05-07 16:21:57 -04:00
Daniel Wiesmann
bbfad84dd9
Fixed #25588 -- Added spatial lookups to RasterField.
...
Thanks Tim Graham for the review.
2016-05-06 09:17:18 -04:00
Claude Paroz
388bb5bd9a
Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()
...
Thanks Tim Graham for completing the initial patch.
2016-05-04 20:02:01 +02:00
Michal Petrucha
8a47ba679d
Refs #16508 -- Made Model.__init__() aware of virtual fields.
...
It's no longer necessary for GenericForeignKey (and any other virtual fields)
to intercept the field's values using the pre_init signal.
2016-05-03 09:06:26 -04:00
Cristiano
914c72be2a
Fixed #26058 -- Delegated os.path bits of FileField's filename generation to the Storage.
2016-04-30 17:22:40 -04:00
Anssi Kääriäinen
7f51876f99
Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading.
2016-04-29 13:06:32 -04:00
Tim Graham
bb0b4b705b
Fixed #26052 -- Moved conditional_content_removal() processing to the test client.
2016-04-25 07:56:07 -04:00
Tim Graham
859eeaa0f0
Fixed #26533 -- Renamed Widget._format_value() to format_value().
2016-04-23 13:15:45 -04:00
Tim Graham
87338198e9
Fixed #26320 -- Deprecated implicit OneToOnField parent_link.
2016-04-22 12:59:41 -04:00
Marc Tamlyn
2d877da855
Refs #3254 -- Added full text search to contrib.postgres.
...
Adds a reasonably feature complete implementation of full text search
using the built in PostgreSQL engine. It uses public APIs from
Expression and Lookup.
With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel
and many others for their advice and review. Particular thanks also go
to the supporters of the contrib.postgres kickstarter.
2016-04-22 10:44:37 +01:00
Jon Dufresne
ec6121693f
Fixed #22383 -- Added support for HTML5 required attribute on required form fields.
2016-04-21 19:16:38 -04:00
Markus Amalthea Magnuson
08cd6a0e56
Fixed #16327 -- Redirected "Save as new" to change view instead of the changelist.
2016-04-20 11:31:44 -04:00
Jon Dufresne
500e5a6886
Fixed #26516 -- Added minlength attribute when forms.CharField.min_length is set.
2016-04-19 08:54:27 -04:00
Claude Paroz
9686c888d6
Fixed #25951 -- Trimmed default representation of GEOSGeometry
...
Thanks Sergey Fedoseev for the report.
2016-04-17 15:31:12 +02:00