معرفی شرکت ها


django-mobile-views-0.1.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Some mixins to serve mobile templates when mobile detected.
ویژگی مقدار
سیستم عامل -
نام فایل django-mobile-views-0.1.1
نام django-mobile-views
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Aaron Madison
ایمیل نویسنده UNKNOWN
آدرس صفحه اصلی https://github.com/madisona/django-mobile-views
آدرس اینترنتی https://pypi.org/project/django-mobile-views/
مجوز UNKNOWN
django-mobile-views is a simple app to help detect mobile browsers and serve a different template for them. It works by inspecting the user agent. To use, either use one of the mobile generic views, or add the MobileMixin to your class based view. from mobile_views.generic_views import MobileTemplateView class HomePage(MobileTemplateView): template_name = 'myapp/home_page.html' mobile_template_name = 'myapp/mobile_home_page.html' And that's it! There is also a 'FullSiteView' provided that when accessed will set a cookie to prevent being served the mobile template. The cookie lasts until browser close.


نحوه نصب


نصب پکیج whl django-mobile-views-0.1.1:

    pip install django-mobile-views-0.1.1.whl


نصب پکیج tar.gz django-mobile-views-0.1.1:

    pip install django-mobile-views-0.1.1.tar.gz