Changes between Initial Version and Version 1 of Ticket #28720


Ignore:
Timestamp:
Oct 17, 2017, 2:38:38 PM (7 years ago)
Author:
Jonas Haag
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28720 – Description

    initial v1  
    1 ``HttpRequest.get_full_path`` returns the ``HttpRequest.path`` based full path, including query string. Example: ``/posts/12345/?foo=bar``.
     1`HttpRequest.get_full_path` returns the `HttpRequest.path` based full path, including query string. Example: `/posts/12345/?foo=bar`.
    22
    3 We should add a counterpart for ``HttpRequest.path_info`` that includes the ``SCRIPT_NAME``, if set. Example: ``/scriptname/posts/12345/?foo=bar``
     3We should add a counterpart for `HttpRequest.path_info` that includes the `SCRIPT_NAME`, if set. Example: `/scriptname/posts/12345/?foo=bar`
    44
    5 Example use case: Adding hreflang meta tags to your ``<head>`` section. This must include the ``SCRIPT_NAME`` prefix as well, otherwise invalid URLs are given.
     5Example use case: Adding hreflang meta tags to your `<head>` section. This must include the `SCRIPT_NAME` prefix as well, otherwise invalid URLs are given.
    66
    77{{{
Back to Top