Tim Graham
93c538694e
Fixed XSS in admin's add/change related popup.
...
This is a security fix.
2016-07-18 11:17:01 -04:00
Claude Paroz
255fb99284
Fixed #17209 -- Added password reset/change class-based views
...
Thanks Tim Graham for the review.
2016-07-16 10:36:12 +02:00
Tim Graham
ba246bd5fe
Fixed inconsistent indentation in docs/ref/models/options.txt
2016-07-15 13:42:37 -04:00
Claude Paroz
3e71f6544f
Fixed #26897 -- Fixed makemessages crash on Python 2 with non-ASCII file names
...
Thanks Tim Graham for the review.
2016-07-14 20:37:56 +02:00
Will Hardy
8ef78b8165
Fixed #26656 -- Added duration (timedelta) support to DjangoJSONEncoder.
2016-07-14 13:34:15 -04:00
Priy
a7b5dfd170
Fixed #26821 -- Fixed forms.Email/URLField crash on None value.
2016-07-14 12:59:14 -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
a117190477
Fixed #26894 -- Fixed a typo in docs/faq/admin.txt
2016-07-14 08:02:11 -04:00
Tom Carrick
46e2010460
Fixed typos in docs/ref/contrib/postgres/search.txt
2016-07-14 07:52:47 -04:00
Daniel Rice
08c723fbae
Reworded a sentence in tutorial 7.
2016-07-14 07:50:29 -04:00
Jon Dufresne
2e4cfcd2b9
Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().
2016-07-13 14:33:54 -07:00
Jiang Haiyun
10883b63b7
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt
2016-07-13 10:15:39 -04:00
Md. Sadaf Noor
1f82b857ce
Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer.
2016-07-12 13:45:01 -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
Anderson Resende
ba53da894f
Fixed #26796 -- Added a system check for m2m fields with ignored limit_choices_to.
2016-07-08 19:37:40 -04:00
Simon Charette
8a4f017f45
Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.
...
Thanks Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
082c52dbed
Refs #25774 , #26348 -- Allowed Trunc functions to operate with time fields.
...
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-08 12:35:34 -04:00
Simon Charette
90468079ec
Refs #25774 -- Adjusted datetime database function docs field names.
2016-07-08 12:35:34 -04:00
Sean Marlow
8b9e16ec85
Fixed #26837 -- Documented ModelMultipleChoiceField.to_field_name
2016-07-08 11:30:12 -04:00
Akshesh
3551fb537f
Refs #26709 -- Documented SchemaEditor.add/remove_index().
2016-07-07 10:21:25 -04:00
Akshesh
b1e7d19d4c
Refs #26709 -- Required a name for Indexes passed to AddIndex.
...
Thanks to Markush for discussions.
2016-07-07 07:31:23 -04:00
Mathieu Richardoz
f1af076fba
Fixed a typo in docs/ref/contrib/postgres/search.txt.
2016-07-07 07:06:17 -04:00
Tim Graham
415ae960bb
Fixed capitalization of "URL pattern".
2016-07-06 15:31:12 -04:00
Daniel Rice
1f9deba1b3
Improved grammar in tutorial01.
2016-07-06 15:24:03 -04:00
Baptiste Mispelon
a86fdfaa3b
Added copy-to-clipboard support for all code snippets
2016-07-06 17:11:59 +02:00
Romain Garrigues
8be84e2ac4
Fixed #25461 -- Corrected meta API code examples to account for MTI.
...
In the case of multiple-table inheritance models, get_all_related_objects() and
get_all_related_objects_with_model() don't return the auto-created
OneToOneField, but the new examples didn't account for this.
2016-07-06 09:28:37 -04:00
Taylor Edmiston
43d0345fe1
Fixed typo in docs/topics/class-based-views/generic-display.txt
2016-07-06 08:48:43 -04:00
Jiang Haiyun
6d61ec0e1a
Fixed a typo in auth docs.
2016-07-04 11:02:11 -04:00
Erik Romijn
8db889eaf7
Fixed #18682 -- Expanded explanation in stale content type deletion. ( #6869 )
2016-07-03 15:55:14 +02:00
Leila20
de4265e082
Fixed #26832 -- Added translated language name on the get_language_info documentation
2016-07-02 18:10:09 +02:00
Md. Sadaf Noor
ed1c15d8fb
Fixed #26829 -- Simplified version detection command in tutorial
2016-07-02 12:52:36 +02:00
Harry Moreno
30c65ee818
Added parallel test running to "Speeding up the tests" docs.
2016-07-01 09:05:40 -04:00
Berker Peksag
12b4280444
Fixed #21548 -- Added FileExtensionValidator and validate_image_file_extension.
2016-06-30 09:08:50 -04:00
Tim Graham
c9d0a0f7f4
Fixed #26002 -- Explained ModelAdmin.get_search_results() example.
2016-06-30 09:00:10 -04:00
Tsering
fc4b4fd585
Refs #23386 -- Documented that F() expressions are applied on each model.save()
2016-06-28 16:24:56 -04:00
Berker Peksag
52a991d976
Fixed #24694 -- Added support for context_processors to Jinja2 backend.
2016-06-28 14:30:54 -04:00
Camilo Nova
222e1334bf
Used strict comparison in docs/ref/csrf.txt's JavaScript.
2016-06-28 12:51:51 -04:00
Berker Peksag
c1b6f554e4
Fixed #15091 -- Allowed passing custom encoder to JSON serializer.
2016-06-28 11:10:07 -04:00
Akshesh
156e2d59cf
Fixed #26709 -- Added class-based indexes.
...
Added the AddIndex and RemoveIndex operations to use them in migrations.
Thanks markush, mjtamlyn, timgraham, and charettes for review and advice.
2016-06-27 10:41:01 -04:00
Ramiro Morales
c962b9104a
Added missing trailing '$' to url() patterns in docs.
2016-06-27 09:18:44 -04:00
Anderson Resende
2032bcf182
Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.
2016-06-27 09:06:54 -04:00
Claude Paroz
9588718cd4
Fixed #5897 -- Added the Content-Length response header in CommonMiddleware
...
Thanks Tim Graham for the review.
2016-06-27 10:44:57 +02:00
Bang Dao + Tam Huynh
09119dff14
Fixed #26719 -- Normalized email in AbstractUser.clean().
2016-06-24 10:37:38 -04:00
Claude Paroz
78963495d0
Refs #17209 -- Added LoginView and LogoutView class-based views
...
Thanks Tim Graham for the review.
2016-06-24 10:45:13 +02:00
Tim Graham
81cdcb66bc
Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0.
2016-06-23 12:04:05 -04:00
jasisz
b5a1c3a6f5
Fixed #25920 -- Added support for non-uniform NUMBER_GROUPING.
2016-06-22 17:28:49 -04:00
Zbigniew Siciarz
46338296aa
Fixed typo in 1.11 release notes.
2016-06-22 12:10:42 -04:00
Tim Graham
91c02ca7ba
Fixed a heading typo in docs/releases/1.11.txt
2016-06-22 11:16:18 -04:00
John-Scott Atlakson
9a54face25
Fixed typo in docs/topics/logging.txt
2016-06-22 06:38:34 -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
Sergey Fedoseev
5ce660cd65
Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml().
2016-06-21 15:46:27 -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
Andrew Nester
a12826bba7
Fixed #26776 -- Documented url()'s view argument.
2016-06-20 11:53:29 -04:00
Tobias McNulty
17e661641d
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
...
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Tim Graham
00551c3eff
Fixed typo in docs/topics/db/managers.txt
2016-06-20 09:07:20 -04:00
Claude Paroz
f7a363ee1d
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
...
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Trey Hunner
91e9be45ed
Added urlpatterns variable in docs/topics/http/urls.txt.
2016-06-17 21:01:43 -04:00
Carl Meyer
7d1b69dbe7
Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
2016-06-17 10:00:39 -07:00
Krzysztof Jurewicz
6dd4d2709b
Fixed #26774 -- Corrected value of default_zoom in GeoModelAdmin doc
2016-06-17 14:01:13 +02:00
Jon Dufresne
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
2016-06-16 14:19:18 -04:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
Sergey Fedoseev
db613f4f12
Refs #14030 -- Updated docs per "Improved expression support for python values."
...
Complements e2d6e14662
.
2016-06-15 10:34:15 -04:00
Tim Graham
abec15ad81
Removed nonexistent attribute in docs/ref/contrib/admin/index.txt
2016-06-15 08:31:38 -04:00
Ville Skyttä
7003174fec
Fixed #26754 -- Documented django.template.context_processors.tz
2016-06-14 11:57:17 +02:00
Jon Dufresne
267dc4addd
Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.
...
Previously, empty values were saved as strings.
2016-06-13 09:14:36 -04:00
Berker Peksag
0bce2f102c
Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.
2016-06-10 10:57:22 -04:00
Vytis Banaitis
83120af2c1
Refs #26524 -- Fixed an error in 1.11 release notes.
2016-06-09 20:34:53 -04:00
Berker Peksag
8f50ff5b15
Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example.
2016-06-09 12:50:35 -04:00
Michal Petrucha
686a593aaa
Fixed #26648 -- Added a system check for invalid related_query_name's containing underscores.
2016-06-09 11:57:32 -04:00
John Karahalis
37b36af6c6
Fixed typo in docs/intro/tutorial07.txt
2016-06-09 11:15:39 -04:00
Berker Peksag
ae2a7da86b
Fixed #20468 -- Added loaddata --exclude option.
...
Thanks Alex Morozov for the initial patch.
2016-06-09 10:35:32 -04:00
Sergey Fedoseev
21130ce1a9
Fixed #26718 -- Added system check for existence of the fields specified by ForeignKey.to_field.
2016-06-09 10:19:09 -04:00
krishbharadwaj
f6681393d3
Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display display the id.
2016-06-08 17:20:03 -04:00
Berker Peksag
724dd2043e
Fixed #26717 -- Added Serializer.stream_class to customize the stream.
2016-06-08 11:08:18 -04:00
Baylee Feore
7767978bee
Fixed #26702 -- Documented how to change the base class of a custom field.
2016-06-08 10:37:39 -04:00
Tommy Beadle
729b9452b1
Fixed #26704 -- Documented DjangoJSONEncoder.
2016-06-07 14:53:19 -04:00
Scott Vitale
be729b6120
Fixed #10107 -- Allowed using mark_safe() as a decorator.
...
Thanks ArcTanSusan for the initial patch.
2016-06-07 12:24:03 -04:00
Jon Dufresne
31a9a965a3
Added some links to the TypedChoiceField docs.
2016-06-06 12:11:17 -04:00
Tom Christie
316395d828
Fixed #26713 -- Documented resolving deprecation warnings before upgrade.
2016-06-06 11:38:02 -04:00
Tim Graham
6a316423df
Documented known Python 3.5+ test failures in contributing tutorial.
2016-06-06 10:49:44 -04:00
wim glenn
5ebebd1159
Fixed #26707 -- Added QueryDict.fromkeys()
2016-06-06 08:54:25 -04:00
Tom Christie
da22079c21
Linked to upgrade guide from release notes.
2016-06-06 07:28:55 -04:00
Tim Graham
01e567864e
Added stub release notes for 1.9.8.
2016-06-04 19:58:14 -04:00
Tim Graham
1f5eb521a0
Added release date for 1.9.7.
2016-06-04 19:24:51 -04:00
Vytis Banaitis
2f9c4e2b6f
Fixed #19963 -- Added support for date_hierarchy across relations.
2016-06-04 12:14:02 -04:00
Vytis Banaitis
89ca112884
Fixed a typo in docs/ref/models/querysets.txt
2016-06-04 12:04:40 -04:00
Evan Palmer
84d8d1d715
Fixed #25127 -- Documented how to organize models in a package.
2016-06-04 11:47:55 -04:00
Holly Becker
55fec16aaf
Fixed #26628 -- Changed CSRF logger to django.security.csrf.
2016-06-04 10:17:06 -04:00
Anton I. Sipos
c3495bb984
Fixed #12666 -- Added EMAIL_USE_LOCALTIME setting.
...
When EMAIL_USE_LOCALTIME=True, send emails with a Date header
in the local time zone.
2016-06-04 09:55:50 -04:00
Berker Peksag
b9c04801d4
Used snippet directive in file upload example.
2016-06-04 09:24:30 -04:00
Tim Graham
e2296e7f0a
Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True.
...
Thanks Simon Charette for review.
2016-06-04 08:04:51 -04:00
Berker Peksag
54febdb8be
Fixed #26604 -- Added a multiple file upload example to topics/http/file-uploads.txt.
2016-06-03 17:36:31 -04:00
B. J. Potter
9c53facc45
Fixed #26596 -- Added Jinja2 {{ csrf_input }} documentation.
2016-06-03 15:24:45 -04:00
B. J. Potter
261738990e
Added syntax highlighting to CSRF example.
2016-06-03 15:18:58 -04:00
mieciu
19ff506878
Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
2016-06-03 12:30:21 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Will Koster
9899347641
Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/update_or_create() defaults.
2016-06-03 10:00:53 -04:00
shaunagm
44c7e5d374
Fixed #26701 -- Replaced /newticket links to Trac with /.
2016-06-03 08:48:12 -04:00
Holly Becker
ff9198ee0f
Refs #26628 -- Documented CSRF failure logging.
2016-06-02 20:42:41 -04:00