0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

9175 Commits

Author SHA1 Message Date
eltronix
996cadfa5f Prevented findstatic argument from appearing as multiple options. 2016-05-12 20:26:33 -04:00
eltronix
f4bb2dce79 Fixed typo in docs/topics/conditional-view-processing.txt 2016-05-12 20:07:34 -04:00
Alex Simonides
0430ac95ab Updated ECMAScript link in docs/ref/request-response.txt 2016-05-12 20:06:34 -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
Victor Oliveira da Silva
4065f429f5 Fixed typo in docs/ref/contrib/gis/layermapping.txt 2016-05-12 08:16:18 -04:00
Tim Graham
baf3ec2e29 Refs #26052 -- Corrected a sentence for conditional_content_removal() removal. 2016-05-11 11:09:28 -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
Vasiliy Faronov
31e0314979 Fixed #26580 -- Updated references to obsolete RFC 2822.
Didn't rename django.utils.feedgenerator.rfc2822_date()
as some external code may rely on it.
2016-05-10 11:24:51 -04:00
Simon Charette
207c5b4acd
Fixed #26603 -- Forced lazy template names to text when computing cache key.
Refs #26536.

Thanks Sylvain Fankhauser for the very detailed report.
2016-05-10 10:03:01 -04:00
Tim Graham
f5ff5010cd Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
Tim Graham
6b5926978b Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget. 2016-05-07 20:01:15 -04:00
Vitaly Bogomolov
aec4f97555 Fixed #26402 -- Added relative path support in include/extends template tags. 2016-05-07 16:21:57 -04:00
Tobias McNulty
dbd99de6fa Fixed #26508 -- Clarified docs for various FieldFile methods. 2016-05-07 12:16:42 -04:00
Vasiliy Faronov
101dd787ec Fixed #26566 -- Rewrote an incorrect Cache-Control example. 2016-05-07 10:49:47 -04:00
Matthias K
8b2fce0f70 Fixed a typo 2016-05-07 15:40:53 +02:00
shiblystory
6ae617dc57 Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example. 2016-05-07 06:53:03 -04:00
Claude Paroz
b26fedacef Fixed #26544 -- Delayed translations of SetPasswordForm help_texts
Thanks Michael Bitzi for the reporti and Tim Graham for the review.
2016-05-07 10:17:49 +02:00
Tim Graham
c6499d532d Fixed syntax highlighting in docs/topics/cache.txt 2016-05-06 18:57:48 -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
Tim Graham
03efa304bc Refs #25847 -- Added system check for UserModel.is_anonymous/is_authenticated methods. 2016-05-06 08:56:06 -04:00
vytisb
b3acf35f13 Fixed code example in docs/howto/custom-lookups.txt 2016-05-06 08:26:07 -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
Dan Stephenson
1206eea11e Fixed #26558 -- Removed need for request context processor on admin login page. 2016-05-04 09:43:24 -04:00
Ville Skyttä
575a9a791e Normalized "an SQL" spelling. 2016-05-03 19:30:48 -04:00
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