django-sitetree
===============
http://github.com/idlesign/django-sitetree
|release| |lic| |coverage|
.. |release| image:: https://img.shields.io/pypi/v/django-sitetree.svg
:target: https://pypi.python.org/pypi/django-sitetree
.. |lic| image:: https://img.shields.io/pypi/l/django-sitetree.svg
:target: https://pypi.python.org/pypi/django-sitetree
.. |coverage| image:: https://img.shields.io/coveralls/idlesign/django-sitetree/master.svg
:target: https://coveralls.io/r/idlesign/django-sitetree
What's that
-----------
*django-sitetree is a reusable application for Django, introducing site tree, menu and breadcrumbs navigation elements.*
Site structure in django-sitetree is described through Django admin interface in a so called site trees.
Every item of such a tree describes a page or a set of pages through the relation of URI or URL to human-friendly title. Eg. using site tree editor in Django admin::
URI Title
/ - Site Root
|_users/ - Site Users
|_users/13/ - Definite User
Alas the example above makes a little sense if you have more than just a few users, that's why django-sitetree supports Django template tags in item titles and Django named URLs in item URIs.
If we define a named URL for user personal page in urls.py, for example, 'users-personal', we could change a scheme in the following way::
URI Title
/ - Site Root
|_users/ - Site Users
|_users-personal user.id - User Called {{ user.first_name }}
After setting up site structure as a sitetree you should be able to use convenient and highly customizable site navigation means (menus, breadcrumbs and full site trees).
User access to certain sitetree items can be restricted to authenticated users or more accurately with the help of Django permissions system (Auth contrib package).
Sitetree also allows you to define dynamic trees in your code instead of Admin interface. And even more: you can combine those two types of trees in more sophisticated ways.
Documentation
-------------
http://django-sitetree.readthedocs.org/
Raw data
{
"_id": null,
"home_page": "http://github.com/idlesign/django-sitetree",
"name": "django-sitetree",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Igor `idle sign` Starikov",
"author_email": "idlesign@yandex.ru",
"download_url": "https://files.pythonhosted.org/packages/2c/43/c4c868b89dcefad8c967655ba3d6d56ed8c5b87d5f58538a3e15b8ffcb70/django-sitetree-1.18.0.tar.gz",
"platform": null,
"description": "django-sitetree\n===============\nhttp://github.com/idlesign/django-sitetree\n\n|release| |lic| |coverage|\n\n.. |release| image:: https://img.shields.io/pypi/v/django-sitetree.svg\n :target: https://pypi.python.org/pypi/django-sitetree\n\n.. |lic| image:: https://img.shields.io/pypi/l/django-sitetree.svg\n :target: https://pypi.python.org/pypi/django-sitetree\n\n.. |coverage| image:: https://img.shields.io/coveralls/idlesign/django-sitetree/master.svg\n :target: https://coveralls.io/r/idlesign/django-sitetree\n\n\nWhat's that\n-----------\n\n*django-sitetree is a reusable application for Django, introducing site tree, menu and breadcrumbs navigation elements.*\n\nSite structure in django-sitetree is described through Django admin interface in a so called site trees.\nEvery item of such a tree describes a page or a set of pages through the relation of URI or URL to human-friendly title. Eg. using site tree editor in Django admin::\n\n URI Title\n / - Site Root\n |_users/ - Site Users\n |_users/13/ - Definite User\n\n\nAlas the example above makes a little sense if you have more than just a few users, that's why django-sitetree supports Django template tags in item titles and Django named URLs in item URIs.\nIf we define a named URL for user personal page in urls.py, for example, 'users-personal', we could change a scheme in the following way::\n\n URI Title\n / - Site Root\n |_users/ - Site Users\n |_users-personal user.id - User Called {{ user.first_name }}\n\nAfter setting up site structure as a sitetree you should be able to use convenient and highly customizable site navigation means (menus, breadcrumbs and full site trees).\n\nUser access to certain sitetree items can be restricted to authenticated users or more accurately with the help of Django permissions system (Auth contrib package).\n\nSitetree also allows you to define dynamic trees in your code instead of Admin interface. And even more: you can combine those two types of trees in more sophisticated ways.\n\n\nDocumentation\n-------------\n\nhttp://django-sitetree.readthedocs.org/\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "This reusable Django app introduces site tree, menu and breadcrumbs navigation elements",
"version": "1.18.0",
"project_urls": {
"Homepage": "http://github.com/idlesign/django-sitetree"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0d0cbbbe6440cbaec7a9f93ab7b1c137d59c7d62e2aac0751bf57179113b2960",
"md5": "1d45af0798c9f365c2d4915c946985e4",
"sha256": "b53f784493031ae2f8edb98f177c10d0f5defc58c59a0cc4f1dfaa25ad761427"
},
"downloads": -1,
"filename": "django_sitetree-1.18.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1d45af0798c9f365c2d4915c946985e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 119199,
"upload_time": "2023-12-24T03:30:19",
"upload_time_iso_8601": "2023-12-24T03:30:19.815505Z",
"url": "https://files.pythonhosted.org/packages/0d/0c/bbbe6440cbaec7a9f93ab7b1c137d59c7d62e2aac0751bf57179113b2960/django_sitetree-1.18.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c43c4c868b89dcefad8c967655ba3d6d56ed8c5b87d5f58538a3e15b8ffcb70",
"md5": "9b0212b05aeb20b3e63d4c1a1fcbfd4b",
"sha256": "11228c67f27a4243921b9473d4212a588714c0038698673073e564375640021e"
},
"downloads": -1,
"filename": "django-sitetree-1.18.0.tar.gz",
"has_sig": false,
"md5_digest": "9b0212b05aeb20b3e63d4c1a1fcbfd4b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 91707,
"upload_time": "2023-12-24T03:30:22",
"upload_time_iso_8601": "2023-12-24T03:30:22.358059Z",
"url": "https://files.pythonhosted.org/packages/2c/43/c4c868b89dcefad8c967655ba3d6d56ed8c5b87d5f58538a3e15b8ffcb70/django-sitetree-1.18.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-24 03:30:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "idlesign",
"github_project": "django-sitetree",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "django-sitetree"
}