Loading docs/_ext/djangodocs.py +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class VersionDirective(Directive): msg = """Only one argument accepted for directive '{directive_name}::'. Comments should be provided as content, not as an extra argument.""".format(directive_name=self.name) raise ValueError(msg) raise self.error(msg) env = self.state.document.settings.env ret = [] Loading docs/ref/class-based-views/base.txt +1 −0 Original line number Diff line number Diff line Loading @@ -105,6 +105,7 @@ TemplateView in the URL. .. versionchanged:: 1.5 The context used to be populated with a ``{{ params }}`` dictionary of the parameters captured in the URL. Now those parameters are first-level context variables. Loading docs/ref/class-based-views/mixins-date-based.txt +1 −0 Original line number Diff line number Diff line Loading @@ -330,5 +330,6 @@ BaseDateListView :meth:`QuerySet.dates()<django.db.models.query.QuerySet.dates>`. .. versionchanged:: 1.5 The ``ordering`` parameter was added, and the default order was changed to ascending. docs/ref/class-based-views/mixins-simple.txt +0 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ TemplateResponseMixin .. attribute:: content_type .. versionadded:: 1.5 The ``content_type`` attribute was added. The content type to use for the response. ``content_type`` is passed as a keyword argument to ``response_class``. Default is ``None`` -- Loading docs/ref/clickjacking.txt +1 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ To set the same ``X-Frame-Options`` value for all responses in your site, put ) .. versionchanged:: 1.6 This middleware is enabled in the settings file generated by :djadmin:`startproject`. Loading Loading
docs/_ext/djangodocs.py +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class VersionDirective(Directive): msg = """Only one argument accepted for directive '{directive_name}::'. Comments should be provided as content, not as an extra argument.""".format(directive_name=self.name) raise ValueError(msg) raise self.error(msg) env = self.state.document.settings.env ret = [] Loading
docs/ref/class-based-views/base.txt +1 −0 Original line number Diff line number Diff line Loading @@ -105,6 +105,7 @@ TemplateView in the URL. .. versionchanged:: 1.5 The context used to be populated with a ``{{ params }}`` dictionary of the parameters captured in the URL. Now those parameters are first-level context variables. Loading
docs/ref/class-based-views/mixins-date-based.txt +1 −0 Original line number Diff line number Diff line Loading @@ -330,5 +330,6 @@ BaseDateListView :meth:`QuerySet.dates()<django.db.models.query.QuerySet.dates>`. .. versionchanged:: 1.5 The ``ordering`` parameter was added, and the default order was changed to ascending.
docs/ref/class-based-views/mixins-simple.txt +0 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ TemplateResponseMixin .. attribute:: content_type .. versionadded:: 1.5 The ``content_type`` attribute was added. The content type to use for the response. ``content_type`` is passed as a keyword argument to ``response_class``. Default is ``None`` -- Loading
docs/ref/clickjacking.txt +1 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,7 @@ To set the same ``X-Frame-Options`` value for all responses in your site, put ) .. versionchanged:: 1.6 This middleware is enabled in the settings file generated by :djadmin:`startproject`. Loading