A simple Django url track and show on home page.
Project description
==========
urlcompass
==========
urlcompass is a simple Django app to display active trail of url visited.
Detailed documentation is in the "docs" directory.
Quick start
===========
1. Add "polls" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'urlcompass',
]
2. URLCOMPASS={'root_name':'name-or-root-view',
'start':'[ ',
'end':' ]',
'sep':' > ',
'html_id': 'name-of-my-app',
'html_class':'compass bar class',
'rename': lambda x: x.replace('_', ' ')
}
3. In base template add reference to compass:
{% load urlcompass %}
<div>
{% urlcompass_show %}
</div>
4. urlcompass will now be shown.
Example
=======
github link has and example folder for a mimimal django website using urlcompass.
to use the example, activate it virtualenv and run django manager "python manager.py runserver"
Links
=====
github: https://github.com/Acrisel/django-urlcompass
urlcompass
==========
urlcompass is a simple Django app to display active trail of url visited.
Detailed documentation is in the "docs" directory.
Quick start
===========
1. Add "polls" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'urlcompass',
]
2. URLCOMPASS={'root_name':'name-or-root-view',
'start':'[ ',
'end':' ]',
'sep':' > ',
'html_id': 'name-of-my-app',
'html_class':'compass bar class',
'rename': lambda x: x.replace('_', ' ')
}
3. In base template add reference to compass:
{% load urlcompass %}
<div>
{% urlcompass_show %}
</div>
4. urlcompass will now be shown.
Example
=======
github link has and example folder for a mimimal django website using urlcompass.
to use the example, activate it virtualenv and run django manager "python manager.py runserver"
Links
=====
github: https://github.com/Acrisel/django-urlcompass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-urlcompass-0.9.3.tar.gz
.
File metadata
- Download URL: django-urlcompass-0.9.3.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a5df4861d5ab1a57aa80955ed51fe375f764afb953b4b19e007af72dfee5a6 |
|
MD5 | d42b09806af4a4a1963f91e3f0d57384 |
|
BLAKE2b-256 | 498afa6d47f61f36c13009fd92c2dc39be6be9f5e02257a1fb71afcd4ec79ae6 |