{
"info": {
"author": "Barbaros YILDIRIM",
"author_email": "barbarosaliyildirim@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "django_maskurl\r\n==============\r\n\r\n.. image:: https://travis-ci.org/RedXBeard/django_maskurl.svg?branch=master\r\n :target: https://travis-ci.org/RedXBeard/django_maskurl \r\n :alt: Build\r\n.. image:: https://pypip.in/download/django-maskurl/badge.svg?period=day\r\n :target: https://pypi.python.org/pypi//django-maskurl/\r\n :alt: Downloads\r\n.. image:: https://pypip.in/version/django-maskurl/badge.svg\r\n :target: https://pypi.python.org/pypi/django-maskurl/\r\n :alt: Latest Version\r\n.. image:: https://pypip.in/py_versions/django-maskurl/badge.svg\r\n :target: https://pypi.python.org/pypi/django-maskurl/\r\n :alt: Supported Python versions\r\n.. image:: https://pypip.in/license/django-maskurl/badge.svg\r\n :target: https://pypi.python.org/pypi/django-maskurl/\r\n :alt: License\r\n\r\nMasking url's on templates not to show exact path, hiding them all except get params.\r\n\r\nInstalling\r\n----------\r\n\r\n.. code-block:: bash\r\n\r\n pip install django-maskurl\r\n\r\nThen add maskurl.middleware.UnMaskURLMiddleware to the end of your MIDDLEWARE_CLASSES.\r\n\r\n.. code-block:: python\r\n\r\n MIDDLEWARE_CLASSES = (\r\n 'dikeyshop.syncer.middlewares.SyncerMiddleware',\r\n 'django.middleware.common.CommonMiddleware',\r\n 'django.middleware.http.ConditionalGetMiddleware',\r\n 'django.middleware.locale.LocaleMiddleware',\r\n 'django.middleware.doc.XViewMiddleware',\r\n ...\r\n 'maskurl.middleware.UnMaskURLMiddleware',\r\n )\r\n\r\nUsage\r\n-----\r\n\r\nTo mask a url on a template simply at the top, before all html codes {% load maskurl %} line must be placed, as following;\r\n\r\n.. code-block:: html\r\n\r\n {% load maskurl %}\r\n