{ "info": { "author": "George Ma", "author_email": "george.ma1982@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "=================\ndjango-smartmenus\n=================\n\nA Django app that provides template tags to easily incorporate smartmenus (http://www.smartmenus.org/).\n\nInstallation\n============\n\nTo get started using ``django-smartmenus``:\n\n- install it with ``pip``::\n\n $ pip install django-smartmenus\n\n- add the app to ``INSTALLED_APPS``. If you are using Django CMS, make sure it's before ``menus``::\n\n INSTALLED_APPS = (\n ...\n 'django_smartmenus',\n 'menus', #Only if you are using Django CMS\n ...\n )\n\nUsage\n=====\n\nThe best way to see how it works is exploring the example project. But for the impatient, all you need to do is:\n\n- load smartmenus tags in the templates::\n\n\t{% load smartmenus_tags %}\n\n\n- Call smartmenus template tags where css and js files should show::\n\n\t{% smartmenus_css theme %}\n\t\n\t{% smartmenus_js %}\n\n ``theme`` is a string based parameter. Out of box, ``theme`` can be one of 'sm-blue', 'sm-clean', 'sm-mint' and 'sm-simple'. If you create a custom theme of your own, please put the theme file under static folder following smartmenus theme folder structure convention, ie. smartmenus/css/``theme``/``theme``.css.\n\n\n- Render menu html in the templates. Please refer to smartmenus tutorial to see what the html should be.\n\n\nThis app also supports Django CMS:\n\n- load smartmenus and menu tags in the templates::\n\n\t{% load menu_tags smartmenus_tags %}\n\n\n- Call Django CMS specific template tags anywhere in the templates::\n\n\t{% addtoblock \"js\" %}{% endaddtoblock %}\n\t{% smartmenu_bootstrap_cms theme %}\n\n ``theme``'s usage is the same as above.\n\n\n- Render Django CMS menu::\n\n\t\n\n ``theme-class-name`` is a string based parameter. Please refer to smartmenus doc regarding possible values. Usually it's the same as theme name unless it's a custom theme with different naming conventions.", "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/georgema1982/django-smartmenus", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-smartmenus", "package_url": "https://pypi.org/project/django-smartmenus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-smartmenus/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/georgema1982/django-smartmenus" }, "release_url": "https://pypi.org/project/django-smartmenus/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A Django app that provides template tags to easily incorporate smartmenus.", "version": "0.1.0" }, "last_serial": 1705168, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "96669b6ed6252b2b79565febb539dbee", "sha256": "ee85b2a2057e54fb8d2a590b1c6e547345909a7201b14e18b3b6de3cdbc7120c" }, "downloads": -1, "filename": "django-smartmenus-0.1.0.tar.gz", "has_sig": false, "md5_digest": "96669b6ed6252b2b79565febb539dbee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38623, "upload_time": "2015-09-02T16:42:25", "url": "https://files.pythonhosted.org/packages/58/77/d422df3713f98bb23c9fd769e04b685d0c91d77498a7da36c2a98839778b/django-smartmenus-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "96669b6ed6252b2b79565febb539dbee", "sha256": "ee85b2a2057e54fb8d2a590b1c6e547345909a7201b14e18b3b6de3cdbc7120c" }, "downloads": -1, "filename": "django-smartmenus-0.1.0.tar.gz", "has_sig": false, "md5_digest": "96669b6ed6252b2b79565febb539dbee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38623, "upload_time": "2015-09-02T16:42:25", "url": "https://files.pythonhosted.org/packages/58/77/d422df3713f98bb23c9fd769e04b685d0c91d77498a7da36c2a98839778b/django-smartmenus-0.1.0.tar.gz" } ] }