Henry Dang
7cddd8a02e
Fixed #27358 -- Added a system check to prevent FileField's upload_to from starting with a slash.
...
Thanks Frank Bijlsma for the initial patch.
2016-11-29 16:12:24 -05:00
Krzysztof Urbaniak
b8a815e9df
Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with prefix_default_language=False.
2016-11-29 13:06:35 -05:00
Andrew Nester
ade52ef71f
Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite.
2016-11-29 12:23:44 -05:00
Tim Graham
d7e6b8febd
Fixed typo in docs/topics/auth/customizing.txt.
2016-11-28 16:39:54 -05:00
Adam Chainz
95238a7de8
Fixed #27321 -- Added detection for table case name sensitivity on MySQL.
2016-11-28 13:29:21 -05:00
Mads Jensen
aa2cb4c622
Refs #26327 -- Renamed JsonAgg to JSONBAgg.
...
Thanks to Christian von Roques for the report.
2016-11-28 06:57:01 -05:00
Adam Chainz
6252fd6314
Fixed #27532 -- Deprecated Model._meta.has_auto_field
2016-11-25 13:24:11 -05:00
Aymeric Augustin
cb7bbf97a7
Fixed #25966 -- Made get_user_model() work at import time.
...
This makes it equivalent to: `from django.contrib.auth.models import User`.
Thanks Aymeric Augustin for the initial patch and Tim Graham for the
review.
2016-11-25 14:15:49 +01:00
Luke Murphy
c238da8942
Fixed #27509 -- Removed redundant gdal-bin dependency listing.
2016-11-25 07:19:10 -05:00
Daniel Musketa
df2a5227c9
Rephrased an ambiguous sentence in docs/topics/signals.txt.
2016-11-24 05:50:39 -05:00
Alex Scott
da4c0e8cc9
Fixed typo in docs/topics/auth/customizing.txt.
2016-11-24 05:41:21 -05:00
Tim Graham
93a081946d
Normalized casing of "custom user model".
2016-11-23 15:14:28 -05:00
Krzysztof Gogolewski
d02a03d574
Fixed #24370 -- Recommended starting with a custom user model.
2016-11-23 14:43:17 -05:00
Daniel Musketa
b5ef90192f
Fixed typo in docs/topics/signals.txt.
2016-11-23 06:54:58 -05:00
Jackie Leng
50613d957a
Fixed #26920 -- Made GEOSGeometry equality check consider the srid
2016-11-23 09:23:06 +01:00
Henry Dang
b1a9041535
Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
2016-11-22 13:49:18 -05:00
Quentin Fulsher
f62abfc03d
Fixed #27295 -- Added a system check to prohibit model names that start or end with an underscore or contain double underscores.
2016-11-22 10:14:10 -05:00
Daniel Musketa
66505b72c5
Updated doc links to virtualenv website.
2016-11-22 08:36:41 -05:00
Tim Graham
55adfc0760
Fixed #27511 -- Corrected Field.related_model docs about GenericRelation.
2016-11-21 12:30:54 -05:00
François Freitag
0783aa7deb
Refs #23811 -- Corrected git bisect run example usage.
2016-11-21 06:55:03 -05:00
Jonatas CD
b28c6ca763
Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().
2016-11-17 12:39:35 -05:00
Tim Graham
0d9ff873d9
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
...
Thanks goblinJoel for the report and feedback.
2016-11-16 17:40:37 -05:00
Sergey Fedoseev
45e01df373
Fixed #27488 -- Added SpatiaLite suppport for IsValid, MakeValid, and __isvalid.
2016-11-16 09:43:54 -05:00
Tim Graham
3ce212a23c
Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.
2016-11-16 07:28:20 -05:00
Mitchel Humpherys
ae660cde5a
Fixed incorrect word choice in docs/topics/migrations.txt.
2016-11-16 06:57:30 -05:00
Simon Charette
31a56e30cf
Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships.
...
Thanks Tim for the review.
2016-11-15 20:16:06 -05:00
akki
74ed20b49a
Replaced "django" with "Django" in spelling_wordlist.
2016-11-15 17:00:50 -05:00
Jonatas CD
9da45ff352
Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be unique.
2016-11-15 11:09:23 -05:00
Simon Charette
9e4fd3301d
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
...
Thanks IRC alias rpkilby for the report.
2016-11-15 08:25:02 -05:00
Ramin Farajpour Cami
0a63ef3f61
Fixed #27463 -- Fixed E741 flake8 warnings.
2016-11-14 17:40:28 -05:00
Claude Paroz
df3e92a41c
Documented GEOS 3.5 support
2016-11-12 17:42:12 +01:00
Claude Paroz
8c7778884b
Dropped support for GDAL 1.7 and 1.8
2016-11-12 17:28:03 +01:00
Jacob Rief
b3162cab94
Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>.
2016-11-12 10:02:57 -05:00
Jezeniel Zapanta
48f45431eb
Fixed typo in docs/topics/db/multi-db.txt.
2016-11-11 12:40:06 -05:00
Mads Jensen
1446902be4
Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.
...
Thanks to Mariusz Felisiak and Tim Graham for review.
2016-11-11 08:01:40 -05:00
Daniel Wiesmann
2dc07da497
Fixed #27421 -- Added shape, size, and offset controls to GDALRaster constructor.
...
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
Ian Lee
501c993010
Fixed typo in docs/ref/settings.txt.
2016-11-11 07:01:48 -05:00
za
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
2016-11-10 21:30:21 -05:00
Paweł Marczewski
50f9e736fa
Fixed #27438 -- Added the diffsettings --default option.
2016-11-10 07:50:49 -05:00
Joseph Kahn
373c6c409c
Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations.
2016-11-09 10:27:19 -05:00
Tim Graham
0d6c7cae7c
Inlined a note in docs/ref/models/expressions.txt.
2016-11-09 08:20:59 -05:00
Jop Reyntjes
f8fab6f902
Fixed #27414 -- Doc'd that F() expressions on relations return pk values.
2016-11-09 07:11:46 -05:00
Mariusz Felisiak
c4b04e1598
Fixed #27420 -- Quoted the Oracle test user password in queries.
2016-11-08 16:30:22 -05:00
Tim Graham
ee1bf0e8b5
Corrected release note location of BaseCommand.can_import_settings removal.
2016-11-07 14:54:21 -05:00
Maxime Lorant
cb3fb34b86
Fixed #27378 -- Added support for serialization of uuid.UUID in migrations.
...
Thanks Yuriy Korobko for the initial patch and Tobias McNulty for review.
2016-11-06 13:53:00 +01:00
Tim Graham
7301770254
Fixed typo in docs/ref/middleware.txt.
2016-11-06 13:22:08 +01:00
Krzysztof Żuraw
eaa6ea2f37
Fixed #27133 -- Doc'd how to provide initial data with migrations.
2016-11-06 12:51:36 +01:00
Tobias McNulty
d9b65f6397
Added myself to the Ops team. ( #7518 )
2016-11-06 12:07:35 +01:00
Adam Malinowski
37809b891e
Fixed #27346 -- Stopped setting the Content-Length header in ConditionalGetMiddleware.
2016-11-05 22:24:54 +01:00
Krzysztof Gogolewski
d1dbaeaadb
Adjusted documentation of migration related commands.
2016-11-05 21:56:13 +01:00
Rivo Laks
802dd1ffc5
Readded 'pytz' to spelling wordlist.
2016-11-05 13:28:42 +01:00
Aymeric Augustin
24c9cce1c9
Removed myself from the ops team.
2016-11-05 12:47:59 +01:00
Tim Graham
b741fe397a
Updated "fork Django on GitHub" link.
2016-11-04 05:47:49 +01:00
Pamela McA'Nulty
2c4d15e319
Fixed typo in docs/topics/testing/tools.txt.
2016-11-04 05:12:42 +01:00
Tim Graham
58eca7c49c
Fixed #27425 -- Removed obsolete "developers for hire" FAQ.
2016-11-03 12:42:36 +01:00
Tim Graham
b8ae2c16cf
Added CVE-2016-9013,14 to the security release archive.
2016-11-01 10:48:11 -04:00
Tim Graham
7fe2d8d940
Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
...
This is a security fix.
2016-11-01 09:30:57 -04:00
Marti Raudsepp
da7910d483
Fixed CVE-2016-9013 -- Generated a random database user password when running tests on Oracle.
...
This is a security fix.
2016-11-01 09:30:57 -04:00
Tim Graham
9e9c81d3c2
Added stub release notes for 1.9.11/1.8.16.
2016-11-01 09:30:57 -04:00
Andrew Nester
1ce04bcce0
Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with SuspiciousOperation.
2016-11-01 07:15:56 -04:00
Henry Dang
9c2e1ad6a5
Fixed #27400 -- Documented {% static %} encoding change in 1.10.
2016-10-31 16:07:00 -04:00
Timothy Allen
5595db9504
Updated docs/topics/db/queries.txt examples to use print() function.
2016-10-31 15:22:32 -04:00
Tim Graham
de91c172cf
Fixed #27410 -- Clarified when static files is enabled in STATIC_ROOT docs.
2016-10-31 15:17:40 -04:00
Mariusz Felisiak
55993d1e4e
Updated Oracle docs links to Oracle 12c.
2016-10-31 14:32:50 -04:00
Krzysztof Urbaniak
a01d887a3a
Fixed #27063 -- Prevented i18n_patterns() from using too much of the URL as the language.
2016-10-31 14:32:01 -04:00
Anssi Kääriäinen
9513903086
Updated by bio.
2016-10-31 09:55:48 -04:00
medmunds
d3708aeb26
Fixed #27382 -- Doc'd that ugettext_lazy() should be converted to text for non-Django code.
2016-10-29 07:23:57 -04:00
Michael Scott
ec9ed07488
Fixed #27188 -- Allowed using unique=True with FileField.
...
Thanks Tim Graham for the initial patch.
2016-10-28 20:11:03 -04:00
Aymeric Augustin
625cd5bcb3
Added require_ready argument to get_model methods.
...
This allows bringing back the behavior of Django < 1.7.
Also fixed the check for the app registry being ready in
AppConfig.get_model(s), which was inconsistent with the equivalent check in
Apps.get_model(s). That part is a backwards-incompatible change.
2016-10-28 19:08:57 -04:00
Aymeric Augustin
efcb7e1ebf
Modified readiness check in AppConfig.get_model(s).
...
It was inconsistent with the equivalent check in Apps.get_model(s)
because I made incorrect assumptions when I wrote that code and
needlessly complicated readiness checks.
This is a backwards-incompatible change.
2016-10-28 18:42:29 -04:00
Adam Chainz
968f61b991
Documented that cache keys are strings rather than bytes.
2016-10-27 15:49:24 -04:00
mark-summerfield
4584bc3a1e
Described PostgreSQL as more scalable than SQLite.
2016-10-27 09:14:04 -04:00
Tim Graham
414ad25b09
Fixed #27327 -- Simplified time zone handling by requiring pytz.
2016-10-27 08:53:20 -04:00
Tim Graham
d84ffcc22b
Updated "running the tests" to use 'pip install -e'.
2016-10-27 08:18:56 -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
Thomas Güttler
7cdc2015e3
Clarified when the post_migrate signal is sent during migrate.
2016-10-26 11:01:04 -04:00
Jon Dufresne
f3ea0c4bbd
Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."
...
This reverts commit 1ec1633cb2
as it
doesn't handle ContentType's auth.Permission dependency. Thus, it
doesn't allow auth without migrations.
2016-10-25 17:32:59 -07:00
David Barragán Merino
b3bd3aa07c
Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number of objects is a multiple plus one of batch_size.
2016-10-25 19:21:08 -04:00
Tim Graham
a9d1d95284
Replaced Outputting PDF's "Further Resources" with a link to Django Packages.
2016-10-25 11:58:19 -04:00
Marti Raudsepp
51fbe2a60d
Updated postgresql.org links to https and made them canonical.
2016-10-25 11:43:32 -04:00
Julian Andrews
adc93e8599
Fixed #26357 -- Allowed admin popups to work on links added after page load.
2016-10-24 20:17:31 -04:00
Tim Graham
6fdb12cdcc
Documented how to request CVE IDs.
2016-10-24 15:02:55 -04:00
Alvin Lindstam
6b5106b1ce
Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.
2016-10-22 19:26:08 -04:00
Zach Borboa
90c3b11e87
Fixed #27361 -- Used "from django import forms" in forms api docs.
2016-10-19 09:55:21 -04:00
Markus Holtermann
b5fc192b99
Fixed #27352 -- Doc'd social media fingerprinting consideration with login's redirect_authenticated_user.
2016-10-18 11:37:56 -04:00
Riccardo Magliocchetti
a4e9e834e3
Fixed ModelAdmin.get_max_num() example if obj is None.
2016-10-17 07:33:38 -04:00
Tim Graham
af98a0a25e
Updated security policy according to current practices.
...
Also added security release date notifications to django-announce.
2016-10-15 07:53:08 -04:00
David D Lowe
424187ec4b
Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
2016-10-14 13:46:54 -04:00
Tim Graham
61f9243e51
Fixed #27345 -- Stopped setting the Date header in ConditionalGetMiddleware.
2016-10-14 12:48:03 -04:00
Kevin Christopher Henry
9eb49af821
Refs #19705 -- Documented decorator ordering with @condition().
2016-10-14 07:36:01 -04:00
Kevin Christopher Henry
ad332e5ca9
Refs #19705 -- Made GZipMiddleware make ETags weak.
...
Django's conditional request processing can now produce 304 Not Modified
responses for content that is subject to compression.
2016-10-13 14:22:54 -04:00
Tim Graham
cd09524f27
Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.
2016-10-13 11:04:58 -04:00
Tim Graham
51b83d9e51
Fixed #27342 -- Corrected QuerySet.update_or_create() example.
2016-10-13 11:02:02 -04:00
Nick Pope
81463ce0a1
Fixed typo in docs/ref/checks.txt.
2016-10-11 10:32:32 -04:00
Tim Graham
80f5a4d87a
Doc'd the need to provide initial for formset submissions.
2016-10-10 15:36:21 -04:00
Denis Cornehl
a840710e1e
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
2016-10-10 14:55:59 -04:00
Tim Graham
19a140a1b3
Added template syntax highlighting in docs/topics/i18n/timezones.txt.
2016-10-08 08:07:06 -04:00
Zach Borboa
bf91be83d5
Fixed #24941 -- Added ModelAdmin.get_exclude().
...
Thanks Ola Sitarska for the initial patch.
2016-10-07 18:49:28 -04:00
Tim Graham
c60feb6999
Fixed #25475 -- Doc'd how to use a literal % in Func.template.
2016-10-07 10:24:45 -04:00
Markus Holtermann
f8deed7199
Updated security team roster.
2016-10-07 10:14:22 -04:00