Easy application for get content type at template
Project description
=====
django-contenttype-tag
=====
It's easy app for get content type of instance at templates
=====
How to use
=====
1. Add 'generic_ct_tag' at INSTALLED_APPS::
INSTALLED_APPS = (
...
'generic_ct_tag',
)
3. At template::
{% load generic_ct %}
{% content_type obj as ct %}
{{ ct.app_label }}
{{ ct.model }}
{# or #}
{% content_type obj %} {# The resulr: <app_label>.<model> #}
django-contenttype-tag
=====
It's easy app for get content type of instance at templates
=====
How to use
=====
1. Add 'generic_ct_tag' at INSTALLED_APPS::
INSTALLED_APPS = (
...
'generic_ct_tag',
)
3. At template::
{% load generic_ct %}
{% content_type obj as ct %}
{{ ct.app_label }}
{{ ct.model }}
{# or #}
{% content_type obj %} {# The resulr: <app_label>.<model> #}
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
Built Distribution
Close
Hashes for django-contenttype-tag-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58c431080b554d92c0d9d5f331e0b46e9709ced31be3b40eff5e7c786f9a8c22 |
|
MD5 | 2ac20267c7bb7b3c2712f9716ca64f17 |
|
BLAKE2b-256 | afda347dc06c8afd3a1d8113e9a7640b9f5b904342f59f3551d677dd41d45f20 |
Close
Hashes for django-contenttype-tag-1.0.1.macosx-10.8-intel.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7700c1081eb7a6eb52d247103d54709cf4eff8e2776e440f449bfd380ba3c353 |
|
MD5 | 45fb50f0297164da54e3bb78008cf905 |
|
BLAKE2b-256 | 742775a993612387bb867039bdd5dbcb5951d5e45f0821dde23a40ae8881f9b2 |