{ "info": { "author": "Aaron Madison", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "django-mobile-views is a simple app to help detect mobile browsers\nand serve a different template for them.\n\nIt works by inspecting the user agent.\n\n\nTo use, either use one of the mobile generic views, or add the MobileMixin\nto your class based view.\n\nfrom mobile_views.generic_views import MobileTemplateView\n\nclass HomePage(MobileTemplateView):\n template_name = 'myapp/home_page.html'\n mobile_template_name = 'myapp/mobile_home_page.html'\n\n\nAnd that's it!\n\nThere is also a 'FullSiteView' provided that when accessed will set a cookie\nto prevent being served the mobile template. The cookie lasts until browser close.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/madisona/django-mobile-views", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-mobile-views", "package_url": "https://pypi.org/project/django-mobile-views/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mobile-views/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/madisona/django-mobile-views" }, "release_url": "https://pypi.org/project/django-mobile-views/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Some mixins to serve mobile templates when mobile detected.", "version": "0.1.1" }, "last_serial": 790094, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "a9d2d622a673e1df0ddfef6ad73b67cf", "sha256": "ed58def5ff93a9affacab8ce8267847423e2a8c63865c679321c0472803925f5" }, "downloads": -1, "filename": "django-mobile-views-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a9d2d622a673e1df0ddfef6ad73b67cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5042, "upload_time": "2012-01-10T14:46:53", "url": "https://files.pythonhosted.org/packages/f2/f2/fecbdef5e8e2aa9bbeee36244181dadd167a8678a7e242502b5abc0a5f30/django-mobile-views-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9d2d622a673e1df0ddfef6ad73b67cf", "sha256": "ed58def5ff93a9affacab8ce8267847423e2a8c63865c679321c0472803925f5" }, "downloads": -1, "filename": "django-mobile-views-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a9d2d622a673e1df0ddfef6ad73b67cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5042, "upload_time": "2012-01-10T14:46:53", "url": "https://files.pythonhosted.org/packages/f2/f2/fecbdef5e8e2aa9bbeee36244181dadd167a8678a7e242502b5abc0a5f30/django-mobile-views-0.1.1.tar.gz" } ] }