Commit Graph

7350 Commits

Author SHA1 Message Date
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