Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled monthly dependency update for July #279

Merged
merged 30 commits into from
Jul 1, 2017

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jul 1, 2017

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

sphinxcontrib-programoutput 0.10 » 0.11 PyPI | Changelog | Docs
Sphinx 1.5.5 » 1.6.2 PyPI | Changelog | Homepage
django-extensions 1.7.4 » 1.8.0 PyPI | Changelog | Repo | Docs
Werkzeug 0.12.1 » 0.12.2 PyPI | Changelog | Homepage
django-debug-toolbar 1.7 » 1.8 PyPI | Changelog | Repo
ipdb 0.10.1 » 0.10.3 PyPI | Changelog | Repo
django-environ 0.4.0 » 0.4.3 PyPI | Changelog | Repo
django-braces 1.9.0 » 1.11.0 PyPI | Changelog | Repo
django-crispy-forms 1.6.0 » 1.6.1 PyPI | Changelog | Repo
django-model-utils 2.6 » 3.0.0 PyPI | Changelog | Repo
Pillow 4.1.0 » 4.1.1 PyPI | Changelog | Homepage
django-allauth 0.31.0 » 0.32.0 PyPI | Changelog | Repo
django-filter 1.0.2 » 1.0.4 PyPI | Changelog | Repo
django-autocomplete-light 3.1.8 » 3.2.9 PyPI | Changelog | Docs
django-atom 0.13.0 » 0.14.3 PyPI | Changelog | Repo
django-mptt 0.8.6 » 0.8.7 PyPI | Repo
jsonfield 2.0.1 » 2.0.2 PyPI | Changelog | Repo
django-guardian 1.4.8 » 1.4.9 PyPI | Changelog | Repo
djangorestframework 3.4.7 » 3.6.3 PyPI | Changelog | Homepage
django-reversion 2.0.6 » 2.0.9 PyPI | Changelog | Repo
Django 1.9.13 » 1.11.2 PyPI | Changelog | Homepage
gevent 1.2.1 » 1.2.2 PyPI | Changelog | Homepage
gunicorn 19.6.0 » 19.7.1 PyPI | Changelog | Homepage
boto 2.46.1 » 2.47.0 PyPI | Changelog | Repo
django-storages-redux 1.3.2 » 1.3.3 PyPI | Changelog | Repo
Collectfast 0.4.1 » 0.5.2 PyPI | Changelog | Repo
raven 5.27.0 » 6.1.0 PyPI | Changelog | Repo
lxml 3.6.3 » 3.8.0 PyPI | Changelog | Homepage | Bugtracker
django-coverage-plugin 1.3.1 » 1.5.0 PyPI | Changelog | Repo
coverage 4.3.1 » 4.4.1 PyPI | Changelog | Docs

Changelogs

sphinxcontrib-programoutput 0.10 -> 0.11

0.11

=================

  • Explicitly set parallel_read_safe to true in the extension
    metadata. See issue 25 <https://github.com/NextThought/sphinxcontrib-programoutput/issues/25>_.
    With thanks to Adam J. Stewart and Stephen McDowell.

Sphinx 1.5.5 -> 1.6.2

1.6.2

=====================================

Incompatible changes

  • 3789: Do not require typing module for python>=3.5

Bugs fixed

  • 3754: HTML builder crashes if HTML theme appends own stylesheets
  • 3756: epub: Entity 'mdash' not defined
  • 3758: Sphinx crashed if logs are emitted in conf.py
  • 3755: incorrectly warns about dedent with literalinclude
  • 3742: RTD <https://readthedocs.org/>_ PDF builds of Sphinx own docs are
    missing an index entry in the bookmarks and table of contents. This is
    rtfd/readthedocs.org2857 <https://github.com/rtfd/readthedocs.org/issues/2857>_ issue, a workaround
    is obtained using some extra LaTeX code in Sphinx's own :file:conf.py
  • 3770: Build fails when a "code-block" has the option emphasize-lines and the
    number indicated is higher than the number of lines
  • 3774: Incremental HTML building broken when using citations
  • 3772: 'str object' has no attribute 'filename'
  • 3763: got epubcheck validations error if epub_cover is set
  • 3779: 'ImportError' in sphinx.ext.autodoc due to broken 'sys.meta_path'.
    Thanks to Tatiana Tereshchenko.
  • 3796: env.resolve_references() crashes when non-document node given
  • 3803: Sphinx crashes with invalid PO files
  • 3791: PDF "continued on next page" for long tables isn't internationalized
  • 3788: smartquotes emits warnings for unsupported languages
  • 3807: latex Makefile for make latexpdf is only for unixen
  • 3781: double hyphens in option directive are compiled as endashes
  • 3817: latex builder raises AttributeError

1.6.1

=====================================

Dependencies

1.6

  • LDML format support in i18n feature
  • sphinx.addnodes.termsep
  • Some functions and classes in sphinx.util.pycompat:
    zip_longest, product, all, any, next, open,
    class_types, base_exception, relpath, StringIO, BytesIO.
    Please use the standard library version instead;

If any deprecation warning like RemovedInSphinxXXXWarning are displayed,
please refer :ref:when-deprecation-warnings-are-displayed.

Features added

1.6b3

  • 3588: No compact (p tag) html output in the i18n document build even when
    :confval:html_compact_lists is True.
  • The make latexpdf from 1.6b1 (for GNU/Linux and Mac OS, using
    latexmk) aborted earlier in case of LaTeX errors than was the case with
    1.5 series, due to hard-coded usage of --halt-on-error option. (refs 3695)
  • 3683: sphinx.websupport module is not provided by default
  • 3683: Failed to build document if builder.css_file.insert() is called
  • 3714: viewcode extension not taking highlight_code='none' in account
  • 3698: Moving :doc: to std domain broke backwards compatibility
  • 3633: misdetect unreferenced citations

1.6b2

  • 3662: builder.css_files is deprecated. Please use add_stylesheet()
    API instead.

1.6b1

  • sphinx.util.compat.Directive class is now deprecated. Please use
    docutils.parsers.rst.Directive instead.
  • sphinx.util.compat.docutils_version is now deprecated
  • 2367: Sphinx.warn(), Sphinx.info() and other logging methods are now
    deprecated. Please use sphinx.util.logging (:ref:logging-api) instead.
  • 3318: notice is now deprecated as LaTeX environment name and will be
    removed at Sphinx 1.7. Extension authors please use sphinxadmonition
    instead (as Sphinx does since 1.5.)
  • Sphinx.status_iterator() and Sphinx.old_status_iterator() is now
    deprecated. Please use sphinx.util:status_iterator() instead.
  • Sphinx._directive_helper() is deprecated. Please use
    sphinx.util.docutils.directive_helper() instead.
  • BuildEnvironment.set_warnfunc() is now deprecated
  • Following methods of BuildEnvironment is now deprecated.
  • BuildEnvironment.note_toctree()
  • BuildEnvironment.get_toc_for()
  • BuildEnvironment.get_toctree_for()
  • BuildEnvironment.create_index()

Please use sphinx.environment.adapters modules instead.

  • latex package footnote is not loaded anymore by its bundled replacement
    footnotehyper-sphinx. The redefined macros keep the same names as in the
    original package.
  • 3429: deprecate config setting latex_keep_old_macro_names. It will be
    removed at 1.7, and already its default value has changed from True to
    False.
  • 3221: epub2 builder is deprecated
  • 3254: sphinx.websupport is now separated into independent package;
    sphinxcontrib-websupport. sphinx.websupport will be removed in
    Sphinx-2.0.
  • 3628: sphinx_themes entry_point is deprecated. Please use
    sphinx.html_themes instead.

1.5.6

=====================================

Bugs fixed

  • 3614: Sphinx crashes with requests-2.5.0
  • 3618: autodoc crashes with tupled arguments
  • 3664: No space after the bullet in items of a latex list produced by Sphinx
  • 3657: EPUB builder crashes if document startswith genindex exists
  • 3588: No compact (p tag) html output in the i18n document build even when
    :confval:html_compact_lists is True.
  • 3685: AttributeError when using 3rd party domains
  • 3702: LaTeX writer styles figure legends with a hard-coded \small
  • 3708: LaTeX writer allows irc scheme
  • 3717: Stop enforcing that favicon's must be .ico
  • 3731, 3732: Protect isenumclass predicate against non-class arguments
  • 3320: Warning about reference target not being found for container types
  • Misspelled ARCHIVEPREFIX in Makefile for latex build repertory

django-extensions 1.7.4 -> 1.8.0

1.8.0


UUIDField has been removed after being deprecated.

Deprecation schedule for JSONField has been removed after requests from the
community.

Changes:

  • Fix: runserver_plus, fixed Python 3 print syntax
  • Fix: sqldiff, Use 'display_size', not 'precision' to identify MySQL bool field
  • Fix: export_emails, fix and refactor the command and all its output options
  • Improvement: tests, added Python 3.6 and PyPy3.5-5.8.0
  • Improvement: clear_cache, add --cache option to support multiple caches
  • Improvement: runserver_plus, limit printing SQL queries to avoid flooding the terminal
  • Improvement: shell_plus, limit printing SQL queries to avoid flooding the terminal
  • Docs: graph_models, document including/excluding specific models
  • Docs: shell_plus, added PTPython

1.7.9


Changes:

  • Fix: AutoSlugField, foreignkey relationships
  • Fix: shell_plus, supported backends 'postgresql' for set_application_name
  • Improvement: various commands, Add syntax highlighting when printing SQL
  • Improvement: pipchecker, treat rc versions as unstable
  • Improvement: shell_plus, allow to subclass and overwrite import_objects
  • Improvement: shell_plus, fix SHELL_PLUS_PRE_IMPORTS example
  • Improvement: setup.py, fix and unify running tests
  • Improvement: runserver_plus, add RUNSERVERPLUS_POLLER_RELOADER_TYPE setting
  • Improvement: generate_secret_key, use algoritme from django
  • Docs: fix grammer and spelling mistakes

1.7.8


Changes:

  • Improvement: django 1.11, add testing for Django 1.11
  • Improvement: pipchecker, make it possible to parse https github urls
  • Improvement: unreferenced_files, make command much faster by using set()
  • Docs: add undocumented commands
  • Docs: shell_plus, additional documentation for referencing nested modules
  • Fix: sync_s3, fix exclusion of directories
  • Fix: runprofileserver, fix ip:port specification
  • Fix: runprofileserver, support --nothreading

1.7.7


Changes:

  • Improvement: admin_generator, use decorator style for registring ModelAdmins.
  • Improvement: sqldiff, quote tablename for PRAGMA in sqlite
  • Fix: graph_models, Fix attributes referenced before assignment
  • Fix: pipchecker, Fix AttributeError caused by missing method

1.7.6


Changes:

  • Improvement: sqldiff, ignore proxy models in diff (with cli option to include them if wanted)

1.7.5


Changes:

  • New: ForeignKeyAutocompleteAdmin, Add autocomplete for inline model admins
  • Improvement: graph_models, Rewrite modelviz module from method to class based processor
  • Improvement: db fields, make MAX_UNIQUE_QUERY_ATTEMPTS configurable per field and via settings
  • Improvement: runserver_plus, Added nopin option to disable pin
  • Fix: graph_models, Support PyDot 1.2.0 and higher
  • Fix: shell_plus, Fix that aliases from SHELL_PLUS_MODEL_ALIASES were not applied
  • Removed: validate_templatetags, remove support for pre django-1.5 style {% url %} tags
  • Cleanup: removing support for end-of-life Python 3.2
  • Docs: simplify installation instructions
  • Docs: fix example for NOTEBOOK_ARGUMENTS
  • Docs: Remove extraneous '}' characters from shell_plus docs

Werkzeug 0.12.1 -> 0.12.2

0.12.2


Released on May 16 2017

  • Fix regression: Pull request 892 prevented Werkzeug from correctly
    logging the IP of a remote client behind a reverse proxy, even when using
    ProxyFix.
  • Fix a bug in safe_join on Windows.

django-debug-toolbar 1.7 -> 1.8

1.8


This version is compatible with Django 1.11 and requires Django 1.8 or
later.

Features

  • New decorator debug_toolbar.decorators.require_show_toolbar prevents
    unauthorized access to decorated views by checking SHOW_TOOLBAR_CALLBACK
    every request. Unauthorized access results in a 404.
  • The SKIP_TEMPLATE_PREFIXES setting allows skipping templates in
    the templates panel. Template-based form widgets' templates are
    skipped by default to avoid panel sizes going into hundreds of
    megabytes of HTML.

Bugfixes

  • All views are now decorated with
    debug_toolbar.decorators.require_show_toolbar preventing unauthorized
    access.
  • The templates panel now reuses contexts' pretty printed version which
    makes the debug toolbar usable again with Django 1.11's template-based
    forms rendering.
  • Long SQL statements are now forcibly wrapped to fit on the screen.

ipdb 0.10.1 -> 0.10.3

0.10.3


  • For users using python 2.6, do not install IPython >= 2.0.0.
    And for users using python 2.7, do not install IPython >= 6.0.0.
    [vphilippon]
  • Drop support for python 3.2.
    [vphilippon]
  • Command line usage consistent with pdb - Add argument commands
    [zvodd]

0.10.2


django-environ 0.4.0 -> 0.4.3

0.4.3

0.4.2

Bugged version, care to default Env.ENVIRON 117

0.4.1

  • Fix for unsafe characters into URLs
  • Clarifying warning on missing or unreadable file. Thanks to nickcatal
  • Add support for Django 1.10.
  • Fix support for Oracle urls
  • Fix support for django-redis

django-braces 1.9.0 -> 1.11.0

1.10.0

  • 🐛212 major Small changes for Django 1.10 compatibility.
  • 🐛211 major ReadTheDocs links updated.
  • 🐛209 major Django documentation link updated.

django-crispy-forms 1.6.0 -> 1.6.1

1.6.1

  • Updates compatibility for Django 1.10
  • A number of small Bootstrap 4 fixes.

See 1.6.1 Milestone
for full issue list.

django-model-utils 2.6 -> 3.0.0

3.0.0


2.6.1


  • Add mixins for SoftDeletableQuerySet and SoftDeletableManager, as stated
    in the the documentation.

Pillow 4.1.0 -> 4.1.1

4.1.1


  • Fix for file with DPI in EXIF but not metadata, and XResolution is an int rather than tuple 2484
    [hugovk]
  • Docs: Removed broken download counter badge 2487
    [hugovk]
  • Docs: Fixed rst syntax error 2477
    [thebjorn]

django-allauth 0.31.0 -> 0.32.0

0.32.0


Note worthy changes

  • Improved AJAX support: the account management views (change/set password,
    manage e-mail addresses and social connections) now support AJAX GET requests.
    These views hand over all the required data for you to build your frontend
    application upon.
  • New providers: Dwolla, Trello.
  • Shopify: support for per-user access mode.

Backwards incompatible changes

  • In previous versions, the views only responded with JSON responses when
    issuing AJAX requests of type POST. Now, the views also respond in JSON when
    making AJAX GET requests.
  • The structure of the response for AJAX requests has changed. Previously, it
    contained a form_errors key containing all form validation errors, if any.
    Now, it contains a form key that describes the complete form, including
    the fields. Field specific errors are placed in
    form.fields['some_field'].errors, non-field errors in form.errors.
  • The parameters passed to the Facebook JS SDK FB.init() method used to contain
    cookie, status, and xfbml, all set to true. These parameters
    are no longer explicitly passed. You can use the newly introduced INIT_PARAMS
    provider setting to provide your own values.

django-filter 1.0.2 -> 1.0.4

1.0.4


Quick fix for verbose_field_name issue from 1.0.3 (722)

1.0.3


Improves compatibility with Django REST Framework schema generation.

See the 1.0.3 Milestone__ for full details.

__ https://github.com/carltongibson/django-filter/milestone/13?closed=1

django-autocomplete-light 3.1.8 -> 3.2.9

3.2.9

HEAD is now at a44a2ed Fixed JS autocomplete initializer (819) (820) by
apinsard

3.2.8

823: Optgroup list support with Select2GroupListView by jsurloppe
841: Allow boolean "data-html" attribute for widget on python side by gagarski
839: Support for forwarding radio buttons properly by gagarski
839: Add checkbox handling in forwards by marekjedrzejewski
833: Add functional tests for rename_forward app by gagarski

3.2.7

Remove forward.js from Select2WidgetMixin.Media by gagarski
838: Use namespaced jQuery in get_forwards by ryan-copperleaf
836: Queryset sequence view to display actual model name by jsoa
3.2.5 and 3.2.6 were removed from PyPi but are the same.

3.2.4

813: Return 400 on invalid input by EvaSDK

3.2.3

799: Support serializing UUIDs and add tests for models with UUIDs as PKs
by blag
826: Prevent rendering of empty option on multi select
by beruic

3.2.2

3.2.1

737: TaggitSelect2: insure there's a comma when there's only one tag, or
tag "Multi word" would end up as "Multi" and "word" by
Ixxy-Open-Source
743: Fix placeholder not working when URL is not given to autocomplete
widget (743) by thauk-copperleaf
756: Forward Capabilities Outside Admin by gagarski

3.2.0

745: Add list autocomplete by dmosberger, jpic and thecardcheat
754: dal_queryset_sequence documentation update by chubz
734: Move create_option functionality into it's own method andybak
741: Fix initial value not set when selected choices aren't strings
thauk-copperleaf
733: Advanced forward features gagarski
752: Add doc test to CI by jpic
730: Resolve SystemCheckError fields.E304 thecardcheat
721: Note about placement of DAL before grappelli by chubz
748: Update docs example about loading jquery outside the admin jpic

Mid version number bumped as a tribute to the new major features that were
added, however, there is no know backward compatibility break from 3.1 to
3.2.

django-atom 0.13.0 -> 0.14.3

0.14.3

+++++++++++++++++

  • Fix django 1.8-1.9 compatibility of atom.mixins

0.14.2

++++++++++++++++++

  • Fix username and message in atom.mixins.AdminTestCaseMixin

0.14.1

++++++++++++++++++

  • Add base class validation in atom.mixins.AdminTestCaseMixin

0.14.0

++++++++++++++++++

  • Add atom.mixins.AdminTestCaseMixin

jsonfield 2.0.1 -> 2.0.2

2.0.2

^^^^^^^^^^^^^^^^^

  • Fixed issue with GenericForeignKey field

django-guardian 1.4.8 -> 1.4.9

1.4.9

============================

  • Drop django_guardian.compat.OrderedDict as a consequence of drop Python 1.6
    earlier.
  • Fix django admin 1.11 not showing selected permissions
  • Add a optional checker variable to get_obj_perms
  • Add missing classifiers in setup.py

djangorestframework 3.4.7 -> 3.6.3

3.6.3

Date: [12th May 2017][3.6.3-milestone]

  • Raise 404 if a URL lookup results in ValidationError. ([5126][gh5126])
  • Honor http_method_names on class based view, when generating API schemas. ([5085][gh5085])
  • Allow overridden get_limit in LimitOffsetPagination to return all records. ([4437][gh4437])
  • Fix partial update for the ListSerializer. ([4222][gh4222])
  • Render JSONField control correctly in browsable API. ([4999][gh4999], [5042][gh5042])
  • Raise validation errors for invalid datetime in given timezone. ([4987][gh4987])
  • Support restricting doc & schema shortcuts to a subset of urls. ([4979][gh4979])
  • Resolve SchemaGenerator error with paginators that have no page_size attribute. ([5086][gh5086], [3692][gh3692])
  • Resolve HyperlinkedRelatedField exception on string with %20 instead of space. ([4748][gh4748], [5078][gh5078])
  • Customizable schema generator classes. ([5082][gh5082])
  • Update existing vary headers in response instead of overwriting them. ([5047][gh5047])
  • Support passing .as_view() to view instance. ([5053][gh5053])
  • Use correct exception handler when settings overridden on a view. ([5055][gh5055], [5054][gh5054])
  • Update Boolean field to support 'yes' and 'no' values. ([5038][gh5038])
  • Fix unique validator for ChoiceField. ([5004][gh5004], [5026][gh5026], [5028][gh5028])
  • JavaScript cleanups in API Docs. ([5001][gh5001])
  • Include URL path regexs in API schemas where valid. ([5014][gh5014])
  • Correctly set scheme in coreapi TokenAuthentication. ([5000][gh5000], [4994][gh4994])
  • HEAD requests on ViewSets should not return 405. ([4705][gh4705], [4973][gh4973], [4864][gh4864])
  • Support usage of 'source' in extra_kwargs. ([4688][gh4688])
  • Fix invalid content type for schema.js ([4968][gh4968])
  • Fix DjangoFilterBackend inheritance issues. ([5089][gh5089], [5117][gh5117])

3.6.2

Date: [10th March 2017][3.6.2-milestone]

  • Support for Safari & IE in API docs. ([4959][gh4959], [4961][gh4961])
  • Add missing mark_safe in API docs template tags. ([4952][gh4952], [4953][gh4953])
  • Add missing glyicon fonts. ([4950][gh4950], [4951][gh4951])
  • Fix One-to-one fields in API docs. ([4955][gh4955], [4956][gh4956])
  • Test clean ups. ([4949][gh4949])

3.6.1

Date: [9th March 2017][3.6.1-milestone]

  • Ensure markdown dependancy is optional. ([4947][gh4947])

3.6.0

Date: [9th March 2017][3.6.0-milestone]

See the [release announcement][3.6-release].


3.5.x series

3.5.4

Date: [10th February 2017][3.5.4-milestone]

  • Add max_length and min_length arguments for ListField. ([4877][gh4877])
  • Add per-view custom exception handler support. ([4753][gh4753])
  • Support disabling of declared fields on serializer subclasses. ([4764][gh4764])
  • Support custom view names on list_route and detail_route endpoints. ([4821][gh4821])
  • Correct labels for fields in login template when custom user model is used. ([4841][gh4841])
  • Whitespace fixes for descriptions generated from docstrings. ([4759][gh4759], [4869][gh4869], [4870][gh4870])
  • Better error reporting when schemas are returned by views without a schema renderer. ([4790][gh4790])
  • Fix for returned response of PUT requests when prefetch_related is used. ([4661][gh4661], [4668][gh4668])
  • Fix for breadcrumb view names. ([4750][gh4750])
  • Fix for RequestsClient ensuring fully qualified URLs. ([4678][gh4678])
  • Fix for incorrect behavior of writable-nested fields check in some cases. ([4634][gh4634], [4669][gh4669])
  • Resolve Django deprecation warnings. ([4712][gh4712])
  • Various cleanup of test cases.

3.5.3

Date: [7th November 2016][3.5.3-milestone]

  • Don't raise incorrect FilterSet deprecation warnings. ([4660][gh4660], [4643][gh4643], [4644][gh4644])
  • Schema generation should not raise 404 when a view permission class does. ([4645][gh4645], [4646][gh4646])
  • Add autofocus support for input controls. ([4650][gh4650])

3.5.2

Date: [1st November 2016][3.5.2-milestone]

  • Restore exception tracebacks in Python 2.7. ([4631][gh4631], [4638][gh4638])
  • Properly display dicts in the admin console. ([4532][gh4532], [4636][gh4636])
  • Fix is_simple_callable with variable args, kwargs. ([4622][gh4622], [4602][gh4602])
  • Support 'on'/'off' literals with BooleanField. ([4640][gh4640], [4624][gh4624])
  • Enable cursor pagination of value querysets. ([4569][gh4569])
  • Fix support of get_full_details() for Throttled exceptions. ([4627][gh4627])
  • Fix FilterSet proxy. ([4620][gh4620])
  • Make serializer fields import explicit. ([4628][gh4628])
  • Drop redundant requests adapter. ([4639][gh4639])

3.5.1

Date: [21st October 2016][3.5.1-milestone]

  • Make rest_framework/compat.py imports. ([4612][gh4612], [4608][gh4608], [4601][gh4601])
  • Fix bug in schema base path generation. ([4611][gh4611], [4605][gh4605])
  • Fix broken case of ListSerializer with single item. ([4609][gh4609], [4606][gh4606])
  • Remove bare raise for Python 3.5 compat. ([4600][gh4600])

3.5.0

Date: [20th October 2016][3.5.0-milestone]


3.4.x series

django-reversion 2.0.6 -> 2.0.9

2.0.9


  • Bugfix: Deleted inline admin instances no longer added to revision.
  • Bugfix: M2M relations correctly added to revision (etianen, claudep).
  • Improved performance of 0003 migration (mkurek).
  • Documentation improvements (orlra, guettli, meilinger).
  • Django 1.11 support (claudep).
  • Added atomic=True parameter to create_revision (Ernesto Ferro).

2.0.8


  • Setting revision.user in process_response for middleware (etianen).
  • Fixing localization of model primary keys in recover_list.html (w4rri0r3k).
  • Documentation tweaks (jaywink).

2.0.7


  • Database migrations now db-aware (alukach).
  • Added "revert" and "recover" context variables to admin templates (kezabelle).
  • Added post_revision_commit and pre_revision_commit signals back in (carlosxl).
  • Fixing datetime in admin change message (arogachev).
  • Fixing performance bug in postgres (st4lk).
  • Fixing admin change messages in Django 1.10+ (claudep).
  • Fixing revision middleware behavior in Django 1.10+ (etianen).
  • Documentation tweaks (jschneier).
  • Deprecation fixes (KhasanovBI, zsiciarz, claudep).
  • Releasing as a universal wheel (adamchainz).

Django 1.9.13 -> 1.11.2

1.11.2

===========================

June 1, 2017

Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the
latest string translations from Transifex are incorporated.

Minor feature

The new LiveServerTestCase.port attribute reallows the use case of binding
to a specific port following the :ref:bind to port zero <liveservertestcase-port-zero-change> change in Django 1.11.

Bugfixes

  • Added detection for GDAL 2.1 and 2.0, and removed detection for unsupported
    versions 1.7 and 1.8 (:ticket:28181).
  • Changed contrib.gis to raise ImproperlyConfigured rather than
    GDALException if gdal isn't installed, to allow third-party apps to
    catch that exception (:ticket:28178).
  • Fixed django.utils.http.is_safe_url() crash on invalid IPv6 URLs
    (:ticket:28142).
  • Fixed regression causing pickling of model fields to crash (:ticket:28188).
  • Fixed django.contrib.auth.authenticate() when multiple authentication
    backends don't accept a positional request argument (:ticket:28207).
  • Fixed introspection of index field ordering on PostgreSQL (:ticket:28197).
  • Fixed a regression where Model._state.adding wasn't set correctly on
    multi-table inheritance parent models after saving a child model
    (:ticket:28210).
  • Allowed DjangoJSONEncoder to serialize
    django.utils.deprecation.CallableBool (:ticket:28230).
  • Relaxed the validation added in Django 1.11 of the fields in the defaults
    argument of QuerySet.get_or_create() and update_or_create() to
    reallow settable model properties (:ticket:28222).
  • Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if the
    InvalidPage message contains non-ASCII (:ticket:28204).
  • Prevented Subquery from adding an unnecessary CAST which resulted in
    invalid SQL (:ticket:28199).
  • Corrected detection of GDAL 2.1 on Windows (:ticket:28181).
  • Made date-based generic views return a 404 rather than crash when given an
    out of range date (:ticket:28209).
  • Fixed a regression where file_move_safe() crashed when moving files to a
    CIFS mount (:ticket:28170).
  • Moved the ImageField file extension validation added in Django 1.11 from
    the model field to the form field to reallow the use case of storing images
    without an extension (:ticket:28242).

===========================

1.11.1

===========================

May 6, 2017

Django 1.11.1 adds a minor feature and fixes several bugs in 1.11.

Allowed disabling server-side cursors on PostgreSQL

The change in Django 1.11 to make :meth:.QuerySet.iterator() use server-side
cursors on PostgreSQL prevents running Django with pgBouncer in transaction
pooling mode. To reallow that, use the :setting:DISABLE_SERVER_SIDE_CURSORS <DATABASE-DISABLE_SERVER_SIDE_CURSORS> setting in :setting:DATABASES.

See :ref:transaction-pooling-server-side-cursors for more discussion.

Bugfixes

  • Made migrations respect Index’s name argument. If you created a
    named index with Django 1.11, makemigrations will create a migration to
    recreate the index with the correct name (:ticket:28051).
  • Fixed a crash when using a __icontains lookup on a ArrayField
    (:ticket:28038).
  • Fixed a crash when using a two-tuple in EmailMessage’s attachments
    argument (:ticket:28042).
  • Fixed QuerySet.filter() crash when it references the name of a
    OneToOneField primary key (:ticket:28047).
  • Fixed empty POST data table appearing instead of "No POST data" in HTML debug
    page (:ticket:28079).
  • Restored BoundField\s without any choices evaluating to True
    (:ticket:28058).
  • Prevented SessionBase.cycle_key() from losing session data if
    _session_cache isn't populated (:ticket:28066).
  • Fixed layout of ReadOnlyPasswordHashWidget (used in the admin's user
    change page) (:ticket:28097).
  • Allowed prefetch calls on managers with custom ModelIterable subclasses
    (:ticket:28096).
  • Fixed change password link in the contrib.auth admin for el,
    es_MX, and pt translations (:ticket:28100).
  • Restored the output of the class attribute in the <ul> of widgets
    that use the multiple_input.html template. This fixes
    ModelAdmin.radio_fields with admin.HORIZONTAL (:ticket:28059).
  • Fixed crash in BaseGeometryWidget.subwidgets() (:ticket:28039).
  • Fixed exception reraising in ORM query execution when cursor.execute()
    fails and the subsequent cursor.close() also fails (:ticket:28091).
  • Fixed a regression where CheckboxSelectMultiple, NullBooleanSelect,
    RadioSelect, SelectMultiple, and Select localized option values
    (:ticket:28075).
  • Corrected the stack level of unordered queryset pagination warnings
    (:ticket:28109).
  • Fixed a regression causing incorrect queries for __in subquery lookups
    when models use ForeignKey.to_field (:ticket:28101).
  • Fixed crash when overriding the template of
    django.views.static.directory_index() (:ticket:28122).
  • Fixed a regression in formset min_num validation with unchanged forms
    that have initial data (:ticket:28130).
  • Prepared for cx_Oracle 6.0 support (:ticket:28138).
  • Updated the contrib.postgres SplitArrayWidget to use template-based
    widget rendering (:ticket:28040).
  • Fixed crash in BaseGeometryWidget.get_context() when overriding existing
    attrs (:ticket:28105).
  • Prevented AddIndex and RemoveIndex from mutating model state
    (:ticket:28043).
  • Prevented migrations from dropping database indexes from Meta.indexes
    when changing Field.db_index to False (:ticket:28052).
  • Fixed a regression in choice ordering in form fields with grouped and
    non-grouped options (:ticket:28157).
  • Fixed crash in BaseInlineFormSet._construct_form() when using
    save_as_new (:ticket:28159).
  • Fixed a regression where Model._state.db wasn't set correctly on
    multi-table inheritance parent models after saving a child model
    (:ticket:28166).
  • Corrected the return type of ArrayField(CITextField()) values retrieved
    from the database (:ticket:28161).
  • Fixed QuerySet.prefetch_related() crash when fetching relations in nested
    Prefetch objects (:ticket:27554).
  • Prevented hiding GDAL errors if it's not installed when using contrib.gis
    (:ticket:28160). (It's a required dependency as of Django 1.11.)
  • Fixed a regression causing __in lookups on a foreign key to fail when
    using the foreign key's parent model as the lookup value (:ticket:28175).

=========================

1.11

=========================

April 4, 2017

Welcome to Django 1.11!

These release notes cover the :ref:new features <whats-new-1.11>, as well as
some :ref:backwards incompatible changes <backwards-incompatible-1.11> you'll
want to be aware of when upgrading from Django 1.10 or older versions. We've
:ref:begun the deprecation process for some features <deprecated-features-1.11>.

See the :doc:/howto/upgrade-version guide if you're updating an existing
project.

Django 1.11 is designated as a :term:long-term support release. It will
receive security updates for at least three years after its release. Support
for the previous LTS, Django 1.8, will end in April 2018.

Python compatibility

Django 1.11 requires Python 2.7, 3.4, 3.5, or 3.6. Django 1.11 is the first
release to support Python 3.6. We highly recommend and only officially
support the latest release of each series.

The Django 1.11.x series is the last to support Python 2. The next major
release, Django 2.0, will only support Python 3.5+.

Deprecating warnings are no longer loud by default

Unlike older versions of Django, Django's own deprecation warnings are no
longer displayed by default. This is consistent with Python's default behavior.

This change allows third-party apps to support both Django 1.11 LTS and Django
1.8 LTS without having to add code to avoid deprecation warnings.

Following the release of Django 2.0, we suggest that third-party app authors
drop support for all versions of Django prior to 1.11. At that time, you should
be able run your package's tests using python -Wd so that deprecation
warnings do appear. After making the deprecation warning fixes, your app should
be compatible with Django 2.0.

.. _whats-new-1.11:

What's new in Django 1.11

Class-based model indexes

The new :mod:django.db.models.indexes module contains classes which ease
creating database indexes. Indexes are added to models using the
:attr:Meta.indexes <django.db.models.Options.indexes> option.

The :class:~django.db.models.Index class creates a b-tree index, as if you
used :attr:~django.db.models.Field.db_index on the model field or
:attr:~django.db.models.Options.index_together on the model Meta class.
It can be subclassed to support different index types, such as
:class:~django.contrib.postgres.indexes.GinIndex. It also allows defining the
order (ASC/DESC) for the columns of the index.

Template-based widget rendering

To ease customizing widgets, form widget rendering is now done using the
template system rather than in Python. See :doc:/ref/forms/renderers.

You may need to adjust any custom widgets that you've written for a few
:ref:backwards incompatible changes <template-widget-incompatibilities-1-11>.

Subquery expressions

The new :class:~django.db.models.Subquery and
:class:~django.db.models.Exists database expressions allow creating
explicit subqueries. Subqueries may refer to fields from the outer queryset
using the :class:~django.db.models.OuterRef class.

Minor features

:mod:django.contrib.admin

  • :attr:.ModelAdmin.date_hierarchy can now reference fields across relations.
  • The new :meth:ModelAdmin.get_exclude() <django.contrib.admin.ModelAdmin.get_exclude> hook allows specifying the
    exclude fields based on the request or model instance.
  • The popup_response.html template can now be overridden per app, per
    model, or by setting the :attr:.ModelAdmin.popup_response_template
    attribute.

:mod:django.contrib.auth

  • The default iteration count for the PBKDF2 password hasher is increased by
    20%.
  • The :class:~django.contrib.auth.views.LoginView and
    :class:~django.contrib.auth.views.LogoutView class-based views supersede the
    deprecated login() and logout() function-based views.
  • The :class:~django.contrib.auth.views.PasswordChangeView,
    :class:~django.contrib.auth.views.PasswordChangeDoneView,
    :class:~django.contrib.auth.views.PasswordResetView,
    :class:~django.contrib.auth.views.PasswordResetDoneView,
    :class:~django.contrib.auth.views.PasswordResetConfirmView, and
    :class:~django.contrib.auth.views.PasswordResetCompleteView class-based
    views supersede the deprecated password_change(),
    password_change_done(), password_reset(), password_reset_done(),
    password_reset_confirm(), and password_reset_complete() function-based
    views.
  • The new post_reset_login attribute for
    :class:~django.contrib.auth.views.PasswordResetConfirmView allows
    automatically logging in a user after a successful password reset.
    If you have multiple AUTHENTICATION_BACKENDS configured, use the
    post_reset_login_backend attribute to choose which one to use.
  • To avoid the possibility of leaking a password reset token via the HTTP
    Referer header (for example, if the reset page includes a reference to CSS or
    JavaScript hosted on another domain), the
    :class:~django.contrib.auth.views.PasswordResetConfirmView (but not the
    deprecated password_reset_confirm() function-based view) stores the token
    in a session and redirects to itself to present the password change form to
    the user without the token in the URL.
  • :func:~django.contrib.auth.update_session_auth_hash now rotates the session
    key to allow a password change to invalidate stolen session cookies.
  • The new success_url_allowed_hosts attribute for
    :class:~django.contrib.auth.views.LoginView and
    :class:~django.contrib.auth.views.LogoutView allows specifying a set of
    hosts that are safe for redirecting after login and logout.
  • Added password validators help_text to
    :class:~django.contrib.auth.forms.UserCreationForm.
  • The HttpRequest is now passed to :func:~django.contrib.auth.authenticate
    which in turn passes it to the authentication backend if it accepts a
    request argument.
  • The :func:~django.contrib.auth.signals.user_login_failed signal now
    receives a request argument.
  • :class:~django.contrib.auth.forms.PasswordResetForm supports custom user
    models that use an email field named something other than 'email'.
    Set :attr:CustomUser.EMAIL_FIELD <django.contrib.auth.models.CustomUser.EMAIL_FIELD> to the name of the field.
  • :func:~django.contrib.auth.get_user_model can now be called at import time,
    even in modules that define models.

:mod:django.contrib.contenttypes

  • When stale content types are detected in the
    :djadmin:remove_stale_contenttypes command, there's now a list of related
    objects such as auth.Permission\s that will also be deleted. Previously,
    only the content types were listed (and this prompt was after migrate
    rather than in a separate command).

:mod:django.contrib.gis

  • The new :meth:.GEOSGeometry.from_gml and :meth:.OGRGeometry.from_gml
    methods allow creating geometries from GML.
  • Added support for the :lookup:dwithin lookup on SpatiaLite.
  • The :class:~django.contrib.gis.db.models.functions.Area function,
    :class:~django.contrib.gis.db.models.functions.Distance function, and
    distance lookups now work with geodetic coordinates on SpatiaLite.
  • The OpenLayers-based form widgets now use OpenLayers.js from
    https://cdnjs.cloudflare.com which is more suitable for production use
    than the the old http://openlayers.org source. They are also updated to
    use OpenLayers 3.
  • PostGIS migrations can now change field dimensions.
  • Added the ability to pass the size, shape, and offset parameter when
    creating :class:~django.contrib.gis.gdal.GDALRaster objects.
  • Added SpatiaLite support for the
    :class:~django.contrib.gis.db.models.functions.IsValid function,
    :class:~django.contrib.gis.db.models.functions.MakeValid function, and
    :lookup:isvalid lookup.
  • Added Oracle support for the
    :class:~django.contrib.gis.db.models.functions.AsGML function,
    :class:~django.contrib.gis.db.models.functions.BoundingCircle function,
    :class:~django.contrib.gis.db.models.functions.IsValid function, and
    :lookup:isvalid lookup.

:mod:django.contrib.postgres

  • The new distinct argument for
    :class:~django.contrib.postgres.aggregates.StringAgg determines if
    concatenated values will be distinct.
  • The new :class:~django.contrib.postgres.indexes.GinIndex and
    :class:~django.contrib.postgres.indexes.BrinIndex classes allow
    creating GIN and BRIN indexes in the database.
  • :class:~django.contrib.postgres.fields.JSONField accepts a new encoder
    parameter to specify a custom class to encode data types not supported by the
    standard encoder.
  • The new :class:~django.contrib.postgres.fields.CIText mixin and
    :class:~django.contrib.postgres.operations.CITextExtension migration
    operation allow using PostgreSQL's citext extension for case-insensitive
    lookups. Three fields are provided: :class:.CICharField,
    :class:.CIEmailField, and :class:.CITextField.
  • The new :class:~django.contrib.postgres.aggregates.JSONBAgg allows
    aggregating values as a JSON array.
  • The :class:~django.contrib.postgres.fields.HStoreField (model field) and
    :class:~django.contrib.postgres.forms.HStoreField (form field) allow
    storing null values.

Cache

  • Memcached backends now pass the contents of :setting:OPTIONS <CACHES-OPTIONS>
    as keyword arguments to the client constructors, allowing for more advanced
    control of client behavior. See the :ref:cache arguments <cache_arguments>
    documentation for examples.
  • Memcached backends now allow defining multiple servers as a comma-delimited
    string in :setting:LOCATION <CACHES-LOCATION>, for convenience with
    third-party services that use such strings in environment variables.

CSRF

  • Added the :setting:CSRF_USE_SESSIONS setting to allow storing the CSRF
    token in the user's session rather than in a cookie.

Database backends

  • Added the skip_locked argument to :meth:.QuerySet.select_for_update()
    on PostgreSQL 9.5+ and Oracle to execute queries with
    FOR UPDATE SKIP LOCKED.
  • Added the :setting:TEST['TEMPLATE'] <TEST_TEMPLATE> setting to let
    PostgreSQL users specify a template for creating the test database.
  • :meth:.QuerySet.iterator() now uses :ref:server-side cursors <psycopg2:server-side-cursors> on PostgreSQL. This feature transfers some of
    the worker memory load (used to hold query results) to the database and might
    increase database memory usage.
  • Added MySQL support for the 'isolation_level' option in
    :setting:OPTIONS to allow specifying the :ref:transaction isolation level <mysql-isolation-level>. To avoid possible data loss, it's recommended to
    switch from MySQL's default level, repeatable read, to read committed.
  • Added support for cx_Oracle 5.3.

Email

  • Added the :setting:EMAIL_USE_LOCALTIME setting to allow sending SMTP date
    headers in the local time zone rather than in UTC.
  • EmailMessage.attach() and attach_file() now fall back to MIME type
    application/octet-stream when binary content that can't be decoded as
    UTF-8 is specified for a text/* attachment.

File Storage

  • To make it wrappable by :class:io.TextIOWrapper,
    :class:~django.core.files.File now has the readable(), writable(),
    and seekable() methods.

Forms

  • The new :attr:CharField.empty_value <django.forms.CharField.empty_value>
    attribute allows specifying the Python value to use to represent "empty".
  • The new :meth:Form.get_initial_for_field() <django.forms.Form.get_initial_for_field> method returns initial data for a
    form field.

Internationalization

  • Number formatting and the :setting:NUMBER_GROUPING setting support
    non-uniform digit grouping.

Management Commands

  • The new :option:loaddata --exclude option allows excluding models and apps
    while loading data from fixtures.
  • The new :option:diffsettings --default option allows specifying a settings
    module other than Django's default settings to compare against.
  • app_label\s arguments now limit the :option:showmigrations --plan
    output.

Migrations

  • Added support for serialization of uuid.UUID objects.

Models

  • Added support for callable values in the defaults argument of
    :meth:QuerySet.update_or_create() <django.db.models.query.QuerySet.update_or_create> and
    :meth:~django.db.models.query.QuerySet.get_or_create.
  • :class:~django.db.models.ImageField now has a default
    :data:~django.core.validators.validate_image_file_extension validator.
    (This validator moved to the form field in :doc:Django 1.11.2 <1.11.2>.)
  • Added support for time truncation to
    :class:~django.db.models.functions.datetime.Trunc functions.
  • Added the :class:~django.db.models.functions.datetime.ExtractWeek function
    to extract the week from :class:~django.db.models.DateField and
    :class:~django.db.models.DateTimeField and exposed it through the
    :lookup:week lookup.
  • Added the :class:~django.db.models.functions.datetime.TruncTime function
    to truncate :class:~django.db.models.DateTimeField to its time component
    and exposed it through the :lookup:time lookup.
  • Added support for expressions in :meth:.QuerySet.values and
    :meth:~.QuerySet.values_list.
  • Added support for query expressions on lookups that take multiple arguments,
    such as range.
  • You can now use the unique=True option with
    :class:~django.db.models.FileField.
  • Added the nulls_first and nulls_last parameters to
    :class:Expression.asc() <django.db.models.Expression.asc> and
    :meth:~django.db.models.Expression.desc to control
    the ordering of null values.
  • The new F expression bitleftshift() and bitrightshift() methods
    allow :ref:bitwise shift operations <using-f-expressions-in-filters>.
  • Added :meth:.QuerySet.union, :meth:~.QuerySet.intersection, and
    :meth:~.QuerySet.difference.

Requests and Responses

  • Added :meth:QueryDict.fromkeys() <django.http.QueryDict.fromkeys>.
  • :class:~django.middleware.common.CommonMiddleware now sets the
    Content-Length response header for non-streaming responses.
  • Added the :setting:SECURE_HSTS_PRELOAD setting to allow appending the
    preload directive to the Strict-Transport-Security header.
  • :class:~django.middleware.http.ConditionalGetMiddleware now adds the
    ETag header to responses.

Serialization

  • The new django.core.serializers.base.Serializer.stream_class attribute
    allows subclasses to customize the default stream.
  • The encoder used by the :ref:JSON serializer <serialization-formats-json>
    can now be customized by passing a cls keyword argument to the
    serializers.serialize() function.
  • :class:~django.core.serializers.json.DjangoJSONEncoder now serializes
    :class:~datetime.timedelta objects (used by
    :class:~django.db.models.DurationField).

Templates

  • :meth:~django.utils.safestring.mark_safe can now be used as a decorator.
  • The :class:~django.template.backends.jinja2.Jinja2 template backend now
    supports context processors by setting the 'context_processors' option in
    :setting:OPTIONS <TEMPLATES-OPTIONS>.
  • The :ttag:regroup tag now returns namedtuple\s instead of dictionaries
    so you can unpack the group object directly in a loop, e.g.
    {% for grouper, list in regrouped %}.
  • Added a :ttag:resetcycle template tag to allow resetting the sequence of
    the :ttag:cycle template tag.
  • You can now specify specific directories for a particular
    :class:filesystem.Loader <django.template.loaders.filesystem.Loader>.

Tests

  • Added :meth:.DiscoverRunner.get_test_runner_kwargs to allow customizing the
    keyword arguments passed to the test runner.
  • Added the :option:test --debug-mode option to help troubleshoot test
    failures by setting the :setting:DEBUG setting to True.
  • The new :func:django.test.utils.setup_databases (moved from
    django.test.runner) and :func:~django.test.utils.teardown_databases
    functions make it easier to build custom test runners.
  • Added support for :meth:python:unittest.TestCase.subTest’s when using the
    :option:test --parallel option.
  • DiscoverRunner now runs the system checks at the start of a test run.
    Override the :meth:.DiscoverRunner.run_checks method if you want to disable
    that.

Validators

  • Added :class:~django.core.validators.FileExtensionValidator to validate
    file extensions and
    :data:~django.core.validators.validate_image_file_extension to validate
    image files.

.. _backwards-incompatible-1.11:

Backwards incompatible changes in 1.11

:mod:django.contrib.gis

  • To simplify the codebase and because it's easier to install than when
    contrib.gis was first released, :ref:gdalbuild is now a required
    dependency for GeoDjango. In older versions, it's only required for SQLite.
  • contrib.gis.maps is removed as it interfaces with a retired version of
    the Google Maps API and seems to be unmaintained. If you're using it, let us know <https://code.djangoproject.com/ticket/14284>_.
  • The GEOSGeometry equality operator now also compares SRID.
  • The OpenLayers-based form widgets now use OpenLayers 3, and the
    gis/openlayers.html and gis/openlayers-osm.html templates have been
    updated. Check your project if you subclass these widgets or extend the
    templates. Also, the new widgets work a bit differently than the old ones.
    Instead of using a toolbar in the widget, you click to draw, click and drag
    to move the map, and click and drag a point/vertex/corner to move it.
  • Support for SpatiaLite < 4.0 is dropped.
  • Support for GDAL 1.7 and 1.8 is dropped.
  • The widgets in contrib.gis.forms.widgets and the admin's
    OpenLayersWidget use the :doc:form rendering API &lt;/ref/forms/renderers&gt;
    rather than loader.render_to_string(). If you're using a custom widget
    template, you'll need to be sure your form renderer can locate it. For
    example, you could use the :class:~django.forms.renderers.TemplatesSetting
    renderer.

:mod:django.contrib.staticfiles

  • collectstatic may now fail during post-processing when using a hashed
    static files storage if a reference loop exists (e.g. &#39;foo.css&#39;
    references &#39;bar.css&#39; which itself references &#39;foo.css&#39;) or if the
    chain of files referencing other files is too deep to resolve in several
    passes. In the latter case, increase the number of passes using
    :attr:.ManifestStaticFilesStorage.max_post_process_passes.
  • When using ManifestStaticFilesStorage, static files not found in the
    manifest at runtime now raise a ValueError instead of returning an
    unchanged path. You can revert to the old behavior by setting
    :attr:.ManifestStaticFilesStorage.manifest_strict to False.

Database backend API

  • The DatabaseOperations.time_trunc_sql() method is added to support
    TimeField truncation. It accepts a lookup_type and field_name
    arguments and returns the appropriate SQL to truncate the given time field
    field_name to a time object with only the given specificity. The
    lookup_type argument can be either &#39;hour&#39;, &#39;minute&#39;, or
    &#39;second&#39;.
  • The DatabaseOperations.datetime_cast_time_sql() method is added to
    support the :lookup:time lookup. It accepts a field_name and tzname
    arguments and returns the SQL necessary to cast a datetime value to time value.
  • To enable FOR UPDATE SKIP LOCKED support, set
    DatabaseFeatures.has_select_for_update_skip_locked = True.
  • The new DatabaseFeatures.supports_index_column_ordering attribute
    specifies if a database allows defining ordering for columns in indexes. The
    default value is True and the DatabaseIntrospection.get_constraints()
    method should include an &#39;orders&#39; key in each of the returned
    dictionaries with a list of &#39;ASC&#39; and/or &#39;DESC&#39; values corresponding
    to the the ordering of each column in the index.
  • :djadmin:inspectdb no longer calls DatabaseIntrospection.get_indexes()
    which is deprecated. Custom database backends should ensure all types of
    indexes are returned by DatabaseIntrospection.get_constraints().
  • Renamed the ignores_quoted_identifier_case feature to
    ignores_table_name_case to more accurately reflect how it is used.
  • The name keyword argument is added to the
    DatabaseWrapper.create_cursor(self, name=None) method to allow usage of
    server-side cursors on backends that support it.

Dropped support for PostgreSQL 9.2 and PostGIS 2.0

Upstream support for PostgreSQL 9.2 ends in September 2017. As a consequence,
Django 1.11 sets PostgreSQL 9.3 as the minimum version it officially supports.

Support for PostGIS 2.0 is also removed as PostgreSQL 9.2 is the last version
to support it.

Also, the minimum supported version of psycopg2 is increased from 2.4.5 to
2.5.4.

.. _liveservertestcase-port-zero-change:

LiveServerTestCase binds to port zero

Rather than taking a port range and iterating to find a free port,
LiveServerTestCase binds to port zero and relies on the operating system
to assign a free port. The DJANGO_LIVE_TEST_SERVER_ADDRESS environment
variable is no longer used, and as it's also no longer used, the
``manage.py test -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ipdb should ask iPython 5 which debugger class to use Using set_trace in 0.9.1 raises an error
3 participants