Changes between Initial Version and Version 1 of Ticket #27575
- Timestamp:
- Dec 5, 2016, 1:53:17 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27575 – Description
initial v1 10 10 {{{ 11 11 redirect_url = '' 12 if 12 if settings.PREPEND_WWW: 13 13 host = request.get_host() 14 if host and not host.startswith('www.') 14 if host and not host.startswith('www.'): 15 15 redirect_url = ('%s://www.%s' % (request.scheme, host)) 16 16 }}}