Thomas Chaumeny
00aa562884
Fixed #23493 -- Added bilateral attribute to Transform
2014-10-28 10:02:10 +02:00
Oliver Meinusch
6b39401baf
Fixed QuerySet datetimes argument name in docs.
2014-10-27 19:48:29 -04:00
Tim Graham
e460b1c573
Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
...
Thanks inglesp for the report.
2014-10-27 18:17:50 -04:00
bahoo
af7d66b4f2
Fixed typo in squashing migrations documentation
2014-10-27 14:16:39 -07:00
Claude Paroz
528c9af543
Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None
2014-10-27 13:56:25 +01:00
Tim Graham
01b4a13db4
Forwardported release note for refs #23621 .
2014-10-27 07:01:12 -04:00
Tony Zhu
dd1ea70779
Fixed #23699 -- Prevented flush from loading initial data for apps with migrations.
2014-10-27 06:56:44 -04:00
Ilya Baryshev
ed7c4df1ee
Fixed documentation of make_password kwargs.
2014-10-27 06:36:55 -04:00
Claude Paroz
7f089ac2e3
Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
...
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
2014-10-27 09:11:33 +01:00
Berker Peksag
695956376f
Removed simplejson inventory file from docs/conf.py.
2014-10-25 07:31:12 +03:00
Tim Graham
dc241fdfdf
Replaced dead links to python-distribute.org.
2014-10-24 18:58:31 -04:00
Berker Peksag
1387c80643
Fixed versionchanged indentation in topics/testing/advanced.txt.
2014-10-24 15:41:18 -04:00
Claude Paroz
e50e0ee27b
Fixed #23618 -- Allowed apps with no models to still have migrations
...
Basically a4737bf6ae
reapplied.
2014-10-24 15:10:39 +02:00
James Doherty
adf8fb34ce
Fixed typo in docs/ref/request-response.txt
2014-10-24 07:48:39 -04:00
Tim Graham
92269b7b53
Fixed #23702 -- Fixed adding an explicit id field on SQLite.
...
Thanks gavinwahl for the report.
2014-10-23 12:24:34 -04:00
a1tus
2d75515a4c
Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
2014-10-23 09:49:24 -04:00
Tim Graham
4b0a45ce64
Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.
...
Thanks Keryn Knight for the report.
2014-10-23 08:15:54 -04:00
Tim Graham
41b337efa0
Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.
...
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
2014-10-23 08:05:39 -04:00
Berker Peksag
22c85bf1a8
Fixed versionchanged indentation in unit-tests.txt.
2014-10-23 08:03:41 -04:00
Tim Graham
4bf86d25e5
Added stub release notes for 1.7.2.
2014-10-22 13:38:57 -04:00
Tim Graham
9dc782b631
Added release dates to release notes.
2014-10-22 12:23:21 -04:00
Berker Peksag
e55fc60f81
Removed unused import from the JSON serialization example.
...
This is a leftover from 5612f54bd5
.
2014-10-21 23:49:40 -04:00
Claude Paroz
8b4cc9df9c
Fixed #23583 -- More selectively ignored static/media roots
...
Fixed a regression introduced by 28efafa24c
.
Thanks Michal Čihař for the report and initial patch, and
Collin Anderson and Tim Graham for the reviews.
2014-10-21 20:18:21 +02:00
Ralph Broenink
3a34e45fdb
Fixed firstof docs error introduced in 1ea44a; refs #17906 .
2014-10-21 09:08:27 -04:00
Claude Paroz
f0bb3c98cc
Fixed #21740 -- Allowed test client data to be an empty string
...
This fixes a regression introduced by 2a31d00933
.
Thanks tony-zhu for the report.
2014-10-21 09:16:57 +02:00
Carl Meyer
2118aa8aea
Clarify that HTTP Accept-Language header is case-insensitive.
2014-10-20 12:01:28 -06:00
Tianyi Wang
5732424bee
Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.
...
Thanks Naddiseo for reporting.
2014-10-20 13:14:44 -04:00
Jon Dufresne
59026bfbf9
Fixed #23668 -- Changed make_aware() and make_naive() to use the current timezone by default
...
Thanks Aymeric Augustin for review.
2014-10-20 12:42:10 -04:00
Tim Graham
740934b507
Fixed #23692 -- Removed alpha/beta/rc release notes.
2014-10-20 12:28:48 -04:00
Claude Paroz
685edab9da
Fixed #23685 -- Made call_command skip checks by default
...
Thanks Loic Bistuer for the report/review and Tim Graham for the
review.
2014-10-20 17:26:00 +02:00
Tim Graham
a39df37049
Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory.
2014-10-20 10:51:25 -04:00
wrwrwr
62a53bdf11
Fixed a typo in urlencode documentation.
2014-10-19 11:01:14 +02:00
Jon Dufresne
c1b9f99a81
Fixed #23676 -- Rearranged sentence; "by default" applies only to max length
2014-10-18 06:55:11 -04:00
Tim Graham
7ae03204ac
Fixed #23469 -- Removed test runner compatibility check which often yielded false positives.
2014-10-17 10:31:49 -04:00
Tim Graham
6ce6c77e03
Added 1.7.1 release notes for refs #23649 .
2014-10-17 08:56:39 -04:00
Tim Graham
babbf18999
Fixed some intersphinx references.
2014-10-16 20:00:17 -04:00
Tim Graham
bedd439297
Fixed #23667 -- Incorrect settings reference for language cookie.
...
Thanks jamesbeith for the report.
2014-10-16 19:41:15 -04:00
Rigel Di Scala
a5c77417a6
Fixed #23615 -- Validate that a Model instance's "check" attribute is a method.
...
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.
This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".
2014-10-16 23:49:21 +07:00
mcgeeco
80b8d3bee0
Fixed #12008 -- Clarified relationship between template blocks and includes.
...
Thanks Daniele Procida for suggested wording.
2014-10-16 10:53:17 -04:00
Berker Peksag
303a848631
Fixed IRC channel name in submitting-patches.txt.
...
The development channel is #django-dev.
2014-10-16 16:56:37 +03:00
Claude Paroz
2e5b2c612e
Fixed #23579 -- Changed GEOSGeometry.__str__ to include the SRID
...
Thanks Tim Graham for the review.
2014-10-16 09:30:37 +02:00
Ian Lee
947af46db3
Fixed pep8 in docs/topics/logging.txt
2014-10-15 18:54:15 -04:00
Anubhav Joshi
10b17a22be
Fixed #19508 -- Implemented uri_to_iri as per RFC.
...
Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz
for the review.
2014-10-16 02:31:17 +07:00
Collin Anderson
1b2debe896
Fixed #23637 -- Removed TUX, lighttpd, and Cherokee as common.
2014-10-15 08:28:27 -04:00
Greg Chapple
9743aa5436
Clarified documentation relating to usage of serialized_rollback for certain classes
2014-10-14 17:13:37 +01:00
Nadja Deininger
905a9a263b
Fixed #23534 -- Added documentation on blocktrans tags
...
Mentioned that other block tags are not allowed inside
a blocktrans template tag.
Thanks to edu2004eu for reporting the issue.
2014-10-13 16:52:09 +01:00
Claude Paroz
59d487e7fc
Fixed #23638 -- Prevented crash while parsing invalid cookie content
...
Thanks Philip Gatt for the report and Tim Graham for the review.
2014-10-13 17:37:58 +02:00
Tom Dyson
8701b59007
Cleaned up the Memcached cache backend doc
...
Consistent casing, minor typo fixes, reduced rhetoric.
2014-10-13 12:19:05 +01:00
Florian Apolloner
8d789449c7
Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP backend as per RFC.
2014-10-12 22:01:24 +02:00
Thomas Chaumeny
6448dd8335
Fixed #23642 -- Made LocMemCache.incr() thread-safe as documented
2014-10-12 23:47:48 +07:00
Dori
c48a29a02a
Fixed #23639 -- Fixed doc error in RegexValidator.regex
...
Thanks to @claudep for the report and the original patch.
2014-10-12 12:59:26 +01:00
Curtis
c6ea678c2e
Added my bio to team docs.
2014-10-11 07:44:50 -04:00
Tim Graham
9db3653670
Fixed #23631 -- Removed outdated note on MySQL timezone support.
...
Thanks marfire for the report.
2014-10-10 15:18:54 -04:00
Konrad Świat
06b11b617e
Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.
...
Thanks ranjur for reporting bug, timgraham for review,
and collinanderson for contributing tips.
2014-10-10 12:10:32 -04:00
Jaap Roes
115c307184
Fixed #23613 -- Deprecated django.utils.checksums
2014-10-10 09:22:20 -04:00
Jaap Roes
1b5918f160
Fixed #23625 -- Removed CacheClass shim
2014-10-10 08:43:26 -04:00
Claude Paroz
2bd1bbc424
Converted GIS lookups to use the new Lookup API
...
Thanks Tim Graham, Anssi Kääriäinen and Marc Tamlyn for the
reviews.
2014-10-09 21:38:50 +02:00
Marc Tamlyn
92a17eaae0
Fixed #23627 -- Allowed register_lookup to work as a decorator.
2014-10-09 18:44:58 +01:00
Loic Bistuer
bf1bb07bf0
Updated release notes following backport of a407b84
. Refs #23365 .
2014-10-09 22:48:27 +07:00
Markus Holtermann
f633ba778d
Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
...
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-10-09 21:32:06 +07:00
Collin Anderson
15d350fbce
Updated my bio.
...
This better reflects why I was invited to the team.
2014-10-09 08:45:19 -04:00
Tim Graham
9e2e4cb6dd
Added 1.7.1 release notes for refs #23333 .
2014-10-08 14:06:18 -04:00
Tim Graham
e949f4435f
Fixed #23587 -- Clarified admin template overriding in tutorial 2.
...
Thanks Petrus van Bork for the report.
2014-10-08 08:19:11 -04:00
Loic Bistuer
ed37f7e979
Fixed #23611 -- update_or_create failing from a related manager
...
Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
2014-10-08 03:27:31 +07:00
Jon Dufresne
c1ef234e31
Fixed #23522 -- Changed reverse() to return a Unicode string; not bytes
2014-10-07 13:06:39 -04:00
Tom Christie
e9b85fd626
Added my bio to the core team.
2014-10-07 08:22:57 -04:00
Tim Graham
87eedfff44
Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
...
Thanks Rolandde for the report.
2014-10-06 17:44:58 -04:00
Tim Graham
9dff5ce7c7
Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII characters in request.
...
Thanks edevil for the report and Simon Charette for review.
2014-10-06 17:35:53 -04:00
Carl Meyer
6f6e7d01dc
Merge pull request #3308 from aericson/ticket_22064
...
Fixed #22064 -- Add check for related_name
2014-10-06 14:06:33 -06:00
Tim Graham
51165401be
Moved release note for refs #23601 to 1.7.1.
2014-10-06 13:35:52 -04:00
Carl Meyer
844ba211ce
Merge pull request #3307 from Markush2010/ticket23602
...
Fixed #23602 -- Add comment on get_absolute_url regarding user input
2014-10-06 11:28:11 -06:00
Markus Holtermann
04bd84786d
Fixed #23602 -- Add comment on get_absolute_url regarding user input
2014-10-06 19:11:06 +02:00
Loic Bistuer
ec2fd02bb3
Fixed #23594 -- Fixed deepcopy on ErrorList.
...
Thanks Troy Grosfield for the report and Tim Graham for the tests.
2014-10-07 00:09:55 +07:00
Collin Anderson
1edaa55201
Added my bio to the core team.
2014-10-06 12:28:55 -04:00
Kostochko Dmitriy
13409b932a
Updated links in admin docs to use :ref:
...
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.
2014-10-06 10:46:16 -04:00
Markus Holtermann
2f16ff5a6c
Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.
2014-10-06 09:31:39 -04:00
Emmanuelle Delescolle
a24cf21722
Fixed #23604 -- Allowed related m2m fields to be references in the admin.
...
Thanks Simon Charette for review.
2014-10-06 08:35:16 -04:00
Ismail Badawi
e501d4c505
Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
2014-10-06 08:23:42 -04:00
Thomas Chaumeny
6baa46cb8b
Updated assertQuerysetEqual documentation following 311b3ad9db
2014-10-05 23:13:04 +02:00
André Ericson
1e5e2a4707
Fixed #22064 -- Add check for related_name
...
Validates that related_name is a valid Python id or ends with a '+' and
it's not a keyword. Without a check it passed silently leading to
unpredictable problems.
Thanks Konrad Świat for the initial work.
2014-10-04 20:47:26 -03:00
Marc Tamlyn
acdbecda05
Fix formatting error in UUIDField docs.
2014-10-04 12:22:11 +01:00
Erik Romijn
2bb00b0b0b
Made minor typographic correction to SECRET_KEY docs.
...
4ad57bbe31
included a few odd
quotation marks.
2014-10-04 10:32:30 +02:00
Erik Romijn
4ad57bbe31
Fixed #22310 -- Documented exact usage of SECRET_KEY
...
Thanks to Tim Graham for the review.
2014-10-04 09:20:35 +02:00
Jon Dufresne
8c581ff394
Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slug
...
Enabling the attribute causes get_object() to perform its lookup
using both the primary key and the slug.
2014-10-02 15:42:30 -04:00
Markus Holtermann
85f6d89313
Fixed #23426 -- Allowed parameters in migrations.RunSQL
...
Thanks tchaumeny and Loic for reviews.
2014-10-02 11:52:40 -04:00
ticalcster
d49993fa8f
Fixed typo in docs/ref/contrib/sites.txt
2014-10-02 09:08:07 -04:00
Luke Plant
01a7e0b9c5
Updated docs/spelling_wordlist
2014-10-02 11:52:05 +01:00
Luke Plant
ca139bbfdf
Documented how to rename get_query_set if you are a library author
2014-10-02 11:19:18 +01:00
Tim Graham
32c7d3c061
Fixed #15089 -- Allowed contrib.sites to lookup the current site based on request.get_host().
...
Thanks Claude Paroz, Riccardo Magliocchetti, and Damian Moore
for contributions to the patch.
2014-10-01 16:23:20 -04:00
jnothman
20f868bc5a
Added flat=False to signature of QuerySet.values_list()
2014-10-01 13:06:30 -04:00
Rudy Mutter
a407b846b4
Fixed #23365 -- Added support for timezone-aware datetimes to migrations.
2014-09-29 20:45:43 -04:00
Duane Hilton
054bdfeff1
Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Tim Graham
90761d00e3
Fixed spelling mistakes and added words to wordlist.
2014-09-29 17:43:16 -04:00
Greg Brown
9e8658db51
Fixed typo in docs/topics/db/managers.txt
2014-09-29 07:45:28 -04:00
Thomas Chaumeny
b2aad7b836
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
...
Thanks Collin Anderson for the review.
2014-09-29 00:01:38 +07:00
Loic Bistuer
b23d47412c
Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imports.
...
Thanks Tim Graham for the review.
2014-09-27 00:36:28 +07:00
Carl Meyer
f5c932ddec
How many is two?
2014-09-26 11:23:46 -06:00
Carl Meyer
d16bc7f0e4
Fixed #23561 -- Corrected a security doc example that requires an unquoted HTML attribute.
...
Thanks "djbug" for the report.
2014-09-26 11:07:55 -06:00
Matt Robenolt
ef5f9b6ae8
Fixed #23460 -- Added literal `%s` support to extra() QuerySets.
2014-09-26 13:01:27 -04:00
Thomas Chaumeny
17557d068c
Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.
...
Thanks lidaobing for the suggestion.
2014-09-26 12:12:40 -04:00
Tim Graham
a8f07530a7
Fixed #23537 -- Added Oracle GIS SchemaEditor.
...
Thanks Shai Berger for review.
2014-09-25 20:16:54 -04:00
Markus Holtermann
45bd7b3bd9
Fixed #23455 -- Forced related_name to be a unicode string during deconstruction.
2014-09-25 17:49:44 -04:00
Tim Graham
74e7f91e6d
Fixed #23538 -- Added SchemaEditor for MySQL GIS.
...
Thanks Claude Paroz for suggestions and review.
2014-09-25 13:53:44 -04:00
Markus Holtermann
215aa4f53b
Fixed #23415 -- Added fields for unmanaged and proxy model migrations.
...
Thanks sky-chen for the report.
2014-09-25 10:25:03 -04:00
Claude Paroz
5066fda34d
Replaced input by textarea in forms docs
2014-09-25 15:09:12 +02:00
Tim Graham
3a46399543
Removed incorrect item in 1.7.1 release notes.
...
The issue only affects master; refs #23551 .
2014-09-25 08:18:03 -04:00
Marco Buttu
e077c29155
Fixed #23551 -- Fixed bash autocompletion crash on Python 3.
2014-09-25 07:44:22 -04:00
Michael Manfre
49e693c813
Added my bio to team.txt
2014-09-24 22:45:03 -04:00
Tim Graham
d7ab2cefb7
Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations."
...
This reverts commit abcf28a076
.
2014-09-24 15:49:30 -04:00
Tim Graham
a4f23eba2e
Fixed #23421 -- Corrected TEST SERIALIZE setting.
...
Thanks gkoller for the report.
2014-09-24 14:46:10 -04:00
Markus Holtermann
c692e37b63
Fixed #22959 -- Documented that class-based validators need to be deconstructible.
2014-09-24 14:32:49 -04:00
Markus Holtermann
066e672d79
Fixed #23473 -- Documented that @deconstructible classes need __eq__.
2014-09-24 14:19:11 -04:00
Tim Graham
450a616004
Corrected --noinput docs for makemigrations; refs #23407 .
2014-09-24 13:29:07 -04:00
Thomas Grainger
21683011d5
Added SuspiciousOperation to list of caught exceptions in testing docs.
2014-09-24 13:04:11 -04:00
Markus Holtermann
b9a670b227
Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
2014-09-24 07:20:57 -04:00
Justin Caratzas
cf43a1ee90
Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin.
2014-09-24 06:32:42 -04:00
Shai Berger
d128eac316
Changed Oracle test-user creation to grant privileges instead of roles
...
because the roles (specifically RESOURCE) are deprecated.
Also added optional support for creating views in tests, and made an
introspection test fail (rather than skip) if a view cannot be created
due to lacking privileges.
Refs #18782
Thanks Tim Graham for review, and Josh Smeaton
2014-09-24 04:58:33 +03:00
Sergey Fedoseev
463952d940
Fixed #23503 -- Fixed renaming of model with self-referential m2m field.
2014-09-23 10:03:37 -04:00
Sergey Fedoseev
83cd18633f
Fixed #23065 -- Quoted constraint names in SQL generated by migrations.
2014-09-23 09:25:31 -04:00
Corey Farwell
37b13033c6
Removed sudo from pip commands in docs.
2014-09-22 15:49:48 -04:00
velis74
24aa85cea9
Fixed #23535 -- Updated tutorial to account for default filter added in 5ea34f3f86
.
2014-09-22 15:22:25 -04:00
Dejan Noveski
903d144d85
Fixed #23532 -- Fixed Macedonian locale date formats
2014-09-22 18:04:57 +02:00
Ola Sitarska
21819e6dbf
Fixed #23512 -- Made migration docs about initial_data clearer
...
Thanks @abhillman and @Markush2010 for submitting the ticket.
2014-09-21 18:32:19 +02:00
Ola Sitarska
b9b8895acb
Fixed #23527 -- Removed Cheetah references in docs
...
Thanks to @aaugustin for submitting the ticket.
2014-09-21 18:03:31 +02:00
Ola Sitarska
ee442e97da
Fixed #23529 -- Replaced comments tag library with humanize in docs
2014-09-21 17:31:13 +02:00
Claude Paroz
5bf654e44b
Fixed #23530 -- Specified PyYAML requirement in initial-data.txt
...
Thanks aks for the report.
2014-09-21 16:00:19 +02:00
Aymeric Augustin
d18579d219
Small fixes in templates topic guide.
...
>>> from django.template.defaultfilters import register
>>> len(register.filters)
57
2014-09-20 19:23:22 +02:00
Matt Robenolt
b88e31348b
Don't recommend using sudo when installing uwsgi
2014-09-19 22:58:49 -07:00
Aymeric Augustin
47ff469057
Fixed a formatting issue in the 1.7 release notes.
2014-09-19 13:05:20 +02:00
Damien Baty
ad491ecc6e
Fixed #23488 -- Added AnonymousUser.get_username().
2014-09-18 10:48:28 -04:00
Tim Graham
023a3d9915
Updated release notes for backporting locale additions; refs #23368 and #23417 .
2014-09-17 11:11:10 -04:00
Josh Smeaton
0eb5cde9da
Fixed #21775 -- Allowed customization of datafile for Oracle tablespace
2014-09-17 09:55:33 -04:00
Tim Graham
54fd84e432
Fixed #23491 -- Clarified tutorial 3.
...
Thanks diek for the suggestion.
2014-09-17 08:37:27 -04:00
Joseph Dougherty
ab8248361e
Fixed #23499 -- Error in built-in template tag "now" documentation
2014-09-17 09:21:33 +02:00
Tim Graham
a0dfef02df
Moved some people to "past team members".
2014-09-16 13:12:33 -04:00
Tim Graham
82a5ce801b
Fixed typo in docs/internals/roles.txt and added words to spelling_wordlist.
2014-09-16 08:38:51 -04:00
Tim Graham
92a8213fdb
Added 1.7.1 release notes for refs #23492 .
2014-09-16 08:32:23 -04:00
Marc Tamlyn
ed7821231b
Fixed #19463 -- Added UUIDField
...
Uses native support in postgres, and char(32) on other backends.
2014-09-16 10:08:09 +01:00
Tim Graham
0d1561d197
Fixed #23486 -- Corrected makemigrations output in tutorial 1.
...
Thanks nmarler for the report.
2014-09-15 20:27:52 -04:00
valtron
abcf28a076
Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations.
2014-09-15 14:56:59 -04:00
Simon Meers
021f963e23
Move my bio to "Past team members" section whilst I'm inactive.
2014-09-15 20:41:58 +10:00
Tim Graham
6426928f56
Fixed broken link in 1.7 release notes.
2014-09-13 20:20:01 -04:00
Malte Beckmann
22bfc45146
Fixed #23466 -- Removed seconds from all locale time output formats.
2014-09-13 13:00:42 -04:00
José Padilla
5472d18e31
Fixed #23461 -- Added EMAIL_TIMEOUT setting
2014-09-13 09:33:21 -04:00
Tim Graham
0ae79014c0
Forwardported 1.4.16 release notes.
2014-09-13 09:23:00 -04:00
Tim Graham
08042f1a73
Added 1.7.1 release notes for refs #23483 .
2014-09-13 09:21:52 -04:00
Tim Graham
9c8c28f6f4
Added ops team to roles.txt.
2014-09-12 15:25:21 -04:00
Tim Graham
52ef6a4726
Fixed #17101 -- Integrated django-secure and added check --deploy option
...
Thanks Carl Meyer for django-secure and for reviewing.
Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and
Jorge Carleitao for reviews.
2014-09-12 15:05:23 -04:00
Tim Graham
66580fe97c
Fixed #23403 -- Fixed crash in contrib.sitemaps if lastmod returned a date rather than datetime.
...
Thanks igorcc for the report.
2014-09-11 16:09:23 -04:00
Gabe Jackson
c5b4145fca
Added link to LogRecord attributes in logging.txt
2014-09-11 21:37:16 +02:00
Tim Graham
cc5e81c46d
Added some items to the 1.7.1 release notes.
2014-09-10 13:25:40 -04:00
Tim Graham
e265112cd1
Fixed typo in topics/forms/formsets.txt
2014-09-10 11:17:33 -04:00
Andi Albrecht
00535e8e6b
Fixed #20743 -- Added support for keyfile/certfile in SMTP connections.
...
Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch.
2014-09-10 11:14:20 -04:00
Malte Beckmann
1ac32e76ac
Fixed #23417 -- Completed locale formats for zh_CN, zh_Hans, zh_Hant and zh_TW.
2014-09-10 09:07:07 -04:00
Markus Holtermann
6d5958c7a3
Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.
...
Thanks fwkroon for the report.
2014-09-10 07:54:16 -04:00
Iain Dawson
ef8ef2a42d
Fixed an instance of 'an' before a word beginning with a consonant.
2014-09-10 09:44:12 +01:00
Duncan Parkes
df7187d795
Fixed #23368 -- Overhauled the Welsh formats.py file.
...
The only debatable thing here is setting FIRST_DAY_OF_WEEK to 1.
The only examples of calendars I can find in Welsh start on Monday,
for example, the calendar on S4C (the only all Welsh TV station).
http://www.s4c.co.uk/clic/c_clicschedule.shtml
2014-09-09 20:48:33 -04:00
Greg Brown
b4d486c80f
Note re migrations importing custom fields
2014-09-10 09:52:44 +12:00
Aymeric Augustin
9562ffea97
Avoid the word "stupid".
...
There's always a better word.
2014-09-09 20:55:57 +02:00
Tim Graham
c32bc1a7a7
Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
...
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.
2014-09-09 11:05:31 -04:00
Sébastien Fievet
e5ae03fd5a
Fixed missing trailing parenthesis in docs/releases/1.7.txt
2014-09-09 16:00:01 +02:00
Tim Graham
c7f7432be5
Fixed #23350 -- Updated mod_wsgi auth example to use less memory.
...
Thanks Graham Dumpleton for the report.
2014-09-09 09:32:19 -04:00
Petras Zdanavičius
f7eee04ebe
Fixed #23451 -- Fixed typo in inlineformset_factory() error message.
2014-09-08 17:22:23 -04:00
Aymeric Augustin
aa399f6b8b
Use "catch" instead of "trap" for exceptions.
...
This is the idiomatic word in the Python world.
2014-09-08 22:23:44 +02:00
Markus Holtermann
d28b5f13b3
Fixed #23418 -- Fail when migration deconstruct produces invalid import
2014-09-08 21:27:34 +02:00
Marc Tamlyn
f9419a6dc0
Revert "Removed dead link in release notes."
...
This reverts commit cbbc7131c1
.
2014-09-08 18:56:46 +01:00
Simon Charette
342ccbddc1
Fixed #23431 -- Allowed inline and hidden references to admin fields.
...
This fixes a regression introduced by the 53ff096982
security fix.
Thanks to @a1tus for the report and Tim for the review.
refs #23329 .
2014-09-08 13:49:07 -04:00
Marc Tamlyn
cbbc7131c1
Removed dead link in release notes.
2014-09-08 18:44:03 +01:00
Octowl
5f3806b861
Fixed #23307 -- Clarified the way max_num limits the output of formsets.
...
Thanks velle for the report.
2014-09-08 13:22:15 -04:00
Tim Graham
60c38c1a4e
Fixed #23281 -- Added "concrete model" to glossary.
...
Thanks knowledgepoint-devs for the suggestion.
2014-09-08 08:45:47 -04:00
Andrew Pinkham
4680d25df2
Fixed #22951 -- Checked for types during deep_deconstruct migration serialization process.
...
Thanks Sam Hartsfield for the report.
2014-09-08 07:39:09 -04:00
Sébastien Fievet
f36ab2d3f2
Fixed typo in docs/howto/custom-lookups.txt.
2014-09-07 11:29:20 +02:00
Tim Graham
0b5bd398fa
Added the inaugural technical board.
2014-09-06 19:13:29 -04:00
Marc Tamlyn
14c8456ffe
Fixed #23416 -- Make sure DatabaseCreation respects checks.
...
Migrations respected Field.db_parameters()['check'], but
DatabaseCreation was still using just Field.db_type().
2014-09-06 19:01:06 +01:00
Paul McMillan
e5febfb3c3
Move Gabriel Hurley to "Past Team Members"
2014-09-06 10:44:17 -07:00
Paul McMillan
a4ab0495cc
Update bio for Paul McMillan to remove dead links
2014-09-06 10:32:10 -07:00
Alex Gaynor
0707fbc73f
Convert myself to an emeritus member
2014-09-06 10:20:56 -07:00
Aymeric Augustin
dfe209a0c0
Fixed #23437 -- Documented required update of WSGI scripts for 1.7.
...
Thanks Tim for the review.
2014-09-06 19:02:06 +02:00
Collin Anderson
fa74dba994
Refs #23430 -- gunicorn wants a module, not file
2014-09-06 08:13:45 -07:00
Tim Graham
0e4d79c4f0
Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
...
Thanks djbaldey for the report.
2014-09-06 10:07:34 -04:00
Collin Anderson
7353e26d5d
Fixed #23340 -- Corrected naturaltime docs to match behavior.
...
Thanks zachborboa for the report and blackguest for the patch.
2014-09-06 07:47:56 -04:00
Tim Graham
88c4e01d34
Fixed #23438 -- Added snippet & imports to docs/intro/overview.txt.
2014-09-06 07:31:36 -04:00
oromero
0f0a5c07f9
Fixed #22161 -- Documented send() with no recipients won't raise an exception.
2014-09-05 20:38:50 -04:00
Collin Anderson
77b3907d6d
Fixed #23430 -- simplified gunicorn deployment docs.
2014-09-05 20:36:35 -04:00
Patrick Beeson
fb545e5a27
Fixed #23427 -- Documented migrate is required before runserver for default projects.
2014-09-05 19:59:02 -04:00
Andrew Godwin
45768e6b72
Update docs to be more clear about nested classes (refs #23418 )
2014-09-05 15:00:01 -07:00
Tim Graham
5c5011ce68
Fixed #23414 -- Updated version numbers in release process doc.
...
Thanks jaap3 for the report.
2014-09-05 15:44:41 -04:00
Tim Graham
62939aba99
Removed an admonition in the tutorial about the old project layout.
...
There are no supported versions that use the old layout (<=1.3).
2014-09-05 14:43:33 -04:00
Andrew Godwin
6d504562f5
Fixed #22534 : Reinforce swappable documentation
2014-09-05 11:39:55 -07:00
Sébastien Fievet
0f90f741de
Fixed typo in docs/topics/checks.txt.
2014-09-05 14:28:46 -04:00
Claude Paroz
885ff6845e
Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"
...
This reverts commit 66757fee7e
.
Discussions have led to think that this functionality does not
bring significant benefits to justify the added complexity.
Read also discussions on ticket #22734 .
2014-09-05 20:06:02 +02:00
Sébastien Fievet
5d04433903
Added missing periods in docs/ref/checks.txt.
2014-09-05 12:30:24 -04:00
Tim Graham
1101467ce0
Limited lines to 119 characters in django/
...
refs #23395 .
2014-09-05 09:22:16 -04:00
John-Scott Atlakson
344f37718b
Fixed imports in `Sitemap for static views` example
2014-09-04 21:04:53 -04:00
Tim Graham
2ca244aae6
Fixed typo in docs/ref/checks.txt.
2014-09-04 12:31:33 -04:00
Tim Graham
646b9ce848
Fixed typo in 1.8 release notes.
2014-09-04 10:23:32 -04:00
Thomas Chaumeny
d7a9659110
Fixed documentation links to Query Expression API.
2014-09-04 09:45:10 -04:00
Marc Tamlyn
e9103402c0
Fixed #18757 , #14462 , #21565 -- Reworked database-python type conversions
...
Complete rework of translating data values from database
Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.
Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews.
2014-09-03 20:36:03 +01:00
Corey Farwell
4db75925be
Fixed typo in docs/topics/db/transactions.txt.
2014-09-03 11:49:00 -04:00
Tim Graham
09c1f18f22
Added stub release notes for 1.7.1.
2014-09-02 21:41:21 -04:00
Tim Graham
0fd23545db
Added dates to release notes.
2014-09-02 21:34:29 -04:00
Raffaele Salmaso
1435cfbe8d
Fixed #23302 -- Added --name/-n option to makemigrations command
2014-09-02 21:09:18 -04:00
Tim Graham
bda2809712
Fixed #23400 -- Added "Remove 'south' from INSTALLED_APPS" to upgrade instructions.
...
Thanks dgrant for the report.
2014-09-02 21:03:16 -04:00
James Bennett
138e3873a5
Cleanup run on the 1.7 release notes.
2014-09-02 15:17:46 -05:00
James Bennett
58eb4ce002
Merge pull request #3120 from alex/use-sha256
...
Document that we should also offer sha256 checksums for packages
2014-09-02 14:01:09 -05:00
Alexey Efimov
4a303341fc
Added missing import in docs/ref/signals.txt.
2014-09-02 08:14:02 -04:00
Tim Graham
e9264bc25d
Revert "Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918"
...
This reverts commit a8521a2c22
.
2014-09-02 08:12:19 -04:00
Andrew Godwin
a8521a2c22
Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918
2014-09-01 11:48:06 -07:00
Duncan Parkes
be8ccc2648
Fixed #23371 -- Changed en_GB first day of the week to Monday.
2014-09-01 08:39:21 -04:00
Simon Charette
ab9c886459
Fixed #23391 -- Removed an erroneous backtip from the form's documentation.
...
Thanks to Trac alias nessita for the report.
2014-08-31 20:06:38 -04:00
Michael Angeletti
21a9e8adf0
Removed sentence from docs about migrate prompting to add a superuser.
2014-08-31 12:30:50 -04:00
Thomas Chaumeny
032c091659
Fixed #23388 -- Made django.utils.timezone.override usable as a decorator
2014-08-31 09:03:53 +02:00
Bas Peschier
eacf244506
Converted sql_queries into a lazily evaluated list.
...
Fixed #23364 . Thanks Markush2010 for the report.
2014-08-30 13:27:56 +02:00
Akis Kesoglou
6613ea6e3f
Fixed #23370 -- defer() + select_related() crashed with inherited models.
2014-08-30 07:14:44 -04:00
Claude Paroz
66757fee7e
Fixed #23384 -- Allowed overriding part of a dictionary-type setting
...
This change is needed for upcoming changes where settings might be
grouped in a parent dictionary.
Thanks Tim Graham for the review.
2014-08-30 12:37:10 +02:00
Simon Charette
05a8cef428
Corrected a usage example of `related_query_name`.
...
Thanks to Petr Glotov for spotting this.
2014-08-29 23:10:30 -04:00
Simon Charette
4926c0afe3
Documented translation.override as a decorator.
...
refs #23323 .
2014-08-29 19:49:39 -04:00
evildmp
7a8f405bba
Update Daniele Procida's bio
2014-08-29 16:22:55 +01:00
Simon Charette
2c0ec04225
Fixed a typo in the 1.8 release notes.
2014-08-29 10:58:58 -04:00
Joshua "jag" Ginsberg
eb2af16c59
Fixed #21483 -- Added WSGI environ to kwargs sent to request_started signal.
2014-08-29 10:12:03 -04:00
Vlastimil Zíma
e622caaa85
Fixed #21201 -- Improved customization of ClearableFileInput.
2014-08-29 09:40:08 -04:00
Tim Graham
045b8d3267
Removed unnecessary release notes for django.utils.translation.override().
...
Undocumented functions don't need to be mentioned.
2014-08-29 09:20:13 -04:00
Claude Paroz
909015a51b
Fixed #22786 -- Documented value_from_datadict caveat
...
Thanks blueyed for the report and Tim Graham for the review.
2014-08-29 10:24:50 +02:00
Aymeric Augustin
569e0a299d
Documented correct kwargs for post_syncdb/migrate.
...
d562527a
rename the db to using in the wrong signal.
Thanks Maik Hoepfel for the report.
2014-08-28 21:30:20 +02:00
Thomas Chaumeny
2db1ed1033
Fixed #23323 -- Made django.utils.translation.override usable as a decorator.
2014-08-28 11:58:21 -04:00
Simon Charette
c9c0be31c5
Fixed #23375 -- Added missing security issues to the archive.
...
Also adjusted the pre-release process to prevent future omissions.
2014-08-28 10:48:39 -04:00
Claude Paroz
3a44e20005
Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
...
Refs #20739 . Thanks Raphaël Hertzog for the report and the initial
patch.
2014-08-28 08:44:26 +02:00
Simon Charette
3cbb7590cb
Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.
...
Thanks to Trac alias Markush2010 and ross for the detailed reports.
2014-08-27 21:26:53 -04:00
Richard Eames
4dd5c8581d
Fixed #23349 -- Clarified details about RunPython's apps argument.
2014-08-27 17:26:08 -04:00
areski
a81af7f49d
Fixed #13749 -- Added link from admin site to front-end site.
...
Thanks romankrv for the suggestion.
2014-08-27 08:34:53 -04:00
Tim Graham
6aae07fe61
Documented --database option for migrate.
...
Thanks Mike O'Connor for the reporty.
2014-08-27 08:01:30 -04:00
Tim Graham
83762da3fb
Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a unique field.
...
Thanks Keryn Knight for the suggestion.
2014-08-27 07:43:13 -04:00
Erik Romijn
2154004802
Fixed tiny commit style inconsistency in committing code documentation.
2014-08-27 09:18:56 +02:00
Duncan Parkes
905c4fdcc3
Fixed clone URL of Django git repository.
2014-08-26 20:48:12 -04:00
Tim Graham
5ecead9ab9
Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.
...
Thanks Mike O'Connor for the suggestions.
2014-08-26 15:43:23 -04:00
Tim Graham
7b9537fb27
Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
2014-08-26 15:22:08 -04:00
Tim Graham
ced3e303ca
Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.
2014-08-26 14:50:17 -04:00
Tim Graham
a2bcec3491
Fixed #17707 , #20734 -- Added examples to URL namespacing docs.
...
Thanks Daniele Procida for review.
2014-08-26 14:31:13 -04:00
Tim Graham
348c89cbfb
Fixed #19312 -- Documented MySQL TIMESTAMP columns cannot be used with USE_TZ=True.
2014-08-26 14:11:35 -04:00
Claude Paroz
5675eb371f
Allowed skipIf/UnlessDBFeature to accept several feature strings
2014-08-26 20:03:37 +02:00
Alex Gaynor
f42f54517d
Document that we should also offer sha256 checksums for packages
2014-08-26 08:02:28 -07:00
Tim Graham
e02f45d5ea
Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
2014-08-26 10:40:12 -04:00
Tim Graham
035f2e699c
Fixed #23362 -- Clarified "database columns as attributes" in tutorial.
2014-08-26 10:00:33 -04:00
Tim Graham
a3e88e64a4
Fixed spelling mistake in file docs.
2014-08-26 09:44:24 -04:00
Tim Graham
2b66878a47
Added words to spelling_wordlist.
2014-08-26 09:44:07 -04:00
Erik Romijn
cbdda28208
Fixed #23075 -- Added documentation on novalidate attribute and made it default for admin
...
Thanks to sehmaschine for the report and to Tim Graham for the review.
2014-08-26 14:20:31 +02:00
Mitch Davis
5473c36cef
Clarified that makemessages -l takes a locale name, not a language code.
2014-08-26 08:11:25 -04:00
Tim Graham
7d62fb5957
Fixed #23355 -- Updated admin jQuery to 1.11.1.
2014-08-24 15:26:29 -04:00
Tim Graham
50ae4b4b9e
Fixed #23131 -- Documented serialization of callable functions in migrations.
2014-08-24 13:33:36 -04:00
Tim Graham
e39af5ea59
Fixed #21648 -- Deprecated is_admin_site option to auth.views.password_reset().
2014-08-23 19:32:58 -04:00
Tim Graham
0c9f40f776
Fixed #22154 -- Added "Built-in" to some class-based views titles.
2014-08-23 19:30:42 -04:00
Tim Graham
19999befbe
Clarified release preparation step about dates.
2014-08-23 19:13:51 -04:00
Claude Paroz
1f45f3cea1
Updated docs about Spatialite collect/extent support
2014-08-23 18:03:11 +02:00
Claude Paroz
a7d964ab87
Replaced no_spatialite by connection features
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-23 15:41:13 +02:00
Tim Graham
c7fa27d702
Fixed #23344 -- Removed duplicate docs for file upload settings.
2014-08-23 09:30:01 -04:00
Tim Graham
a76aab3583
Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
2014-08-22 12:56:38 -04:00
Kristian Glass
b7336ec179
Fixed #23342 -- Clarified warning about naive time objects.
...
Thanks to apollo13 for suggested wording.
2014-08-22 11:38:52 -04:00
Tim Graham
14aff0bd82
Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt.
2014-08-22 11:22:09 -04:00
Andrew Godwin
459cfb523d
Update squashmigration docs to also mention circ dep errs (refs #23337 )
2014-08-21 19:18:26 -07:00
Tim Graham
b902be798e
Added dates to release notes.
2014-08-20 16:31:45 -04:00
Simon Charette
53ff096982
Prevented data leakage in contrib.admin via query string manipulation.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Preston Holmes
5307ce565f
Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham
0d8d30b7dd
Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Florian Apolloner
28e765810d
Prevented reverse() from generating URLs pointing to other hosts.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham
ec71191be0
Added release note stubs for 1.5.9 and 1.4.14.
2014-08-20 14:39:40 -04:00
Claude Paroz
12cf10cacd
Fixed typo in 1.7 release notes
2014-08-20 08:57:35 +02:00
Tim Graham
fca677fa43
Added sphinx extension to ease generation of ticket links.
2014-08-19 17:40:50 -04:00
Unai Zalakain
5f2542f12a
Fixed #10190 -- Made HttpResponse charset customizable.
...
Thanks to Simon Charette, Aymeric Augustin, and Tim Graham
for reviews and contributions.
2014-08-19 17:34:38 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Claude Paroz
fa02120d36
Fixed #22996 -- Prevented crash with unencoded query string
...
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
2014-08-19 22:29:31 +02:00
Lee Sanghyuck
11d9cbe2f4
Fixed #23316 -- Added datetime.time serialization in migrations.
2014-08-19 13:31:46 -04:00
Tim Graham
03c1609c47
Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
2014-08-19 12:07:44 -04:00
Tim Graham
3569536491
Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
...
Thanks gavinwahl for the report.
2014-08-19 07:24:36 -04:00
Tim Graham
c587bd5a94
Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
...
Thanks mitar for the report.
2014-08-19 07:18:05 -04:00
Tim Graham
7006187064
Fixed #23282 -- Corrected inheritance and reverse relations example.
...
Thanks knowledgepoint-devs for the report and claudep for review.
2014-08-19 06:28:48 -04:00
Tim Graham
5dbe2a9431
Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
2014-08-19 06:16:05 -04:00
Tim Graham
15cafaa565
Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
2014-08-19 06:14:14 -04:00
Tim Graham
9432f1e750
Fixed some doc errors that caused syntax highlighting to fail.
2014-08-18 20:37:47 -04:00
Baptiste Mispelon
5853c87a45
Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
2014-08-18 18:55:12 +02:00
Tim Graham
b6aa60f425
Fixed #14638 -- Clarified model Field.to_python() docs.
...
Thanks Anubhav Joshi for the patch.
2014-08-18 12:53:25 -04:00
Tim Graham
7ed3d0bb61
Fixed #23263 -- Added sqlmigrate to migration topic guide.
2014-08-18 09:15:24 -04:00
areski
90b64db39c
Fixed syntax highlighting and indentation in docs/topics/logging.txt.
2014-08-15 15:17:18 -04:00
areski
7ca665c5f5
Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
2014-08-15 13:56:14 -04:00
areski
ef90d395ab
Fixed #23278 -- Documented django.db.backends.schema logger
2014-08-15 12:27:30 -04:00
Peter Harley
2724cdbff6
Fixed #18355 -- Added ordering options to list based generic views.
...
Added MultipleObjectMixin.ordering and get_ordering().
Refs #21450 .
2014-08-15 11:09:47 -04:00
Tim Graham
e122facbd8
Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.
...
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-15 08:20:02 -04:00
Gabriel Muñumel
deed00c0d8
Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().
2014-08-15 08:14:45 -04:00
Tim Graham
99561eef26
Fixed typo in docs/howto/custom-model-fields.txt.
2014-08-15 07:18:04 -04:00
Claude Paroz
12adcd505e
Complemented 1.6 release notes for 457c16d0d6
...
And accessorily added missing bits fixing #23293 .
Forward port of 2cbafd814
from stable/1.7.x
2014-08-15 10:14:55 +02:00
Tim Graham
982addeb37
Added some words to spelling_wordlist.
2014-08-14 14:13:08 -04:00
areski
3021453285
Fixed #20133 -- Added summary to admin deletion confirmation pages.
...
Thanks jonash for the suggestion and initial patch.
2014-08-14 13:56:23 -04:00
areski
2a4492aecb
Fixed #23224 - Documented EmailValidator.
2014-08-14 13:28:12 -04:00
Zhaorong Ma
bef5b9b7cd
Fixed a grammar error in docs/ref/forms/api.txt.
2014-08-14 12:13:52 -04:00
Tim Graham
cf79b57ad0
Fixed #21132 -- Removed the useless app_name argument to AdminSite.
...
Thanks MarkusH for the report and Florian for review.
2014-08-14 09:05:51 -04:00
Claude Paroz
055d95fce0
Fixed #23265 -- Used system-specific encoding in runserver
...
Thanks SpaceFox for the report.
2014-08-14 12:08:06 +02:00
Tim Graham
a7443c24a3
Corrected content_type parameter name in sitemap docs.
...
mimetype was deprecated in 1.5 per 11ec0253ab
.
2014-08-13 21:44:36 -04:00
Tim Graham
da009ce32c
Removed doc reference to removed HttpResponse.mimetype.
2014-08-13 21:42:39 -04:00
zsoldosp
01801edd37
Fixed #22646 : Added support for the MySQL ssl-ca option to dbshell.
2014-08-13 18:29:42 -04:00
Ola Sitarska
6947885926
Fixed #23283 -- Added default=False to BooleanField's in the docs.
...
Thanks Baptiste for the suggestion.
2014-08-13 18:23:52 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
areski
d441a9d006
Improved formatting of deconstruct() docs.
2014-08-13 12:41:11 -04:00
Trey Hunner
6868643063
Added newlines to the ends of CSS, HTML, and JavaScript files missing them.
2014-08-12 19:22:09 -04:00
Claude Paroz
2cc8ffe258
Fixed #22985 -- Made call_command accept option name parameter
...
Thanks giulettamasina for the report and Tim Graham for the review.
2014-08-12 21:53:29 +02:00
Tim Graham
6745b6fd7a
Fixed typo in previous commit.
2014-08-12 14:40:32 -04:00
Ola Sitarska
549284faa4
Fixed #23016 -- Updated FAQs per Aymeric's suggestions.
2014-08-12 13:46:10 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Tim Graham
2003cb23d4
Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
2014-08-12 12:27:24 -04:00
Tim Graham
954e7b8aad
Added words to spelling wordlist.
2014-08-11 14:29:37 -04:00
Tim Graham
7efce77de2
Added a warning that remove_tags() output shouldn't be considered safe.
2014-08-11 07:08:17 -04:00
Markus Bertheau
c2d3f18874
Fixed typo in 1.8 release notes.
2014-08-11 07:06:29 -04:00
Jaap Roes
e92b057e06
Fixed #23261 -- Deprecated old style list support for unordered_list filter.
2014-08-11 07:04:33 -04:00
Ola Sitarska
2e7be92b4d
Fixed #23267 -- Fixed typo in Translation documentation
...
Thanks to Tomin1 for the report.
2014-08-11 12:06:08 +02:00
Loic Bistuer
12ad61aa9f
Added myself as a team member.
2014-08-10 23:58:18 +02:00
Tim Graham
73ff4498aa
Removed some tabs in the docs.
2014-08-08 13:59:02 -04:00
Andreas Stocker
f3ef55ea7a
Fixed #23257 -- Updated docs for new django-jython release.
2014-08-08 12:31:56 -04:00
Andrew Godwin
173d989c91
Fixed #23252 : Call out removed features in release notes.
...
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
2014-08-07 14:14:12 +10:00
Mohammed Attia
61ed959235
Removed a doc reference to the deprecated `mimetype` kwarg.
2014-08-06 22:15:54 -04:00
Tim Graham
edcc75e5ac
Fixed #21792 -- Documented Form.has_changed()
...
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.
2014-08-05 08:44:57 -04:00
Tim Graham
0efd72dc90
Fixed broken links in docs.
2014-08-05 08:23:34 -04:00
Tim Graham
21d0ceefb5
Updated links for continous integration server.
2014-08-05 07:28:04 -04:00
Stanislas Guerra
98e8da3709
Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.
2014-08-04 09:39:02 -04:00
areski
e4dd8b5dde
Fixed #23169 - Misc docs fixes.
2014-08-04 08:29:00 -04:00
Tim Graham
0f2ceee025
Fixed #23151 -- Deprecated RegexField.error_message.
...
Thanks Baptiste Mispelon for the suggestion.
2014-08-03 11:21:01 -04:00
Tim Graham
a9fa3d4667
Removed notes for versions of SQLite older than 5 years.
2014-08-02 20:02:06 -04:00
Tim Graham
75f2c65cb6
Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
...
Thanks frewsxcv for the report.
2014-08-02 15:02:29 -04:00
Erik Romijn
e26366da44
Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
2014-08-02 18:55:20 +02:00
Tim Graham
d28396f526
Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.
2014-08-02 10:28:40 -04:00
Tim Graham
fb4f3e04b1
Updated MySQL links to version 5.6.
2014-08-02 10:27:01 -04:00
Collin Anderson
e075d2e66b
Fixed #23148 -- Minor tweaks in tutorial code samples
2014-08-02 10:17:45 +02:00
Tim Graham
8f9d6e83a0
Fixed #23145 -- Dropped support for Oracle < 11.1
2014-08-01 19:32:00 -04:00
Tim Graham
a2479f46f3
Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
...
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-08-01 17:51:49 -04:00
Tim Graham
1a31d9ef91
Removed some PostGIS 1.4 notes in the docs (refs #23108 ).
2014-08-01 10:53:53 -04:00
Tim Graham
a9bdce7e55
Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.
...
Thanks Claude Paroz for the review.
2014-08-01 10:26:00 -04:00
Tim Graham
7ce4ef58c9
Fixed typo in docs/topics/testing/tools.txt.
2014-08-01 09:30:58 -04:00
Petras Zdanavičius
8b7347220f
Fixed #23103 -- Annotated ImageField file with image and content_type attributes.
...
Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
2014-08-01 09:30:58 -04:00
Aymeric Augustin
f8aeeff291
Removed references to well-known political systems.
...
Some cultures can't handle these words.
2014-08-01 14:41:25 +02:00
Aymeric Augustin
a4ead67ee9
Adjusted 'internals' docs to the new organization.
...
Most of these changes are about using the correct vocabulary -- "core
team member" vs "core developer/committer" and adding internal links.
2014-08-01 14:41:25 +02:00
Aymeric Augustin
dd9c8f9382
Left formal decisions up to the technical board.
...
As the core team grows towards 50 people, it isn't reasonable to give
everyone veto rights anymore.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
73b3318b1d
Documented current roles.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
4a475ce1c8
Introduced a technical board.
...
Extended the scope of the core team a bit (depending on your current
perspective on that scope).
2014-08-01 14:41:24 +02:00
Aymeric Augustin
e9fde1c7ec
Removed references to partial commit acces.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
5ad48a9ef2
Renamed "committers" to "team".
2014-08-01 14:41:24 +02:00
Florian Apolloner
a0bfe4ea98
Replaced django-admin.py with django-admin in the man page.
2014-07-31 23:46:49 +02:00
Loic Bistuer
7579080899
Used JsonResponse in CBV examples.
...
Thanks Hiroki Kiyohara and Tim Graham for the reviews.
2014-07-31 13:43:46 -04:00
Tim Graham
da59902250
Updated timezone docs to use timezone.now()
...
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.
2014-07-31 12:54:11 -04:00
Nick Sandford
9d9f0acd7e
Fixed #13163 -- Added ability to show change links on inline objects in admin.
...
Thanks DrMeers for the suggestion.
2014-07-31 08:07:28 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Tim Graham
66630f589c
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
...
Thanks Josh Kupershmidt.
2014-07-30 13:03:54 -04:00
Tim Graham
7fcfefbc4a
Forwardported 1.6.6 release note for #19107 .
2014-07-30 09:33:02 -04:00
Tim Graham
abb97cffdf
Fixed #23132 -- Removed confusing clause in auth docs.
2014-07-30 08:15:13 -04:00
Andrew Godwin
b9a9b052e8
Fixed #23127 : south_migrations note in docs
2014-07-29 10:10:31 -07:00
Andrew Godwin
8ebd6d35d7
Fixed #23090 : Document and enforce not double-squashing migrations
2014-07-29 10:02:59 -07:00
David Arcos
b9daa4f0e1
Fixed a typo in the admin documentation.
...
The 'app' subpackage does not exist, should be 'app'.
2014-07-29 12:27:35 -04:00
Tim Graham
f294f93a17
Forwardported 1.6.6 release notes for refs #20292 .
2014-07-29 09:39:51 -04:00
Tim Graham
e46801f13d
Fixed #23079 -- Added data loss issues to those that will be backported to LTS.
2014-07-29 09:23:03 -04:00
Tim Graham
b012122d30
Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow.
2014-07-29 09:08:49 -04:00
Baptiste Mispelon
e5619330e2
Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
...
Thanks to wkschwartz for the report and to Tim for the patch.
2014-07-29 11:06:32 +02:00
Baptiste Mispelon
62c74abbb0
Fixed #23114 -- Clarified documentation of template lookups.
...
Thanks to gmunumel and Tom Dalton for their help on the patch.
2014-07-29 10:56:24 +02:00
Moayad Mardini
668d432d0a
Fixed #22491 -- documented how select_for_update() should be tested.
...
Thanks Andreas Pelme for the report.
2014-07-28 10:57:12 -04:00
Gabriel Muñumel
0af593dbe5
Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
2014-07-28 10:05:41 -04:00
Aymeric Augustin
53a61d82b3
Fixed #23062 -- Documented how to create superuser.
...
Patch by Tim Graham. Thanks areski for the review.
2014-07-27 15:48:21 +02:00
James Bennett
c83583fb34
Correctly remove extraneous text about keys from previous edit.
2014-07-27 13:49:53 +02:00
James Bennett
fe87f8d670
Update from key ID in security.txt to authorized release keys list.
2014-07-27 13:48:59 +02:00
David Hoffman
f14898a453
Fixed #23106 -- Updated class-based view reference title.
2014-07-26 20:38:49 -04:00
David Hoffman
6d5daa30cf
Fixed #22553 -- Added refreshing queryset info to docs.
2014-07-26 10:27:02 -04:00
Anubhav Joshi
5cdb8f8c1e
Fixed #16617 -- Added 'value' to BaseValidator params.
...
Also allowed overriding the default messages in subclasses of BaseValidator.
Thanks sperrygrove for initial patch.
2014-07-26 10:03:00 -04:00
Petras Zdanavičius
5a311d2ccc
Fixed #23103 -- Added contributing tutorial link to contributing index.
2014-07-26 09:50:05 -04:00
Niclas Olofsson
08b85de9b7
Fixed #22305 -- Added note to docs about UTF8 database requirement.
2014-07-26 09:39:29 -04:00
David Hoffman
e1c85167a3
Fixed #23097 -- Switched to new octal format in docs
2014-07-26 11:20:24 +02:00
Andrew Godwin
f44dbf74a4
Mark initial_data as deprecated separately from syncdb. Refs #23077 .
2014-07-25 09:09:15 -07:00
Moayad Mardini
f9b7a0383c
Fixed #22827 -- clarified what each cache middleware does.
...
Thanks Keryn Knight for the report.
2014-07-25 06:24:00 -04:00
Tom Dyson
aa8bc7fa7d
Improved docs for GEOSGeometry.simplify()
2014-07-25 06:22:02 -04:00
Tim Graham
bb395a15ba
Forward ported release notes for refs #23089 .
2014-07-24 19:55:57 -04:00
Tim Graham
5f919b9c81
Fixed #23094 -- Removed redundant argument in select_related() example.
...
Thanks thegeekofalltrades at gmail.com for the report.
2014-07-24 13:57:00 -04:00
Daniel Roseman
e01fa71142
Corrected headings in migration docs.
2014-07-24 09:39:20 -04:00
Tim Graham
8568e7cfa4
Added backwards incompatibility note for refs #22845 ; refs #23082 .
...
Thanks Kyle Owens for the report.
2014-07-23 15:23:36 -04:00
Rikki
731f313d60
Added warning in tutorial 4 that the regex capture group name has changed.
2014-07-22 14:00:22 -04:00
africa itcase
06ba4b9eee
Fixed typo in docs/ref/contrib/admin/index.txt.
2014-07-22 13:27:27 -04:00
Iain Dawson
8fbf13a6c8
Replaced instances of 'his/her' with 'their'.
2014-07-21 19:49:12 +00:00
Claude Paroz
3f1412ff7b
Fixed #23064 -- Added lib detection support for GDAL 1.10/1.11
...
Note that GDAL 1.11 is not yet officially supported, until someone
has tested it and can confirm it has no issues with Django.
2014-07-21 19:05:19 +02:00
Damien Nozay
70c54a3694
Fixed #23028 : Added unique_togther support to inspectdb.
2014-07-18 16:10:59 +00:00
Dean Silfen
b8d255071e
Edited setup.py in reuseable apps tutorial to use a context manager for open().
2014-07-16 14:21:27 -04:00
Corey Farwell
e7827b9494
Alphabetized django.utils sections.
2014-07-16 13:54:13 -04:00
Tim Graham
c62c480b2b
Added 1.6.6 release notes for #22998 (also forwardported those for #13794 ).
2014-07-16 13:34:53 -04:00
Bartek Ciszkowski
d9f78d5344
Fixed reference to pk in RedirectView.get_redirect_url doc.
2014-07-16 13:23:11 -04:00
Tim Graham
7d0519c725
Fixed #23023 -- Added warning against local-memory cache.
...
Thanks django at kerz.id.au.
2014-07-16 12:34:27 -04:00
Loic Bistuer
671e0c937c
Further fix the release notes for refs #13147 .
...
Mention of custom user models has been removed since UserCreationForm
didn't support custom user models anyway. Refs #19353 .
2014-07-15 17:59:16 +07:00
Tim Graham
38e001ab6c
Fixed #22789 -- Deprecated django.contrib.webdesign.
...
Moved the {% lorem %} tag to built-in tags.
2014-07-14 08:45:19 -04:00
Tim Graham
7affb4ad58
Fixed/improved release note for refs #13147 ; thanks Loic.
2014-07-14 07:46:19 -04:00
Tim Graham
dd6ef3197a
Fixed #23015 -- Fixed major/minor release terminology in docs.
2014-07-13 13:37:56 -04:00
Aymeric Augustin
a764a9ccff
Checked more precisely whether the app registry is ready.
...
Accounted for the three stages of population: app configs, models,
ready() methods of app configs.
2014-07-12 18:49:37 +02:00
Alex Gaynor
6732566967
Bump the default iterations for PBKDF2.
...
The rate at which we've increased this has not been keeping up with hardware (and software) improvements, and we're now considerably behind where we should be. The delta between our performance and an optimized implementation's performance prevents us from improving that further, but hopefully once Python 2.7.8 and 3.4+ get into more hands we can more aggressively increase this number.
2014-07-11 22:43:26 -07:00
Tim Graham
4e4c10bc61
Removed docs for @permalink decorator.
...
It's been marked as "not recommended" since 1.6. Anyone still using it
may refer to older versions of the docs.
2014-07-10 17:30:39 -04:00
Andrew Godwin
ceb2aaf1d4
Add south upgrade note to 1.7 release notes
2014-07-10 10:00:31 -07:00
Yin Jifeng
849538d03d
Fixed #13147 -- Moved User validation logic from form to model.
2014-07-10 09:36:43 -04:00
Tim Graham
fef26e9a87
Fixed typo in docs/ref/contrib/gis/geos.txt.
2014-07-10 06:09:08 -04:00
Jorge C. Leitão
e1fa7dffdc
Fixed #22809 -- Added model Field API reference.
...
Thanks to @timgraham for the review.
2014-07-10 06:03:04 -04:00
Anubhav Joshi
011abb7d96
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
...
Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-09 16:01:09 -04:00
Tim Graham
3a85aae2ea
Revert "Improve cookie based session backend docs." refs #20418
...
This reverts commit d9c01da1f8
.
This is poor advice as it breaks the test client login (refs #22934 ).
We can add a note like this back after refs #22986 is resolved.
2014-07-09 13:54:41 -04:00
Tim Graham
5ebf03b7dd
Fixed #22351 -- Removed usage of lambdas in model field options.
...
Thanks claudep for review.
2014-07-09 07:31:50 -04:00
Jorge C. Leitão
8780849da0
Fixed #22812 -- Refactored lookup API documentation.
...
Thanks Anssi and Tim for reviews.
2014-07-08 20:05:49 -04:00
Andrew Godwin
503e59c9b0
Document -l as well as --list on migrate
2014-07-08 10:30:11 -07:00
Tim Graham
9f18b6bcb0
Fixed #22978 -- Removed a USA-centric example that didn't add much.
2014-07-08 08:56:41 -04:00
Anubhav Joshi
75ff7b8fb8
Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD supports FK after 9bc2d76
.
...
Also added get_input_data() hook in createsuperuser.
Thanks Chris Jerdonek and Tim Graham for review.
2014-07-08 08:21:41 -04:00
Tim Graham
54546cee88
Fixed #22942 -- Noted that __init__.py files are required for management command detection.
...
Thanks Diego Cerdán for the suggestion.
2014-07-07 18:04:00 -04:00
Tim Graham
e6b3d6c22f
Fixed #22966 -- Clarified which release notes appear for each doc version.
...
Thanks haimunt at yahoo.com for the suggestion.
2014-07-07 15:29:01 -04:00
Collin Anderson
2c1384fbac
Fixed a few PEP8 errors in settings doc.
2014-07-06 18:31:10 -04:00
Andrew Godwin
32fefc6f70
Document --fake and --list on migrate command
2014-07-06 00:30:18 -07:00
Daniel Hahler
67f9f385aa
Fixed various minor doc typos / references.
2014-07-05 20:26:26 -04:00
Andrew Godwin
f751109cb2
Merge pull request #2881 from charettes/ticket-22943-compiled-regex-deconstruction
...
Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05 16:37:10 -07:00
Tim Graham
7fd55c3481
Fixed #20631 -- Increased the default EmailField max_length to 254.
...
Thanks pmartin for the report.
2014-07-04 14:15:00 -04:00
Simon Charette
35c2c37041
Fixed #22943 -- Correctly serialize compiled regexes.
...
Thanks to antialiasis at gmail dot com for the patch.
2014-07-04 13:34:20 -04:00
Loic Bistuer
1966054feb
Fixed #22915 -- Document backward incompatible changes in the ValidationError constructor.
...
This patch also fixes update_error_dict to better handle the use case described
in this ticket, previously the type of the provided container could be lost in
some conditions.
Thanks Russell Keith-Magee for the report and Tim Graham for review.
2014-07-04 17:05:31 +07:00
Tim Graham
814bcc3395
Fixed #22924 -- Added a note about MEDIA_URL in templates.
...
Thanks raphael.herouart at gmail.com
2014-07-03 09:21:20 -04:00
Anubhav Joshi
9bc2d766a0
Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.
...
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a
custom User model.
Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-07-03 07:42:52 -04:00
Daniel Lindsley
23d68c0f0d
Removed myself from committers.
2014-07-02 23:33:03 -05:00
LarryBrid
a93ee5112d
Fixed #22941 - Added support for domain-only links with chars after the TLD to urlize.
...
It now works with something like google.com/foo/bar
2014-07-02 20:36:53 -04:00
Tim Graham
42f5c8f397
Fixed typo in docs/ref/models/instances.txt
2014-07-02 13:21:34 -04:00
Tim Graham
1a3bec4a26
Fixed #18108 -- Added instructions for translating documentation.
...
Thanks Claude Paroz.
2014-07-02 13:16:31 -04:00
Anubhav Joshi
10e83d48a3
Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to refer to correct field.
...
Thanks Tim Graham for suggestion and review.
2014-07-02 13:01:36 -04:00
Tim Graham
c37000ab04
Clarified that LocMemCache is per-process; refs #7639 .
...
Thanks projectgus for the suggestion.
2014-07-02 10:12:43 -04:00
Éric Araujo
5842d8eba4
Removed non-existent reference to args/kwargs in manager docs.
2014-07-02 07:54:02 -04:00
Andrew Godwin
e9249bc20b
Fixed #22932 : Documented circular dependency issues with swappable user
2014-07-01 20:54:46 -07:00
Tim Graham
db9a1a0c47
Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
...
Thanks mila for the suggestion.
2014-07-01 17:32:14 -04:00
Tim Graham
20ec9daf7c
Fixed #22933 -- Deprecated django.template.resolve_variable().
2014-07-01 17:29:41 -04:00
Claude Paroz
232f2028d5
Included irc link in paragraph to allow for l10n
...
Translators may want to change the irc link pointing to a
language-specific channel.
2014-07-01 21:54:32 +02:00
Anssi Kääriäinen
0b6f05ede6
Fixed #19501 -- added Model.from_db() method
...
The Model.from_db() is intended to be used in cases where customization
of model loading is needed. Reasons can be performance, or adding custom
behavior to the model (for example "dirty field tracking" to issue
automatic update_fields when saving models).
A big thank you to Tim Graham for the review!
2014-07-01 16:31:01 +03:00
Curtis
71461b14ab
Fixed #22691 -- Added aliasing to cached_property.
2014-07-01 06:32:53 -04:00
Anubhav Joshi
34ba86706f
Fixed #14334 -- Query relation lookups now check object types.
...
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao
for reviews.
2014-07-01 06:12:58 -04:00
Tim Graham
81edf2d006
Fixed non-multiple of 4 indentation in docs/ref/request-response.txt.
2014-06-30 19:47:19 -04:00
Tim Graham
bbf0a9545b
Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
...
Thanks scibi for the report.
2014-06-30 18:48:49 -04:00
Tim Graham
f3a933d7c1
Made docs CSS for versionchanged/added more similar to docs.djangoproject.com.
2014-06-30 18:38:30 -04:00
Tim Graham
e3c7af18a3
Fixed #19489 -- Documented host parameter of assertRedirects().
...
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.
2014-06-30 17:52:04 -04:00
Tim Graham
874053edf9
Fixed #21942 -- Moved Form.clean() to form API docs.
...
Thanks cjerdonek for the suggestion.
2014-06-30 16:30:57 -04:00
Claude Paroz
0b5bafe993
Removed reference to old middleware
2014-06-30 20:36:18 +02:00
Tim Graham
cf252dbea6
Fixed #8162 -- Increased Permission.name max_length to 255 characters.
2014-06-30 14:20:51 -04:00
Tim Graham
5359188b08
Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
2014-06-30 14:20:51 -04:00
Tim Graham
1e8411259f
Fixed #22912 -- Warned about a common mistake in tutorial 5.
2014-06-27 09:51:21 -04:00
Matt Deacalion Stevens
ec85df2fa5
Fixed and enhanced new HTML form docs.
2014-06-26 13:57:19 -04:00
Éric Araujo
e9c730f6be
Fixed copy/paste typos in StreamingHttpResponse doc.
2014-06-26 07:27:13 -04:00
Gert Van Gool
a8c5630c98
Fixed typo in parameter name doc for BaseCommand.check().
2014-06-26 07:23:32 -04:00
Ramiro Morales
77c0a904cb
Fixed typo in revamped forms intro doc.
2014-06-25 12:15:20 -03:00
Duncan Parkes
fd4ccd045c
Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a MultiValueDict.
...
Previously, GET, POST, and FILES on an HttpRequest were created in
the __init__ method as dictionaries. This was not something you would
usually notice causing trouble in production as you'd only see a
WSGIRequest, but in testing using the test client, calling .getlist
on GET, POST, or FILES for a request with no get/post data resulted in
an AttributeError.
Changed GET and POST on an HttpRequest object to be mutable
QueryDicts (mutable because the Django tests, and probably many
third party tests, were expecting it).
2014-06-24 22:03:22 -04:00
Duncan Parkes
d68987ae25
Fixed #22897 -- Made QueryDict query_string argument optional.
...
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).
2014-06-24 22:02:03 -04:00
Duncan Parkes
7f4e2ef1e9
Improved documentation for QueryDict.
2014-06-24 21:40:21 -04:00
Peter Kowalczyk
48241ec9c4
Fixed typo in middleware docs.
...
Function definition should have an ending colon.
2014-06-24 16:06:06 -04:00
Daniele Procida
cd20b5d186
Fixed #22796 -- Added a more basic explanations of forms.
...
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-24 14:55:22 -04:00
Anubhav Joshi
dbbcfca476
Fixed #21668 -- Return detailed error page when SuspiciousOperation is raised and DEBUG=True
...
Thanks GDorn and gox21 for report.
Thanks Tim Graham for idea and review.
2014-06-24 08:55:36 -04:00
Tim Graham
150d88cc2c
Restored is_anonymous() check in ModelBackend permission checking removed in refs #17903 .
...
Thanks Florian Apolloner for raising the issue.
2014-06-24 07:09:38 -04:00
Claude Paroz
460ec09d2e
Fixed #22880 -- Added FAQ entry about UnicodeDecodeError
...
Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
2014-06-24 09:02:28 +02:00
Jorge C. Leitão
c33447a50c
Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive users.
...
Thanks to @SmileyChris for the report and @timgraham for review.
2014-06-23 19:57:20 -04:00
Tim Graham
535219e4f7
Fixed typo: MultipleModelChoiceField -> ModelMultipleChoiceField.
2014-06-23 18:50:51 -04:00
Tim Graham
1bbffe7867
Fixed #22888 -- Removed some unnecessary text in tutorial 3.
2014-06-23 09:10:44 -04:00
Claude Paroz
9618d68b34
Fixed #8033 -- Explained app registry error during translation setup
...
Thanks Tim Graham and Aymeric Augustin for the review.
2014-06-23 09:31:45 +02:00
Tim Graham
1892ced10a
Added refs #22514 to 1.6.6 release notes.
2014-06-20 18:47:14 -04:00
Marc Tamlyn
2764146586
Fixed #22838 -- Deprecated ModelChoiceField.cache_choices.
...
Undocumented, untested and probably not even useful feature.
2014-06-20 20:29:46 +01:00
Luan Pablo
407d070329
Fixed #22782 -- Added i18n attr to Sitemap class
...
It makes possible to have your sitemap in multiple languages when
using i18n in URLs.
2014-06-20 13:04:41 -04:00
Huu Nguyen
fbb684d95e
Fixed #22862 -- Added --noinput option to makemigrations.
...
Thanks artortenburger for the report.
2014-06-20 08:55:02 -04:00
Maxime Turcotte
608aa8d101
Fixed #22836 -- Linked tutorial05 to the right section of tutorial04.
2014-06-20 08:14:17 -04:00
Andrew Godwin
08221d1b5c
Fixed #22874 : Document that AUTH_USER_MODEL must be in first migration
2014-06-19 23:48:29 -07:00
Andrew Godwin
9f4852f649
Fixed #22863 : Improve clarity of makemigrations for non-db params
2014-06-19 23:41:32 -07:00
Maxime Turcotte
9996158db4
Fixed #22835 -- Deprecated NoArgsCommand.
2014-06-19 08:54:59 -04:00
Tim Graham
63670a474c
Removed a CSRF example for jQuery < 1.5.
2014-06-18 14:58:50 -04:00
Tim Graham
0be4d64487
Fixed #22859 -- Improved crossDomain technique in CSRF example.
...
Thanks flisky for the report.
2014-06-18 14:35:38 -04:00
Renaud Parent
87d0a3384c
Fixed #22778 -- Added a model Meta option to define default_related_name.
...
Thanks jorgecarleitao and mmardini for reviews.
2014-06-18 13:53:07 -04:00
Jorge C. Leitão
de90129070
Fixed #14481 -- Documented implicit "through" class created by ManyToManyField.
...
Thanks to jonathanmorgan for the report and initial patch.
2014-06-18 12:30:10 -04:00
Andrew Godwin
8d2ac948a9
Fixed #22853 : Swapped models are now ignored for migration operations.
2014-06-17 17:45:38 -07:00
Anubhav Joshi
91f1b6dcdc
Fixed #13711 -- Model check added to ensure that auto-generated column name is within limits of the database.
...
Thanks russellm for report and Tim Graham for review.
2014-06-17 16:16:02 -04:00
Collin Anderson
a8fa96796f
Tutorial: Consistent url syntax
2014-06-17 12:23:26 -04:00
Tim Graham
95cc0e15b4
Fixed #22819 -- Renamed output_type -> output_field in query expression API.
...
Thanks jorgecarleitao for the suggestion.
2014-06-17 11:57:16 -04:00
Andrew Godwin
a8ce5fdc28
Fixed #22470 : Full migration support for order_with_respect_to
2014-06-15 14:56:51 -07:00
Andrew Godwin
24afb1d7a7
Fixed #22660 : Doc'd you can't have unmigrated apps depend on migrated
2014-06-15 11:47:23 -07:00
vagrant
7a1f8414c3
Fixed #22842
2014-06-15 10:44:33 +00:00
Claude Paroz
c281831a5c
Complemented dwithin docs about using geographic geometries
...
Refs #22830 . Thanks django@gfairchild.com for the suggestion.
2014-06-14 20:52:37 +02:00
Claude Paroz
4b4524291a
Converted test management command to argparse
...
Keeping backwards compatibility with test_runner.option_list is
tricky and would imply transforming an optparse.Option to an
argparse.Action. I choose to introduce a backwards incompatible
change because it only affects testing, not runtime behavior.
2014-06-14 13:43:39 +02:00
Claude Paroz
cbff097bd9
Documented optparse to argparse changes for management commands
2014-06-14 13:42:43 +02:00
mlavin
4696cd9671
Fixed #22477 -- Removed contrib middleware from the global settings defaults.
...
Also added a compatibility check for changed middleware defaults.
Forwardport of d94de802d3
from stable/1.7.x
2014-06-13 12:45:56 -04:00
Jorge C. Leitão
cc35bd461d
Fixed #7599 -- Added get_user_permissions to ModelBackend.
...
Thanks to @gdub for the report and intial patch and
@charettes and @timgraham for the review.
2014-06-13 09:34:04 -04:00
Maxime Turcotte
504c89e800
Fixed #6327 -- Added has_module_permission method to BaseModelAdmin
...
Thanks chrj for the suggestion.
2014-06-13 09:31:40 -04:00
Greg Chapple
bf743a4d57
Fixed #16087 -- Added ResolverMatch instance to test client response.
...
Thanks mrmachine for the suggestion.
2014-06-13 08:50:43 -04:00
Moayad Mardini
2d425116e2
Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.
...
Thanks cdestigter for the report.
2014-06-12 16:41:49 -04:00
Tim Graham
bcc3d2b978
Fixed #22818 -- Clarified you need to cd into the Django clone.
...
Thanks Josh Parris.
2014-06-12 10:19:03 -04:00
Tim Graham
1c58cabad7
Fixed #22811 -- Allowed setting both the old and new TEST database settings.
...
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-12 08:17:49 -04:00
Claude Paroz
dfa3505ff1
Fixed #22813 -- Updated Pillow URL in documentation
2014-06-12 08:53:36 +02:00
Maxime Lorant
c307383ec9
Fixed typo in docs/ref/forms/validation.txt.
2014-06-11 17:17:21 -04:00
Greg Chapple
4123f55c33
Added link to data migrations in initial data deprecation note
2014-06-11 19:46:57 +01:00
Anubhav Joshi
42736ac8e8
Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version.
...
Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch,
and akaariai, loic, and charettes for helping in shaping the patch.
2014-06-11 10:03:34 -04:00
Florian Apolloner
e2efc8965e
Fixed #22680 -- I/O operation on closed file.
...
This patch is two-fold; first it ensure that Django does close everything in
request.FILES at the end of the request and secondly the storage system should
no longer close any files during save, it's up to the caller to handle that --
or let Django close the files at the end of the request.
2014-06-11 08:57:30 +02:00
Maxime Turcotte
f97c53c098
Fixed #22801 -- Added 'www.' to diveintopython.net links
2014-06-10 15:38:25 -04:00
Tim Graham
93d05536fd
Fixed #22770 -- Removed create_superuser from post_migrate signals.
...
Moved logic to syncdb command for backwards compatibility.
2014-06-10 14:37:37 -04:00
Jorge C. Leitão
a00b78b1e2
Fixed #17431 -- Added send_mail() method to PasswordResetForm.
...
Credits for the initial patch go to ejucovy;
big thanks to Tim Graham for the review.
2014-06-10 14:00:52 -04:00
Tim Graham
34f4fd7024
Corrected some indentation in docs/topics/auth/default.txt.
2014-06-10 09:18:58 -04:00
Andreas Damgaard Pedersen
9560dac3c0
Close autoescape tag in template documentation.
2014-06-10 11:48:08 +01:00
Aymeric Augustin
df09d85482
Fixed #17552 -- Removed a hack for IE6 and earlier.
...
It prevented the GZipMiddleware from compressing some data types even on
more recent version of IE where the corresponding bug was fixed.
Thanks Aaron Cannon for the report and Tim Graham for the review.
2014-06-10 08:42:31 +02:00
Tim Graham
bc0aba7786
Dropped support for SpatiaLite < 2.4.
2014-06-09 17:53:25 -04:00
Tim Graham
c17cd151d8
Doc edits for refs #22487 .
2014-06-09 12:09:16 -04:00
Tim Graham
dd55132643
Removed extras/csrf_migration_helper.py
2014-06-09 11:53:09 -04:00
Tim Graham
3a926c0778
Tweaked order of create_test_db arguments for backwards compatibility.
...
Since `serialize` was backported to 1.7, it should appear before `keepdb`.
2014-06-09 11:12:28 -04:00
Tim Graham
67ce2e74e1
Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766 .
2014-06-09 10:29:22 -04:00
Andrew Godwin
8c12d51ea2
Fixed #22487 : Optional rollback emulation for migrated apps
2014-06-08 19:30:15 -07:00
Andrew Godwin
6fd455adfc
Fixed #22436 : More careful checking on method ref'ce serialization
2014-06-07 17:05:51 -07:00
Tim Graham
250e2b422b
Silenced some GIS deprecation warnings; refs #22384 .
2014-06-07 19:35:57 -04:00
Aymeric Augustin
58de495c54
Fixed #17427 -- Removed dubious definition of connections equality.
2014-06-07 17:04:10 +02:00
Unai Zalakain
11284a63d4
Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths starting with //
...
``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``.
``WSGIRequest`` now doesn't remove all the leading slashes either,
because ``http://test/server `` and http://test//server `` aren't the same thing
(RFC2396).
Thanks to SmileyChris for the initial patch.
2014-06-07 08:59:02 -04:00
Tim Graham
9ed4a8c6b1
Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
...
Thanks santiagobasulto for the suggestion.
2014-06-07 08:54:54 -04:00
Aymeric Augustin
cfcca7ccce
Fixed #3711 , #6734 , #12581 -- Bounded connection.queries.
...
Prevented unlimited memory consumption when running background tasks
with DEBUG=True.
Thanks Rob, Alex, Baptiste, and others.
2014-06-07 14:37:43 +02:00
Tim Graham
7f4347b176
Removed duplicate "Deprecated in Django A.B" text in docs.
...
sphinx 1.2+ adds this text itself.
2014-06-06 20:31:23 -04:00
Tim Graham
5472bf4df0
Added formatting and line wrapping to checks reference doc.
2014-06-06 15:19:20 -04:00
Aymeric Augustin
1181b8a4a9
Merge pull request #2764 from gchp/ticket-20550
...
Fixed #20550 -- Added keepdb argument to destroy_test_db
2014-06-06 14:05:41 +02:00
Greg Chapple
72f055e535
Fixed #20550 -- Added keepdb argument to destroy_test_db
2014-06-05 23:17:27 +01:00
Susan Tan
484f3edf1e
Fixed #18400 -- Modified length template filter to return 0 for unknown variables.
...
Thanks Florian for the bug report, luyikei for the initial code patch, and
Bouke for the code review feedback.
2014-06-05 15:41:56 -04:00
Éric Araujo
84cafc2b35
Fix missing highlighting in some code examples
2014-06-05 14:54:28 -04:00
Anubhav Joshi
5643a3b51b
Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ValueError.
...
This prevents silent data loss.
Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-06-05 13:12:01 -04:00
Moayad Mardini
4f72e5f03a
Fixed #21773 -- made daemon threads default in the development server.
...
Thanks clime for the report.
2014-06-05 12:26:24 -04:00
Zbigniew Siciarz
52d9521354
Fixed RST syntax in 1.8 release docs.
2014-06-05 12:31:04 +02:00
Guillaume Pannatier
7f27cca5c5
Fixed #22710 -- Amended aggregation note for empty QuerySets
...
Thanks smeaton for report and Joël Rochat for spell check
2014-06-04 12:44:58 -04:00
Tim Graham
2f7a7842ba
Fixed #22747 -- Add backwards compatibility tip for new behavior of formset.save(commit=False).
...
Thanks django at patjack.co.uk.
2014-06-04 12:37:10 -04:00
gyx1000
7e2c87809c
Fixed #22684 -- Amended SelectDateWidget.empty_label to accept a tuple of values.
...
Thanks danielsamuels for the report
2014-06-04 07:23:25 -04:00
Tim Graham
61960dd02c
Added a patch review checklist.
2014-06-03 11:55:17 -04:00
INADA Naoki
7be646425f
Updated current state of MySQL Connector/Python.
2014-06-03 08:10:07 -04:00
Tim Graham
593b3c32bd
Merge pull request #2756 from tubaman/return_unicode
...
Unicode method on model should return unicode
2014-06-03 07:38:12 -04:00
Tim Graham
4445d36d47
Fixed #22384 -- Deprecated reversing URLs by dotted path.
2014-06-03 07:30:14 -04:00
Ryan Nowakowski
f39b8867a1
Unicode method on model should return unicode
...
The example of a __unicode__ model method should return a unicode value
instead of a string.
2014-06-02 22:49:43 -05:00
Bryce Nesbitt
e020894470
Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
2014-06-02 18:50:50 -04:00
Nick Presta
11f0899bbe
Fixed #11776 -- Added CSS class for non-field/top of form errors.
...
Thanks Daniel Pope for the suggestion.
2014-06-02 15:22:15 -04:00
Tim Graham
a00efa30d6
Fixed #22748 -- Corrected post_migrate usage example.
...
Thanks Rudolph for the report.
2014-06-02 11:35:20 -04:00
Craig de Stigter
ce993efda8
Fixed #22690 -- Added a check for proxy models containing fields.
...
Removed the FieldError raised by ModelBase.__new__ in this case.
2014-06-02 09:32:38 -04:00
Jonathan Lindén
5b98ba08e2
Fixed #21938 -- Moved documentation for error views to reference guide.
2014-06-01 13:05:19 -04:00
Aymeric Augustin
2a5c750ad1
Merge pull request #2726 from gchp/ticket-20550
...
Fixed #20550 -- Added ability to preserve test db between runs
2014-06-01 17:26:56 +02:00
Guillaume Pannatier
7c6e96ec1f
Fixed #22710 -- Documented aggregation behavior for empty QuerySets.
...
Thanks matklad for the report.
2014-05-30 08:01:21 -04:00
Tim Graham
7ff326928a
Improved deprecation plan links in release notes.
2014-05-29 18:58:12 -04:00
Moayad Mardini
56cfa508c7
Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` package
...
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.
Thanks ovidiuc4 for the report.
2014-05-30 01:23:09 +03:00
Alex Gaynor
1dcc603eff
Fixed several typos in Django
2014-05-28 17:39:14 -07:00
Guillaume Pannatier
32586b0ba4
Fixed #22684 -- Added `empty_label` option on `django.forms.extras.widets.SelectDateWidget`
...
Thanks danielsamuels for the report
2014-05-28 13:23:28 -04:00
Greg Chapple
b7aa7c4ab4
Fixed #20550 -- Added ability to preserve test db between runs
2014-05-28 16:22:46 +01:00
Tim Graham
4b57e203fe
Fixed spelling in docs.
2014-05-27 19:46:48 -04:00
Moayad Mardini
2ea1e70b85
Fixed #22601 -- Added a note about model inheritance.
...
Thanks semenov for the report.
2014-05-27 19:42:16 -04:00
Moayad Mardini
2e613ea5c5
Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
...
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
2014-05-27 00:40:55 +03:00
Marc Tamlyn
b625e861e5
Fix an error in a documented lookup example.
2014-05-26 14:44:50 +01:00
Moayad Mardini
e98d303562
Fixed #22692 -- Added docs for `makemigrations` two command options.
...
Added documentation about `--dry-run` and `--merge`.
2014-05-25 19:34:20 -04:00
Tim Graham
83f4e86595
Fixed too short title underline in docs.
2014-05-25 19:26:12 -04:00
Matthew Schinckel
2b432d4634
Fixed typo in docs/ref/models/custom-lookups.txt.
2014-05-25 19:01:51 -04:00
Claude Paroz
b8fc167b32
Fixed #22688 -- Documented ready() may be called more than once
2014-05-24 15:58:57 +02:00
Marc Tamlyn
9fb0f5dddc
Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
2014-05-24 13:10:50 +01:00
Claude Paroz
756c390fb5
Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
2014-05-22 18:33:10 +02:00
Flavio Curella
beec05686c
Fixed #22667 -- Replaced leader/follower terminology with primary/replica
2014-05-22 11:59:17 -04:00
Marc Tamlyn
48348782e6
Added omitted documentation for ArrayField__len.
2014-05-22 13:50:13 +01:00
Marc Tamlyn
604162604b
Added array field support for PostgreSQL.
...
The first part of django.contrib.postgres, including model and two form
fields for arrays of other data types.
This commit is formed of the following work:
Add shell of postgres app and test handling.
First draft of array fields.
Use recursive deconstruction.
Stop creating classes at lookup time.
Add validation and size parameter.
Add contained_by lookup.
Add SimpleArrayField for forms.
Add SplitArrayField (mainly for admin).
Fix prepare_value for SimpleArrayField.
Stop using MultiValueField and MultiWidget.
They don't play nice with flexible sizes.
Add basics of admin integration.
Missing:
- Tests
- Fully working js
Add reference document for django.contrib.postgres.fields.ArrayField.
Various performance and style tweaks.
Fix internal docs link, formalise code snippets.
Remove the admin code for now.
It needs a better way of handing JS widgets in the admin as a whole
before it is easy to write. In particular there are serious issues
involving DateTimePicker when used in an array.
Add a test for nested array fields with different delimiters.
This will be a documented pattern so having a test for it is useful.
Add docs for SimpleArrayField.
Add docs for SplitArrayField.
Remove admin related code for now.
definition -> description
Fix typo.
Py3 errors.
Avoid using regexes where they're not needed.
Allow passing tuples by the programmer.
Add some more tests for multidimensional arrays.
Also fix slicing as much as it can be fixed.
Simplify SplitArrayWidget's data loading.
If we aren't including the variable size one, we don't need to search
like this.
2014-05-22 09:53:26 +01:00
Claude Paroz
d9d9242505
Used link label in models FAQ to ease translation
2014-05-22 09:46:34 +02:00
Niclas Åhdén
64ee097b3b
Fixed #22639 -- Added missing imports in docs
...
Added ModelForm and NON_FIELD_ERRORS imports.
2014-05-21 17:11:01 +02:00