wagtail/docs/releases
Robert Rollins cbabc3d9c7 Page.dummy_request() now takes an optional request object argument.
When building a dummy request, you can now pass in the original request object
to add additional information to the dummy. Currently, that includes the
following headers:
REMOTE_ADDR
HTTP_X_FORWARDED_FOR
HTTP_COOKIE
HTTP_USER_AGENT

More may be added later.

This changes ensures that middleware which work on the client IP aren't flumuxed
by its absense, and also makes it possible for previews to be rendered as the
logged in user (they had previously been rendered using an AnnonymousUser).

Because the user's logged in state is now detectable in a Page previews, the
Wagtail userbar now hides itself explicitly during previews, rather than relying
on the fact that previews used to be built with AnonymousUser.
2016-07-06 20:28:05 +01:00
..
0.4.1.rst
0.4.rst
0.5.rst
0.6.rst
0.7.rst
0.8.1.rst
0.8.3.rst
0.8.4.rst
0.8.5.rst
0.8.6.rst
0.8.7.rst
0.8.8.rst
0.8.10.rst
0.8.rst
1.0.rst
1.1.rst
1.2.rst
1.3.1.rst
1.3.rst Fix typos in 1.3 release notes 2016-07-05 15:00:32 +01:00
1.4.1.rst
1.4.2.rst
1.4.3.rst
1.4.4.rst
1.4.5.rst 1.4.5 is now released 2016-05-19 15:00:35 +01:00
1.4.rst
1.5.1.rst mark 1.5.1 as no longer in development 2016-06-07 18:59:13 +01:00
1.5.2.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00
1.5.rst promote rich text link handling to a major feature 2016-05-19 17:01:17 +01:00
1.6.rst Page.dummy_request() now takes an optional request object argument. 2016-07-06 20:28:05 +01:00
index.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00