معرفی شرکت ها


django-tabler-icons-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Use tabler icons with django templates
ویژگی مقدار
سیستم عامل -
نام فایل django-tabler-icons-0.1.0
نام django-tabler-icons
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Demetris Stavrou
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/demestav/django-tabler-icons
آدرس اینترنتی https://pypi.org/project/django-tabler-icons/
مجوز -
# Django tabler icons Use [the tabler](https://github.com/tabler/tabler-icons) icon set in your Django project. ## Installation Install the package from PyPI: ```bash python -m pip install django-tabler-icons ``` Add `tabler_icons` to your `INSTALLED_APPS`: ```python INSTALLED_APPS = [ ... 'tabler_icons', ... ] ``` Download the icon set: ```bash python manage.py download_icons ``` Icons will be downloaded to `<user_home_directory>/.config/django-tabler-icons`. You can override this by setting the `TABLER_ICONS_DIR` setting, in project settings. ## Usage To add an icon to your template, use the `tabler_icon` template tag: ```django {% load tabler_icons %} {% tabler_icon '<icon_name>' %} ``` If you need to add classes to the icon, use the second argument: ```django {% tabler_icon '<icon_name>' '<class_name_1> <class_name_2>' %} ``` The icons come with some default classes which you can remove by passing `no` to the third argument (`keep_default_classes`) ```django {% tabler_icon '<icon_name>' '<class_name_1> <class_name_2>' 'no' %} ``` > The default is to keep the default classes so you can omit the third argument if you want to keep them. ## Relevant projects [Heroicons](https://github.com/adamchainz/heroicons) is a package for using [heroicons](https://heroicons.com) in Django projects, which is also the inspiration for this package.


نیازمندی

مقدار نام
>=3.0 django


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl django-tabler-icons-0.1.0:

    pip install django-tabler-icons-0.1.0.whl


نصب پکیج tar.gz django-tabler-icons-0.1.0:

    pip install django-tabler-icons-0.1.0.tar.gz