skip to navigation
skip to content

django-uri 1.0.2

Django URI

Installation

pip install django-uri

Usage

request.uri.origin
request.uri.scheme

Settings.py

# Use `MIDDLEWARE_CLASSES` prior to Django 1.10
MIDDLEWARE = (
    ...
    'uri.middleware.URIMiddleware',
    ...
)
 
File Type Py Version Uploaded on Size
django-uri-1.0.2.tar.gz (md5) Source 2016-10-19 1KB
django_uri-1.0.2-py2.7.egg (md5) Python Egg 2.7 2016-10-19 3KB