معرفی شرکت ها


django-messages-display-0.4.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Display messages from django.contrib.messages as notifications in the browser.
ویژگی مقدار
سیستم عامل -
نام فایل django-messages-display-0.4.0
نام django-messages-display
نسخه کتابخانه 0.4.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Demetris Stavrou
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/demestav/django-messages-display
آدرس اینترنتی https://pypi.org/project/django-messages-display/
مجوز MIT
# django-messages-display Display messages from django.contrib.messages as notifications in the browser. ## Setup Install package using `pip`: ```shell python -m pip install django-messages-display ``` Add it to the installed apps: ```python INSTALLED_APPS = [ ... "django_messages_display", ... ] ``` ## How to use Include the package template in templates where notifications are needed. If site-wide notifications apply for the whole site, it is convenient to add it to the base template, if there is one. ``` {% include 'django_messages_display/django_messages_display.html' %} ``` Further, for the styling to apply, the CSS should be loaded: ``` {% load static %} ... <head> ... <link rel="stylesheet" href="{% static 'django_messages_display/django_messages_display.css' %}"> </head> ``` ## Accessibility Notifications have the relevant attributes, so that the screen reader announces each one without interrupting the users' flow. Even though visually the notifications disappear after a certain amount of time, they remain in the document in order to be accessible by the screen reader on demand. The colors used for the notifications, meet the WCAG (2.1) AA contrast levels.


نیازمندی

مقدار نام
>=2.2 Django


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

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


نحوه نصب


نصب پکیج whl django-messages-display-0.4.0:

    pip install django-messages-display-0.4.0.whl


نصب پکیج tar.gz django-messages-display-0.4.0:

    pip install django-messages-display-0.4.0.tar.gz