David D Lowe
c9c5ccbd41
Clarified that setting names must be uppercase.
2016-05-03 12:53:24 -04:00
Vasiliy Faronov
ac77c55bc5
Fixed #26567 -- Updated references to obsolete RFC2616.
...
Didn't touch comments where it wasn't obvious that the code adhered to
the newer standard.
2016-05-03 11:14:40 -04:00
Arthur Vuillard
72ea289ab7
Added --noinput in migrate commmand's docs.
2016-05-03 09:43:16 -04: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
Tim Graham
8a55982e70
Added stub release notes for 1.9.7.
2016-05-02 19:02:21 -04:00
Tim Graham
f0b8da7350
Added release date for 1.9.6/1.8.13.
2016-05-02 18:16:36 -04:00
Alasdair Nicol
eb5d7bc2f4
Fixed #26440 -- Added a warning for non-url()s in urlpatterns.
...
Thanks Burhan Khalid for the initial patch and knbk/timgraham
for review.
2016-04-30 20:09:31 -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
Claude Paroz
b16b124996
Fixed #26341 -- Fixed makemessages breaking location comments for HTML files
...
Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the
initial patch.
2016-04-30 12:08:20 +02: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
Alasdair Nicol
dac075e910
Refs #26479 -- Documented is/is not if tag operator behavior for nonexistent variables.
2016-04-29 12:38:46 -04:00
Tim Graham
9f8941eda4
Refs #26557 -- Added forgotten release notes.
2016-04-29 10:18:49 -04:00
Joshua Phillips
4681d65048
Fixed #26557 -- Converted empty strings to None when saving GenericIPAddressField.
2016-04-29 10:11:49 -04:00
Tim Graham
2f698cd991
Refs #26428 -- Added support for relative path redirects to the test client.
...
Thanks iktyrrell for the patch.
2016-04-29 09:15:28 -04:00
eltronix
ce32c3e2cc
Fixed typo in docs/ref/contrib/admin/index.txt
2016-04-28 18:19:21 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
eltronix
fed7004b8a
Fixed typo in docs/ref/contrib/admin/index.txt
2016-04-27 15:41:37 -04:00
Tim Graham
fe70f280d7
Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.
...
Thanks Ankush Thakur for the report and Simon for the review.
2016-04-27 15:16:00 -04:00
eltronix
c6b83db299
Fixed typo in docs/howto/deployment/wsgi/index.txt
2016-04-27 10:20:18 -04:00
eltronix
8ccb8ff453
Fixed typo in docs/topics/testing/tools.txt
2016-04-27 08:01:48 -04:00
eltronix
75c5e547b5
Fixed typo in docs/topics/testing/tools.txt
2016-04-26 18:19:00 -04:00
eltronix
e2cb1018cb
Fixed reference to Question model in management command how-to.
2016-04-26 09:21:45 -04:00
Bas Westerbaan
a5033dbc58
Refs #26033 -- Added password hasher support for Argon2 v1.3.
...
The previous version of Argon2 uses encoded hashes of the form:
$argon2d$m=8,t=1,p=1$<salt>$<data>
The new version of Argon2 adds its version into the hash:
$argon2d$v=19$m=8,t=1,p=1$<salt>$<data>
This lets Django handle both version properly.
2016-04-25 21:17:53 -04:00
Tim Graham
bb0b4b705b
Fixed #26052 -- Moved conditional_content_removal() processing to the test client.
2016-04-25 07:56:07 -04:00
Simon Charette
bd145e7209
Fixed #26536 -- Preserved leading dashes of the cached template loader keys.
...
Thanks Anders Roos for the report.
2016-04-24 22:15:45 -04:00
Tim Graham
859eeaa0f0
Fixed #26533 -- Renamed Widget._format_value() to format_value().
2016-04-23 13:15:45 -04:00
Tim Graham
a755e0657e
Removed unused BaseExpression.refs_aggregate().
...
Unused since afe0bb7b13
.
2016-04-22 13:04:13 -04:00
Tim Graham
87338198e9
Fixed #26320 -- Deprecated implicit OneToOnField parent_link.
2016-04-22 12:59:41 -04:00
Marc Tamlyn
9e4e20a71c
Fix typos in PGFTS docs.
...
Thanks for Simon Willison for the spot.
2016-04-22 16:20:47 +01:00
Markus Holtermann
5e1d45b1ca
Updated my bio
2016-04-22 14:00:51 +02: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
Claude Paroz
f4c2b8e04a
Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list
...
Thanks Tim Graham for the review.
2016-04-22 09:56:06 +02:00
Jon Dufresne
ec6121693f
Fixed #22383 -- Added support for HTML5 required attribute on required form fields.
2016-04-21 19:16:38 -04:00
Daniel Wiesmann
65006e0b0b
Refs #26455 -- Documented isvalid/makevalid in compatibility table.
2016-04-21 09:13:34 -04:00
Jon Dufresne
38ddd4ab55
Fixed incorrect rendered widget in forms example.
2016-04-20 21:07:59 -04:00
Tobias Kroenke
b040ac06eb
Fixed #26520 -- Fixed a regression where SessionBase.pop() didn't return a KeyError.
2016-04-20 13:06:47 -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
Matthew Schinckel
5402f3ab09
Fixed #26475 -- Added functools.partial() support to migrations autodetector.
2016-04-19 10:17:11 -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
eltronix
f43da05cc5
Fixed typo in docs/topics/class-based-views/mixins.txt
2016-04-18 20:25:54 -04:00
Lukasz Wiecek
d3c87a2425
Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite.
...
Thanks adamchainz for the report and review.
2016-04-18 09:39:46 -04:00
Tim Graham
2c4c67af94
Fixed #26514 -- Documented that User.refresh_from_db() doesn't clear the permission cache.
2016-04-18 09:02:56 -04:00
eltronix
7ba7d203d8
Fixed typo in docs/ref/template-response.txt.
2016-04-18 07:50:13 -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
krishbharadwaj
e494b9ffb6
Fixed #26509 -- Deprecated the contrib.gis.utils.precision_wkt() function.
2016-04-16 16:47:04 -04:00
Claude Paroz
6c9603277d
Updated indentation in GEOS docs
2016-04-16 19:51:00 +02:00
Claude Paroz
10c53385f8
Fixed #26510 -- Allowed dim/trim/precision as WKTWriter init arguments
...
Thanks Tim Graham for the review.
2016-04-16 19:51:00 +02:00
Katie McLaughlin
393811c67a
Updated Windows docs for completeness
...
- Update installer option for PATH installation
- Add link directly to pip install docu, ref get-pip.py
- Add note about installing Django to the virtualenv that was setup in the previous step
2016-04-16 13:06:37 +02:00
Claude Paroz
de40cfbe74
Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based views
...
Thanks Cristiano Coelho and Tim Graham for the reviews.
2016-04-15 17:28:54 +02:00
Tim Graham
ad3c72118f
Added stub release notes for 1.8.13.
2016-04-13 13:21:20 -04:00
Michal Petrucha
c339a5a6f7
Refs #16508 -- Renamed the current "virtual" fields to "private".
...
The only reason why GenericForeignKey and GenericRelation are stored
separately inside _meta is that they need to be cloned for every model
subclass, but that's not true for any other virtual field. Actually,
it's only true for GenericRelation.
2016-04-13 10:10:53 -04:00
Filipa Andrade
47fbbc33de
Fixed #26493 -- Documented how built-in signals are sent.
2016-04-13 07:48:18 -04:00
Claude Paroz
1ee9c5b4a9
Refs #17635 -- Tested the Cast function in a geography to geometry context
...
Thanks Tim Graham for the review.
2016-04-12 21:14:45 +02:00
Denis Afonso
b1b05a017a
Fixed #26485 -- Fixed typo in docs/intro/tutorial07.
2016-04-10 14:19:54 -04:00
Jeremy Lainé
c1aec0feda
Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.
2016-04-09 14:54:18 -04:00
Alasdair Nicol
c16b9dd8e0
Fixed #26479 -- Added 'is not' operator to the if tag.
2016-04-09 13:01:15 -04:00
Alasdair Nicol
c10db4bd1b
Moved docs about chaining if tag comparison operators.
2016-04-09 12:54:59 -04:00
Mounir Messelmeni
03e1cc930c
Fixed #26145 -- Made debug context processor return queries for all databases.
2016-04-09 11:47:15 -04:00
Daniel Wiesmann
c12a00e554
Fixed #26455 -- Allowed filtering and repairing invalid geometries.
...
Added the IsValid and MakeValid database functions, and the isvalid lookup,
all for PostGIS.
Thanks Tim Graham for the review.
2016-04-09 09:22:30 -04:00
Tim Graham
f6ca63a9f8
Refs #26464 -- Added a link to OWASP Top 10 in security topic guide.
2016-04-09 07:49:40 -04:00
Claude Paroz
b2aab09fe9
Fixed #15940 -- Added MySQL note about strict SQL mode
2016-04-08 20:34:27 +02:00
Claude Paroz
f9a2a7db17
Fixed #26351 -- Added MySQL check to warn about strict mode option
...
Thanks Adam Chainz for the initial implementation in django-mysql.
Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
2016-04-08 20:34:16 +02:00
Claude Paroz
0d3c616fbb
Refs #26351 -- Added check hook to support database-related checks
...
Thanks Tim Graham and Shai Berger for the reviews.
2016-04-08 20:28:00 +02:00
Tim Graham
5ac7c8f7ab
Refs #22268 -- Fixed typo in docs/ref/models/querysets.txt
2016-04-08 11:43:02 -04:00
Mikkel Munch Mortensen
4bb3ddbcc6
Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt
2016-04-07 13:53:30 -04:00
Arnaud Limbourg
5cda4677b3
Fixed #26037 -- Documented precedence of USE_X_FORWARDED_HOST/PORT settings.
2016-04-07 10:09:56 -04:00
Simon Charette
a872194802
Fixed #26470 -- Converted auth permission validation to system checks.
...
Thanks Tim for the review.
2016-04-06 22:40:43 -04:00
Tim Graham
8dcd01046e
Removed extra blank lines in last commit.
2016-04-06 12:17:09 -04:00
Tobias Kunze
c643b4c9f2
Refs #24016 -- Edited "Migrating data between third-party apps" howto.
2016-04-06 12:09:14 -04:00
Daniel Jilg
eed658d7c4
Refs #14131 -- Documented why paginating large QuerySets may be slow.
2016-04-06 11:06:38 -04:00
krishbharadwaj
361cb7a857
Fixed #26448 -- Added details for running tests with a different database backend.
2016-04-05 21:34:26 -04:00
Vaclav Ehrlich
369fa471f4
Fixed #26201 -- Documented the consequences of rotating the CSRF token on login.
2016-04-05 11:02:38 -04:00
Attila Tovt
02ae5fd31a
Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.
2016-04-05 08:52:08 -04:00
Tim Graham
15a20dc9af
Removed a reference to Django 1.3.1 in docs.
2016-04-04 11:55:34 -04:00
Joshua Pereyda
f8b31dfdfc
Fixed #26419 -- Added a link in ALLOWED_HOSTS docs.
2016-04-04 11:08:12 -04:00
David Evans
99bb7fcc18
Fixed #26452 -- Loaded middleware on server start rather than on first request.
2016-04-04 10:12:41 -04:00
Markus Amalthea Magnuson
23aa700b78
Fixed #26450 -- Corrected "Save as new" button label in docs.
2016-04-04 08:09:24 -04:00
Sergey Kolosov
21dd98a386
Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' isn't in INSTALLED_APPS.
2016-04-04 07:48:48 -04:00
rixx
b7ea494d65
Fixed #24016 -- Added documentation about third-party app data migrations
...
There was confusion about how to migrate data from third-party
applications when you are going to uninstall the application later on.
Thanks to Markus, Marten and Sergei for help and review.
2016-04-03 17:20:35 +02:00
anna
b28c60529b
Fixed #26101 -- Allowed introspection of base_field.model in RangeField
...
Used the same test and fix as in #25867 .
This required initializing base_field in RangeField.__init__,
not when setting the attribute.
2016-04-03 16:32:30 +02:00
bellisk
c08ad63a33
Correct number of extra arguments in docs for FilePathField.
2016-04-03 12:38:35 +02:00
Tim Graham
d2569f89f2
Fixed #26428 -- Added support for relative path redirects in assertRedirects().
...
Thanks Trac alias master for the report and review.
2016-04-02 10:35:33 -04:00
Daniel Jilg
55c843f2ef
Fixed #14131 -- Added note to docs about Pagination and large Querysets
2016-04-02 16:03:34 +02:00
Iacopo Spalletti
7d485d5d75
Fixed #22268 -- Documented values_list() behavior for multivalued relations.a
...
Thanks Sai Krishna for the initial patch.
2016-04-02 07:20:11 -04:00
Tim Graham
a637ed879d
Added stub release notes for 1.9.6.
2016-04-01 14:09:48 -04:00
Tim Graham
93539ba2f4
Added release date for 1.9.5 and 1.8.12.
2016-04-01 13:29:43 -04:00
Claude Paroz
db19619545
Fixed #25532 -- Properly redisplayed JSONField form input values
...
Thanks David Szotten for the report and Tommy Beadle for code inspiration.
Thanks Tim Graham for the review.
2016-04-01 09:04:20 +02:00
Simon Charette
64aba7a8ab
Fixed #26438 -- Fixed multiple .objects typos in the docs.
...
Thanks Pablo Oubiña for the report.
2016-03-31 18:27:47 -04:00
Tim Graham
8928823b13
Fixed #26436 -- Added a link to the settings filtering in the error reporting howto.
...
Thanks mlissner for the suggestion.
2016-03-31 13:41:06 -04:00
Tim Graham
12dee89d9c
Removed some docs that should have been removed along with PROFANITIES_LIST.
2016-03-31 13:21:32 -04:00
Tim Graham
a65fc6df89
Fixed #26410 -- Added a docs example for loader.render_to_string().
2016-03-31 08:31:55 -04:00
Akshesh
49f95cc0a0
Fixed #11560 -- Allowed proxy model multiple-inheritance from the same concrete base model.
2016-03-30 13:06:27 -04:00
Krzysztof Jurewicz
940b7fd5cb
Fixed #21446 -- Allowed not performing redirect in set_language view
...
Thanks Claude Paroz and Tim Graham for polishing the patch.
2016-03-29 22:15:14 +02:00
Alex Hill
4b2cf1cd27
Fixed #26384 -- Fixed renaming the PK on a model with a self-referential FK on SQLite.
2016-03-29 13:25:09 -04:00
Daniel Wiesmann
870dd1d38b
Fixed #26417 -- Allowed setting GDALBand data with partial values.
2016-03-29 11:08:36 -04:00
Claude Paroz
03b6947728
Fixed #24932 -- Added Cast database function.
...
Thanks Ian Foote for the initial patch.
2016-03-29 08:14:33 -04:00
Kai Feldhoff
5336158990
Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql().
2016-03-29 08:09:58 -04:00
Daniel Wiesmann
f1db8c36e9
Fixed #26415 -- Allowed deleting nodata value on GDALBands.
2016-03-29 08:06:31 -04:00
Simon Charette
67cf5efa31
Fixed #26413 -- Fixed a regression with abstract model inheritance and explicit parent links.
...
Thanks Trac alias trkjgrdg for the report and Tim for investigation and review.
2016-03-28 21:11:37 -04:00
Joshua Pereyda
0c0e8f0a62
Fixed #26416 -- Fixed references to previous tutorial numbers in docs/intro/reusable-apps.txt.
2016-03-28 18:30:30 -04:00
Francisco Capdevila
82243e5150
Fixed typo in docs/ref/contrib/postgres/aggregates.txt.
2016-03-28 09:19:21 -04:00
Aymeric Augustin
7b1ce7fd91
Fixed #26408 -- Updated link to DEP 182.
...
Thanks kaifeldhoff for the report.
2016-03-25 20:49:18 +01:00
Tim Graham
acfaec3db5
Fixed #26387 -- Restored the functionality of the admin's raw_id_fields in list_editable.
2016-03-25 13:47:42 -04:00
Tim Shaffer
8550566af6
Fixed typo in docs/topics/db/aggregation.txt.
2016-03-25 13:38:16 -04:00
ieatkittens
9390da7fb6
Fixed #26293 -- Fixed CommonMiddleware to process PREPEND_WWW and APPEND_SLASH independently.
2016-03-23 09:23:19 -04:00
Alexander Gaevsky
107165c4b0
Fixed #24987 -- Allowed inactive users to login with the test client.
2016-03-23 09:01:52 -04:00
Alexander Gaevsky
e0a3d93730
Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.
2016-03-23 09:01:48 -04:00
Berker Peksag
157d7f1f1d
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation
2016-03-23 08:21:30 +08:00
Kai Feldhoff
5ca08f7cab
Refs #25759 -- Documented customizing expressions' SQL on other databases.
2016-03-21 20:20:29 -04:00
Tim Graham
c41737dc00
Fixed #26392 -- Corrected login_required/permission_required stacking example.
2016-03-21 19:56:15 -04:00
Vincenzo Pandolfo
abf07355aa
Fixed #26365 -- Added a system check to ensure "string_is_invalid" is a string.
2016-03-21 13:01:38 -04:00
Akshesh
2b31f14d89
Fixed grammatical typos in gis docs.
2016-03-21 11:14:04 -04:00
Tim Graham
6dd503851c
Fixed #26376 -- Clarifed meaning of 'search' in TemplateResponseMixin.get_template_names() docs.
2016-03-21 08:09:13 -04:00
Tim Graham
53e8ab580f
Fixed #26265 -- Clarified RadioSelect container's HTML id.
2016-03-19 18:01:10 -04:00
Jason Parrott
4c1c93032f
Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a subquery.
2016-03-19 17:54:29 -04:00
Amine
8b5a4fa941
Fixed a broken link in docs/internals/contributing/writing-documentation.txt.
2016-03-19 16:19:01 -04:00
Claude Paroz
983c158da7
Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many
...
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
2016-03-19 09:24:27 +01:00
Tim Graham
1d0abeaf75
Fixed #26375 -- Used a more generic name in a reusable template example.
2016-03-18 11:37:20 -04:00
José Tomás Tocino
39a16dd2e0
Fixed #25658 -- Allowed inspectdb to inspect a specific set of tables.
2016-03-18 08:41:15 -04:00
Berker Peksag
28bcff82c5
Fixed #26297 -- Fixed `collectstatic --clear` crash if storage doesn't implement path().
2016-03-17 09:49:57 -04:00
Alex Hill
ecb59cc657
Fixed #26306 -- Fixed memory leak in cached template loader.
2016-03-16 12:37:57 -04:00
Tim Graham
460dab0b40
Removed obsolete section on "Improving the documentation".
2016-03-15 19:05:54 -04:00
Andrew Abraham
f2d9caa625
Fixed DiscoverRunner failfast parameter default in docs.
2016-03-15 18:33:35 -04:00
Akshesh
44c0ecdd92
Fixed #25364 -- Added generic way to test on all browsers supported by selenium.
...
Browser names should be passed as a comma separated list to the --selenium flag.
Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-03-15 13:10:32 -04:00
Collin Anderson
93a135d111
Fixed #26158 -- Rewrote http.parse_cookie() to better match browsers.
2016-03-15 12:24:06 -04:00
Duane Hilton
f8b23e52e8
Fixed #26290 -- Documented that a QuerySet for pagination should be ordered.
2016-03-15 10:13:47 -04:00
Markus Holtermann
1cb65b8a77
Fixed #26157 #25321 -- Added sql/params to extra context of schema logger
...
Thanks Akshesh Doshi for the initial patch and Tim Graham for the review
2016-03-15 17:45:58 +11:00
Vincenzo Pandolfo
d0fe6c9156
Fixed #26334 -- Removed whitespace stripping from contrib.auth password fields.
2016-03-14 20:20:24 -04:00
Moritz Sichert
6aef986cdb
Fixed #25804 -- Documented additions to Jinja2 context.
2016-03-14 08:42:55 -04:00
Tim Graham
5695c142d2
Fixed #26294 -- Clarified call_command()'s handling of args and options.
2016-03-14 08:10:17 -04:00
Jakub Wilk
402da9ab7b
Fixed typos in docs.
2016-03-13 19:48:24 +01:00
Tim Graham
b3610f38fa
Fixed #26345 -- Clarified which RangesFields always return a canonical form.
2016-03-12 12:54:16 -05:00
Duane Hilton
ca5c05ddbe
Fixed #26239 -- Added a note about how auto_now works with QuerySet.update().
2016-03-12 12:39:00 -05:00
Tim Graham
4f0cd0fd16
Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.
2016-03-10 12:18:29 -05:00
Tim Graham
4323676ea5
Fixed #26255 -- Fixed orphaned include() reference following tutorial reordering.
2016-03-09 12:18:21 -05:00
Tim Graham
602a38d87e
Fixed #26339 -- Updated Question.was_published_recently() in tutorial 7 to reflect changes in tutorial 5.
2016-03-09 11:21:33 -05:00
Tim Graham
a496d10a8c
Wrapped some lines and added links to docs/ref/contrib/sitemaps.txt.
2016-03-09 10:00:27 -05:00
girish ramnani
593ecfe135
Fixed #26302 -- Removed incorrect statement about virtual hosts.
2016-03-09 09:00:58 -05:00
Tim Osborn
8fb3a2877b
Fixed indenting in "Serving files in development" code example
2016-03-09 14:55:55 +11:00
Claude Paroz
c5fda55edc
Fixed #26256 -- Added note about primary key serialization
...
Thanks Sonu kumar for the report and Tim Graham for the review.
2016-03-08 21:30:23 +01:00
Przemysław Suliga
96ec67a7cf
Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set().
2016-03-08 11:44:37 -05:00
Bas Westerbaan
b4250ea04a
Fixed #26033 -- Added Argon2 password hasher.
2016-03-08 11:22:18 -05:00
Saúl Ibarra Corretgé
6c33e73333
Fixed #26289 -- Enabled shell tab completion on systems using libedit.
2016-03-08 08:37:14 -05:00
Krzysztof Urbaniak
839a955d08
Fixed #25933 -- Allowed an unprefixed default language in i18n_patterns().
2016-03-08 08:14:10 -05:00
John-Mark Bell
4b129ac81f
Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an empty string.
2016-03-07 13:19:39 -05:00
Michal Petrucha
2109975e90
Refs #26217 -- Fixed typo in docs/ref/class-based-views/generic-date-based.txt.
2016-03-05 19:40:33 -05:00
Jon Dufresne
1845bc1d10
Refs #26315 -- Cleaned up argparse options in commands.
...
* Removed type coercion. Options created by argparse are already coerced
to the correct type.
* Removed fallback default values. Options created by argparse already
have a default value.
* Used direct indexing. Options created by argparse are always set. This
eliminates the need to use dict.get().
2016-03-05 13:19:29 -05:00
Jon Dufresne
4115288b4f
Fixed #26315 -- Allowed call_command() to accept a Command object as the first argument.
2016-03-05 13:05:10 -05:00
Tim Graham
9ed4a788aa
Refs #26312 -- Reworded tutorial 2 to avoid spelling "error".
2016-03-05 10:58:45 -05:00
Tim Graham
bc0410d98a
Fixed typo in docs/releases/1.8.12.txt.
2016-03-05 10:02:29 -05:00
Tim Graham
c960af4adb
Added stub release notes for 1.9.5/1.8.12.
2016-03-05 10:00:40 -05:00
Bob McDonald
b388c294eb
Fixed #26312 -- Documented "create database" requirement in tutorial 2.
2016-03-05 09:09:00 -05:00
Tim Graham
e19fc9f08a
Removed claim that you can use different database backends for Django's tests.
...
Such as a setup isn't tested through continuous integration and therefore
isn't likely to work reliably.
2016-03-05 08:42:18 -05:00
Claude Paroz
552f03869e
Added safety to URL decoding in is_safe_url() on Python 2
...
The errors='replace' parameter to force_text altered the URL before checking
it, which wasn't considered sane. Refs 24fc935218
and ada7a4aef
.
2016-03-04 23:33:35 +01:00
Claude Paroz
ada7a4aefb
Fixed #26308 -- Prevented crash with binary URLs in is_safe_url()
...
This fixes a regression introduced by c5544d2892
.
Thanks John Eskew for the reporti and Tim Graham for the review.
2016-03-04 21:14:14 +01:00
Tim Graham
cecbf1bdef
Fixed typo in docs/releases/1.9.1.txt.
2016-03-04 14:16:56 -05:00
Tim Graham
2f0c785a4c
Added stub release notes for 1.8.11.
2016-03-04 09:47:43 -05:00
Tim Graham
de8a11ba18
Fixed #26321 -- Added missing "for_save" parameter in expressions example.
...
Thanks tomaszn for the patch.
2016-03-03 19:36:03 -05:00
Tim Graham
c0181f2c1f
Fixed #26310 -- Documented that a queryset ordering must be specified to ensure ordered results.
...
Thanks Simon Charette for review.
2016-03-03 17:54:07 -05:00
Simon Charette
d0451e4cad
Fixed #26295 -- Allowed using i18n_patterns() in any root URLconf.
...
Thanks Tim for the review.
2016-03-03 12:08:49 -05:00
Alasdair Nicol
2404d209a5
Fixed #26309 -- Documented that login URL settings no longer support dotted paths.
2016-03-03 07:34:14 -05:00
Simon Charette
c92123cc1d
Fixed #26226 -- Made related managers honor the queryset used for prefetching their results.
...
Thanks Loïc for the suggested improvements and Tim for the review.
2016-03-02 16:10:18 -05:00
Tim Graham
1d17bb4f7d
Refs #19527 -- Fixed typo in docs/ref/models/querysets.txt.
2016-03-02 15:54:46 -05:00
Marc Tamlyn
8ddc79a799
Fixed #26285 -- Deprecated the MySQL-specific __search lookup.
2016-03-02 14:41:56 -05:00
acrefoot
04240b2365
Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its objects.
...
PostgreSQL support only.
Thanks Vladislav Manchev and alesasnouski for working on the patch.
2016-03-02 14:29:09 -05:00
Dmitry Dygalo
5155c2b458
Fixed typo in 1.9.3/1.8.10 release date.
2016-03-02 07:08:36 -05:00
Alasdair Nicol
8c42cf0cbd
Fixed #26303 -- Updated links to mod_wsgi docs.
2016-03-01 19:22:32 -05:00
Tim Graham
33db899a21
Fixed #25814 -- Added changing #django topic to release checklist.
2016-03-01 13:02:03 -05:00
Tim Graham
2e895d2870
Added stub release notes for 1.9.4.
2016-03-01 12:39:01 -05:00
Tim Graham
24fc935218
Added CVE-2016-2512/2513 to security release archive.
2016-03-01 12:32:42 -05:00
Florian Apolloner
67b46ba701
Fixed CVE-2016-2513 -- Fixed user enumeration timing attack during login.
...
This is a security fix.
2016-03-01 11:25:28 -05:00
Mark Striemer
c5544d2892
Fixed CVE-2016-2512 -- Prevented spoofing is_safe_url() with basic auth.
...
This is a security fix.
2016-03-01 11:25:28 -05:00
Tim Graham
f43291639b
Added stub release notes for security issues.
2016-03-01 11:25:28 -05:00
Michal Petrucha
fe8ea3ba3b
Fixed #26217 -- Added a warning about format strings to WeekArchiveView docs.
2016-03-01 10:29:52 -05:00
acemaster
a1b1688c7d
Fixed #26165 -- Added some FAQs about CSRF protection.
...
Thanks Florian Apolloner and Shai Berger for review.
2016-03-01 08:45:05 -05:00
Taranjeet
11a8207d42
Fixed typos in docs/ref/models/meta.txt.
2016-03-01 08:33:27 -05:00
Simon Charette
0223e213dd
Fixed #26186 -- Documented how app relative relationships of abstract models behave.
...
This partially reverts commit bc7d201bdb
.
Thanks Tim for the review.
Refs #25858 .
2016-02-29 22:07:05 -05:00
Shai Berger
72e5778b23
Minor fixes for release-process doc fix
...
As suggested by Tim Graham
2016-02-28 19:30:18 +02:00
Shai Berger
3dd4e9203a
Fixed docs: release-process, Supported Versions section, concrete example
...
Security & data loss fixes are applied to the two last feature releases,
not just one.
Thanks Loic Bistuer for review
2016-02-28 18:44:47 +02:00
chenesan
b84f5ab4ec
Fixed #26230 -- Made default_related_name affect related_query_name.
2016-02-27 08:48:32 -05:00
inondle
5fb9756eba
Fixed #26275 -- Noted difference between o and Y date format chars.
2016-02-27 08:05:12 -05:00
Simon Charette
3938b3ccaa
Fixed #26286 -- Prevented content type managers from sharing their cache.
...
This should prevent managers methods from returning content type instances
registered to foreign apps now that these managers are also attached to models
created during migration phases.
Thanks Tim for the review.
Refs #23822 .
2016-02-26 16:18:16 -05:00
Tim Graham
b9519b2730
Added 'prefetches to docs/spelling_wordlist.
2016-02-26 16:06:34 -05:00
Adam Chainz
ef33bc2d4d
Fixed #25279 -- Made prefetch_related_objects() public.
2016-02-26 14:55:01 -05:00
Simon Charette
766afc22a1
Fixed #24793 -- Unified temporal difference support.
2016-02-26 12:25:12 -05:00
Ivan Tsouvarev
8890c533e0
Fixed #26280 -- Fixed cached template loader crash when loading nonexistent template.
2016-02-26 08:02:10 -05:00
Sjoerd Job Postmus
bbe136e1a2
Fixed #26231 -- Used .get_username in admin login template.
2016-02-25 19:29:53 -05:00
Tim Graham
22d2a5b00a
Corrected a run on sentence in doc/topics/db/models.txt.
2016-02-25 14:22:41 -05:00
Tim Graham
1f8cfcf3b4
Fixed #26278 -- Clarified apps.ready docs.
2016-02-25 08:55:10 -05:00
Tim Graham
7a7e403325
Refs #26270 -- Reorganized TestCase docs.
2016-02-25 07:58:22 -05:00
Olivier Le Thanh Duong
10781b4c6f
Fixed #12233 -- Allowed redirecting authenticated users away from the login view.
...
contrib.auth.views.login() has a new parameter `redirect_authenticated_user`
to automatically redirect authenticated users visiting the login page.
Thanks to dmathieu and Alex Buchanan for the original code and to Carl Meyer
for the help and review.
2016-02-25 07:18:33 -05:00
Tim Graham
441c537b66
Fixed a function signature in docs/topics/auth/default.txt.
2016-02-24 16:24:33 -05:00
Claude Paroz
c5517b9e74
Fixed #26266 -- Output the primary key in the GeoJSON serializer properties
...
Thanks Tim Graham for the review.
2016-02-24 16:10:46 +01:00
Tim Graham
6637cd0ef2
Removed docs of deprecated SimpleTestCase warnings behavior.
...
Removed in Django 1.7 (4f6be9a0c4
).
2016-02-24 09:57:39 -05:00
Jon Dufresne
b412681359
Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.
2016-02-24 07:02:51 -05:00
James Aylett
1ff6e37de4
Fixed #23832 -- Added timezone aware Storage API.
...
New Storage.get_{accessed,created,modified}_time() methods convert the
naive time from now-deprecated {accessed,created_modified}_time()
methods into aware objects in UTC if USE_TZ=True.
2016-02-23 18:51:43 -05:00
Andrew Kuchev
e81d1c995c
Fixed #25670 -- Allowed dictsort to sort a list of lists.
...
Thanks Tim Graham for the review.
2016-02-23 12:15:08 -05:00
Tim Graham
cdbd8745f6
Fixed #26263 -- Deprecated Context.has_key()
2016-02-23 08:08:55 -05:00
Claude Paroz
b46c0ea6c8
Fixed #26190 -- Returned handle() result from call_command
...
Thanks Tim Graham for the review.
2016-02-23 09:12:12 +01:00
Tim Graham
47b5a6a43c
Fixed #26187 -- Removed weak password hashers from PASSWORD_HASHERS.
2016-02-22 18:59:23 -05:00
Markus Holtermann
b14470c7b7
Fixed spelling error
2016-02-23 10:24:38 +11:00
Tim Graham
5a541e2e6c
Fixed #26188 -- Documented how to wrap password hashers.
2016-02-22 17:21:45 -05:00
Tim Graham
33a4040d07
Refs #26253 -- Forwardported release note.
2016-02-22 17:19:08 -05:00
Daniel Quinn
de7edc005f
Fixed import location of check_password() in docs.
2016-02-22 12:42:47 -05:00
Claude Paroz
d43156e1e9
Fixed #26238 -- Raised explicit error for non-editable field in ModelForm
...
Thanks Luke Crouch for the report and Simon Charette for the review.
2016-02-21 00:24:20 +01:00
Akshesh
6670da75ff
Fixed #25653 -- Made --selenium run only the selenium tests.
2016-02-19 14:21:00 -05:00
Tim Graham
032f5a7896
Refs #25735 -- Made @tag decorator importable from django.test.
2016-02-19 14:21:00 -05:00
Raphael Michel
5c31d8d189
Fixed #26243 -- Noted that 'python -R' is enabled by default in Python 3.3.
2016-02-19 10:50:15 -05:00
Sergey Fedoseev
23e1ad537a
Fixed #25974 -- Switched GIS docs to 4 spaces indentation.
2016-02-19 09:27:32 -05:00
Sergey Fedoseev
dbaa1a6b59
Fixed some code blocks indentation in GIS docs.
2016-02-19 08:34:38 -05:00
Tim Graham
b1afebf882
Fixed #26204 -- Reallowed dashes in top-level domains for URLValidator.
...
Thanks Shai Berger for the review.
2016-02-18 19:06:49 -05:00
Akshesh
d58aaa24e3
Fixed #26107 -- Added option to int_list_validator() to allow negative integers.
2016-02-18 18:58:18 -05:00
Tim Graham
b954ad0640
Added intended use in the admin's introduction.
2016-02-18 08:50:22 -05:00
Akshesh
fdccc02576
Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.
2016-02-17 13:56:42 -05:00
Tim Graham
88034c9938
Fixed #25687 -- Documented how to add database function support to third-party backends.
...
Thanks Kristof Claes for the initial patch.
2016-02-17 13:36:12 -05:00
Berker Peksag
f0425c7260
Refs #19353 -- Added tests for using custom user models with built-in auth forms.
...
Also updated topics/auth/customizing.txt to reflect that subclasses of
UserCreationForm and UserChangeForm can be used with custom user models.
Thanks Baptiste Mispelon for the initial documentation.
2016-02-17 10:26:07 -05:00
Jakub Paczkowski
d4dc775620
Fixed #25735 -- Added support for test tags to DiscoverRunner.
...
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
2016-02-17 09:44:18 -05:00
Jon Dufresne
0db7e61076
Followed recommended ValidationError use in docs.
2016-02-17 09:05:33 -05:00
Juan José Conti
bb7042cdab
Used relative models imports in the GIS tutorial.
2016-02-16 23:24:29 -05:00
Claude Paroz
928c12eb1a
Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values
...
Also added tests for HStoreField and JSONField.
Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and
the review.
2016-02-16 21:07:05 +01:00
Tim Graham
6a71ac61bd
Fixed possible "RuntimeError: maximum recursion depth exceeded" building docs.
2016-02-16 07:30:32 -05:00
Ryan Nowakowski
11af73eaeb
Fixed #26221 -- Used find_packages() in reusable apps tutorial.
...
Otherwise the migrations package won't be included in the tarball.
2016-02-15 19:25:26 -05:00
Alexey Kotlyarov
b59f963ad2
Fixed #26212 -- Made forms.FileField and translation.lazy_number() picklable.
2016-02-15 11:44:29 -05:00
Jon Dufresne
fcd08c1757
Fixed #11665 -- Made TestCase check deferrable constraints after each test.
2016-02-13 06:53:39 -05:00
Camilo Nova
a6f856df52
Added import in docs/topics/email.txt example.
2016-02-12 13:44:38 -05:00
Mounir Messelmeni
50931dfa53
Fixed #25304 -- Allowed management commands to check if migrations are applied.
2016-02-12 13:34:56 -05:00
Tim Graham
004ba0f99e
Removed unneeded hint=None/obj=None in system check messages.
2016-02-12 13:01:25 -05:00
Markus Holtermann
228427ab1a
Fixed allow_migrate() signature in documentation
2016-02-12 14:16:03 +11:00
Johannes Linke
02430ef19d
Fixed #26111 -- Clarified that fixtures are loaded once per TestCase.
2016-02-11 18:45:40 -05:00
Becka R
cf48962b36
Clarified "database column type" explanation.
2016-02-11 18:26:46 -05:00
Anssi Kääriäinen
46ecfb9b3a
Fixed #26196 -- Made sure __in lookups use to_field as default.
...
Thanks Simon Charette for the test.
2016-02-11 11:09:08 -05:00
ZachLiuGIS
04e13c8913
Fixed #26179 -- Removed null assignment check for non-nullable foreign key fields.
2016-02-11 10:07:39 -05:00
Anssi Kääriäinen
353aecbf8c
Fixed #26153 -- Reallowed Q-objects in ForeignObject.get_extra_descriptor_filter().
2016-02-11 08:59:43 -05:00
Tim Graham
1d86d4c72b
Updated instructions for gettext on Windows.
2016-02-11 08:45:55 -05:00
Tim Graham
f2b45ddd99
Fixed #26206 -- Fixed docs comments causing empty code blocks.
2016-02-11 07:58:15 -05:00
Curtis Maloney
6f1318734f
Fixed #26014 -- Added WSGIRequest content_type and content_params attributes.
...
Parsed the CONTENT_TYPE header once and recorded it on the request.
2016-02-10 18:19:23 -05:00
Brobin
dca8b916ff
Fixed #26154 -- Deprecated CommaSeparatedIntegerField
2016-02-10 17:57:43 -05:00
Shai Berger
bb51dc902d
Refs #26112 -- Fixed aggregate GIS test on Oracle.
...
Made sure the test doesn't try to aggregate over MultiPolygonField and made
AreaField turn decimals into floats on the way from the DB.
Thanks Daniel Wiesmann, Jani Tiainen, and Tim Graham for review and discussion.
2016-02-09 10:04:54 -05:00
userimack
75143fa13f
Fixed #26182 -- Removed an obsolete (refs #24917 ) paragraph in admindocs.
2016-02-09 09:49:12 -05:00
userimack
7a7b82e6f4
Fixed #26181 -- Corrected AngularJS CSRF example.
2016-02-09 09:22:23 -05:00
Simon Charette
a325fb1f9b
Fixed #26162 -- Checked query name clashes of hidden relationships.
...
Although reverse accessor clashes should be skipped query name can't be hidden.
Thanks to Ian Foote and Tim Graham for the review.
2016-02-08 09:59:27 -05:00
Tim Graham
10a162809f
Refs #24007 -- Removed an apps.populate() call in model unpickling that can cause deadlocks.
2016-02-08 08:28:48 -05:00
Tim Graham
97eb3356b2
Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.
2016-02-08 07:21:54 -05:00
Shai Berger
28f60ef3b8
Fixed title formatting in backwards-incompat section of 1.10 release notes
2016-02-06 21:10:36 +02:00
Tim Graham
d6337e65ed
Added stub release notes for 1.8.10.
2016-02-06 09:24:20 -05:00
Sergey Fedoseev
f8e865d78f
Fixed spelling -- super set -> superset.
2016-02-06 09:58:50 +05:00
Pankrat
f91a04621e
Fixed #25833 -- Added support for non-atomic migrations.
...
Added the Migration.atomic attribute which can be set to False
for non-atomic migrations.
2016-02-05 09:09:05 -05:00
Yoong Kang Lim
0edb8a146f
Fixed #26144 -- Warned when dumping proxy model without concrete parent.
2016-02-04 19:40:12 -05:00
Simon Charette
6eb3ce11e4
Fixed #26089 -- Removed custom user test models from public API.
...
Thanks to Tim Graham for the review.
2016-02-04 12:30:34 -05:00
Hugo Osvaldo Barrera
dcee1dfc79
Fixed #12405 -- Added LOGOUT_REDIRECT_URL setting.
...
After a user logs out via auth.views.logout(), they're redirected
to LOGOUT_REDIRECT_URL if no `next_page` argument is provided.
2016-02-04 10:35:37 -05:00
Manish Rastogi
ad216381fc
Fixed #26169 -- Fixed tutorial reference in reusable apps tutorial.
2016-02-04 07:39:12 -05:00
Carl Meyer
a0ce4c09ff
Fix typos in 1.8 release notes.
2016-02-03 13:05:35 -07:00
Blake Griffith
5fdbd9e36c
Changed gypsy to manouche in docs and tests.
...
"Gypsy" is considered a slur by the Romani people whom it refers to.
"manouche jazz" is used in place of "gypsy jazz" and is an accepted
term for the same genre of music.
2016-02-03 09:45:30 -05:00
jpic
926e90132d
Fixed #25731 -- Removed unused choices kwarg for Select.render()
2016-02-02 18:03:19 -05:00
rynomster
468d8211df
Fixed #23971 -- Added "Has date"/"No date" choices for DateFieldListFilter.
2016-02-02 12:04:14 -05:00
Tim Graham
67907ed845
Made identation of default setting docs more consistenct.
2016-02-02 11:40:28 -05:00
Tim Graham
1e9150443e
Refs #26089 -- Removed obsolete docs about custom user model testing.
2016-02-02 08:12:08 -05:00
Ramon Moraes
3b759661a8
Updated xhtml2pdf name/URL in docs.
2016-02-02 07:36:38 -05:00
KimberleyLawrence
ca4afc77db
Clarified "same as above" tutorial comment.
2016-02-01 16:37:59 -05:00
Buddy Lindsey, Jr
731bdfe68a
Fixed #26155 -- Skipped URL checks if no ROOTURL_CONF setting.
2016-02-01 13:51:38 -05:00
Harry
0fb1185538
Fixed #26152 -- Documented how to avoid django.setup() deadlock in standalone scripts.
2016-02-01 13:40:53 -05:00
Tim Graham
ecd502cfdb
Added CVE-2016-2048 to the security archive.
2016-02-01 12:42:37 -05:00
Tim Graham
59654d5efe
Added stub release notes for 1.9.3.
2016-02-01 12:39:18 -05:00
Tim Graham
11fae7c9e4
Added release dates for 1.9.2 and 1.8.9.
2016-02-01 12:02:16 -05:00
Myk Willis
62f3acc70a
Fixed incorrect permissions check for admin's "Save as new".
...
This is a security fix.
2016-02-01 11:57:00 -05:00
Tim Graham
8ce8beb3f2
Unified some doc links to OneToOneField and ManyToManyField.
2016-02-01 11:02:26 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Hugo Osvaldo Barrera
8bf8d0e0ec
Fixed #7923 -- Added links to objects displayed by ModelAdmin.raw_id_fields.
2016-02-01 07:36:10 -05:00
Yoong Kang Lim
9644e2e968
Fixed #26156 -- Added createsuperuser instructions to admin docs.
2016-01-30 12:32:24 -05:00
Tim Graham
9a5c94588e
Added a missing session setting in docs.
2016-01-29 15:04:49 -05:00
Tim Graham
2436b83dfd
Made formatting of docs for settings defaults more consistent.
2016-01-29 15:03:40 -05:00
Greg Chapple
8dea9f089d
Fixed #26120 -- Made HStoreField cast keys and values to strings.
...
HStoreField now converts all keys and values to string before they're
saved to the database.
2016-01-29 09:51:23 -05:00
Tim Graham
93897a6a75
Fixed #26137 -- Confirmed support for SpatiaLite 4.2/4.3 and added instructions.
2016-01-29 08:33:00 -05:00
Tim Graham
04564eb74d
Fixed #26129 -- Made invalid forms display initial values of disabled fields.
2016-01-28 18:43:48 -05:00
Markus Holtermann
4b0118465b
Fixed #26150 -- Sorted app_labels in migrate command output
2016-01-29 10:26:04 +11:00
Tim Graham
19d1cb1451
Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
2016-01-28 17:46:55 -05:00
Tim Graham
55481bcdee
Fixed #25917 -- Clarified reversibility of RemoveField.
...
Thanks kaifeldhoff for the draft patch.
2016-01-28 12:47:08 -05:00
James Pulec
f05722a08a
Fixed #25354 -- Added class/app_label interpolation for related_query_name.
2016-01-28 11:10:47 -05:00
Idan Gazit
a6d463b096
Idan -> core alumni
...
I'm always around for a consult or a discussion but I haven't been an active contributor in a long time.
Still <3 everyone in this project and python at large.
2016-01-28 11:25:56 +02:00
Claude Paroz
54236a2c1c
Fixed #26138 -- Ensured geometry_field's geometry is always serialized
...
Thanks Bernd Schlapsi for the report.
2016-01-28 08:50:38 +01:00
Yoong Kang Lim
31817dd2eb
Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
2016-01-27 08:58:12 -05:00
Tim Graham
8e6a08e937
Refs #26142 -- Documented that Formset's extra=0 doesn't prevent creating objects.
2016-01-26 19:12:01 -05:00
Ben Kraft
13023ba867
Fixed #26122 -- Fixed copying a LazyObject
...
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4
.
2016-01-26 06:56:21 -05:00
Preston Timmons
cfda1fa3f8
Fixed #25848 -- Set template origin on each node.
...
Prior to 55f12f8709
, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.
2016-01-26 06:23:27 -05:00
Simon Charette
4dcaa5871b
Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps.
...
This was causing an issue when calling the `migrate` command in a test case with
the `available_apps` attribute pointing to an application with migrations
disabled using the `MIGRATION_MODULES` setting.
Thanks to Tim Graham for the review.
Refs #24919
2016-01-25 21:38:36 -05:00
Chris Lamb
abc0777b63
Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
...
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.
We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.
2016-01-25 12:39:06 -05:00
Tim Graham
9c43d8252a
Fixed Sphinx highlight warnings in docs.
2016-01-25 11:57:14 -05:00
Tim Graham
5e8685c1b1
Refs #26034 -- Added another case fixed by this ticket to release notes.
2016-01-25 08:35:58 -05:00
Tim Graham
497b5d6fee
Refs #26034 -- Added another case fixed by this ticket to release notes.
...
Thanks Shai Berger for the report.
2016-01-25 08:33:02 -05:00
Tim Graham
b0b45f9a83
Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.
2016-01-25 06:51:39 -05:00
Tim Graham
2d36c7d515
Added Django version trove classifier to reusable apps tutorial.
2016-01-24 08:35:47 -05:00
Tim Graham
145e9ca301
Updated Python trove classifiers in reusable apps tutorial.
2016-01-23 17:40:41 -05:00
Simon Charette
729e0b086d
Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.
...
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23 14:19:03 -05:00
Tim Graham
817b75c54d
Added 'Sitarska' to spelling_wordlist.
2016-01-23 07:12:27 -05:00
Ola Sendecka
e72a495031
After almost a year I am finally adding myself :)!
2016-01-23 11:43:39 +00:00
Vincenzo Pandolfo
0490d72f2a
Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.
2016-01-22 18:29:56 -05:00
Preston Timmons
c00ae7f58c
Fixed #26118 -- Added 'is' operator to if template tag.
2016-01-22 15:35:28 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Tim Graham
79d0a4fdb0
Fixed #26121 -- Updated MySQL storage engine example.
...
default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.
2016-01-22 08:19:00 -05:00
Luke Plant
77974a684a
Changed `action="."` to `action=""` in tests and docs.
...
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.
2016-01-21 13:59:15 -05:00
Alexander Gaevsky
9a33d3d764
Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields.
2016-01-21 13:21:28 -05:00
Aymeric Augustin
f91b5a7e4b
Fixed #26063 -- Crash when passing > 2000 params.
...
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.
2016-01-21 10:47:15 +01:00
Anssi Kääriäinen
ee596888e1
Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model.
2016-01-20 19:13:05 -05:00
chemary
2d28144c95
Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True).
2016-01-20 18:19:24 -05:00
Tim Graham
073dd4ce79
Refs #26096 -- Forwardported 1.9.2 release note.
2016-01-19 07:35:48 -05:00
auvipy
5c048f95cc
Fixed typo in docs/index.txt.
2016-01-18 10:01:23 -05:00
Danilo Bargen
6a4f13de27
Added docs about configuring CSRF support in AngularJS.
2016-01-15 10:14:52 -05:00
Tim Graham
e519aab43a
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Simon Charette
fd1c5bb041
Fixed a typo in the 1.9.2 release notes.
2016-01-14 17:46:48 -05:00
Tim Graham
5b94b17fef
Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default.
2016-01-14 09:05:43 -05:00
Tim Graham
28acc0d6df
Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.
...
Thanks Thomas Güttler for the suggestion.
2016-01-14 07:24:25 -05:00
Iacopo Spalletti
21bf685f5e
Fixed #25697 -- Made default error views error when passed a nonexistent template_name.
2016-01-14 07:05:38 -05:00
Tim Graham
8d5d472c6d
Removed unused docs/_ext/applyxrefs.py
2016-01-13 11:49:42 -05:00
Tim Graham
03306a187e
Declared Sphinx extensions safe for parallel reading.
2016-01-13 11:33:25 -05:00
Alberto Avila
cca151d196
Refs #26071 -- Added test for __in lookup in a Case expression.
...
Forwardport of 5b3c66d8b6
from stable/1.8.x
2016-01-13 08:56:36 -05:00
Tim Graham
d45cfefbad
Refs #25769 -- Updated docs to reflect get_version() uses PEP 0440.
2016-01-13 07:06:34 -05:00
Tim Graham
a7752780d9
Removed an unncessary docs cross-reference for call_command().
2016-01-12 18:01:29 -05:00
Tim Graham
555f8e9d5c
Made CommandError use the exception directive in docs.
2016-01-12 12:28:55 -05:00
pp
b34ff66e5b
Added missing period to "etc.".
2016-01-11 18:05:15 -05:00
Tim Graham
294d0d8815
Fixed #26048 -- Made admin selenium tests use implicitly_wait()
2016-01-11 14:16:17 -05:00
Simon Charette
bc7d201bdb
Fixed #25858 -- Bound abstract model application relative relationships.
...
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input
and Tim for the review.
2016-01-11 12:23:23 -05:00
Varun Sharma
3d6474e1a5
Fixed #25385 -- Allowed importing views.generic.View from views.View.
2016-01-11 08:18:44 -05:00
Flavio Curella
0bc5cd6280
Fixed #25684 -- Made runserver use logging for request/response output.
...
Thanks andreif for the contributing to the patch.
2016-01-11 07:35:17 -05:00
pp
c8d970a548
Refs #25755 -- Unified a couple more spellings of 'website'.
2016-01-11 06:13:16 -05:00
bmsleight
8715205c5c
Fixed a typo in a modelforms docs example.
2016-01-09 13:00:59 -05:00
anabelensc
4c1fab0f29
Added a missing bracket in a queries docs example.
2016-01-09 12:17:21 -05:00
Tim Graham
c432dd40bd
Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization.
2016-01-08 19:00:56 -05:00
Collin Anderson
780bddf75b
Fixed #20846 -- Decreased User.username max_length to 150 characters.
2016-01-08 18:06:44 -05:00
Claude Paroz
cf7894be88
Fixed #21113 -- Made LogEntry.change_message language independent
...
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
Tim Graham
56aaae58a7
Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on Char/TextField with unique=True and db_index=True.
...
Thanks Simon Charette for review.
2016-01-08 12:47:05 -05:00
Alexander Gaevsky
ade54ffa34
Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.
...
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x
(refs #25997 ).
2016-01-08 12:28:32 -05:00
Tim Graham
db8f462494
Fixed #26055 -- Removed an orphaned phrase in docs/howto/deployment/wsgi/modwsgi.txt.
2016-01-08 09:36:58 -05:00
wingston sharon
7f218d9891
Fixed #25928 -- Clarified precendence of USE_THOUSAND_SEPARATOR and locale formats.
2016-01-07 14:32:18 -05:00
Alasdair Nicol
6ea7b6776c
Refs #24855 -- fixed typo in 1.10 release notes
2016-01-07 11:38:47 -05:00
Alexander Gaevsky
44930cc466
Fixed #24980 -- Fixed day determination in admin calendar widget.
2016-01-07 11:13:05 -05:00
Paulo Poiati
b643386668
Fixed #24855 -- Allowed using contrib.auth.login() without credentials.
...
Added an optional `backend` argument to login().
2016-01-07 08:56:07 -05:00
Simon Charette
7bb373e309
Refs #25746 -- Added a test utility to isolate inlined model registration.
...
Thanks to Tim for the review.
2016-01-06 20:00:07 -05:00
Niels Van Och
7f7553dd30
Fixed #25680 -- Added django-admin shell --command option.
...
Add a -c option to the shell command to execute a command passed as a
string as Django.
2016-01-06 18:43:41 -05:00
Claude Paroz
632a9f21bc
Fixed #26046 -- Fixed a crash with translations and Django-unknown language code
...
Thanks Jens Lundstrom for the report and Tim Graham for the review.
2016-01-06 20:30:56 +01:00
Scott Pashley
7cc2efc2d6
Fixed #26035 -- Prevented user-tools from appearing on admin logout page.
2016-01-06 13:48:02 -05:00
Tim Graham
62e83c71d2
Refs #25878 -- Added the expected return type of CSRF_FAILURE_VIEW.
2016-01-06 07:05:05 -05:00
Tim Graham
1e57dccb31
Added stub release notes for 1.8.9.
2016-01-05 13:19:20 -05:00
Tim Graham
49eeb0f570
Fixed #25878 -- Documented requirement that handler404 return a 404 response.
2016-01-05 11:23:13 -05:00
Denis Cornehl
186b6c61bf
Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.
...
Thanks Denis Cornehl for help with the patch.
2016-01-05 09:37:11 -05:00
Andrew Kuchev
d5b90c8e12
Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.
...
Thanks to mpasternak for the report and Tim Graham for the review.
2016-01-04 19:39:35 -05:00
Tim Graham
b07f91600d
Fixed #26032 -- Moved "project root directory" to a separate paragraph.
2016-01-04 10:52:20 -05:00
Jarek Glowacki
d8b651a544
Added missing step to transitioning squashed migrations.
2016-01-04 10:35:45 -05:00
James Bennett
6a298b220a
Update my location and current status in Django team docs.
2016-01-03 11:59:41 -06:00
Aymeric Augustin
91bf44afb3
Removed $PREVIOUS_EMPLOYER from my bio.
2016-01-03 16:12:45 +01:00
Mahendra Yadav
e8c34bb832
Added a missing import in tutorial 3.
2016-01-02 09:39:25 -05:00