{ "info": { "author": "Samuel Spencer", "author_email": "sam@sqbl.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-spaghetti-and-meatballs\n==============================\n\n|docs| |travis| |code-climate| |coveralls|\n\nIts a spicy meatball for serving up fresh hot entity-relationship diagrams straight from your django models.\n\n\nAdding spaghetti to your project\n--------------------------------\n\nInstall some spaghetti::\n\n pip install django-spaghetti-and-meatballs\n\nAdd ``\"django_spaghetti\"`` to your ``INSTALLED_APPS`` setting like this::\n\n INSTALLED_APPS = [\n ...\n 'django_spaghetti',\n ]\n\nConfigure your sauce\n++++++++++++++++++++\n\n``django-spaghetti-and-meatballs`` takes a few options set in the ``SPAGHETTI_SAUCE``\nvariable from your projects ``settings.py`` file that make it `extra spicy`::\n\n SPAGHETTI_SAUCE = {\n 'apps':['auth','polls'],\n 'show_fields':False,\n 'exclude':{'auth':['user']}\n }\n\nIn the above dictionary, the following settings are used:\n\n* ``apps`` is a list of apps you want to show in the graph. If its `not` in here it `won't be seen`.\n* ``show_fields`` is a boolean that states if the field names should be shown in the graph or just in the however over. For small graphs, you can set this to `True` to show fields as well, but as you get more models it gets messier.\n* ``exclude`` is a dictionary where each key is an ``app_label`` and the items for that key are model names to hide in the graph. \n\nIf its not working as expected make sure your app labels and model names are all **lower case**.\n\n\nServe your plate in your urls file\n++++++++++++++++++++++++++++++++++\n\nOnce you've configured your sauce, make sure you serve up a plate of spaghetti in your ``urls.py`` like so::\n\n urlpatterns += patterns('',\n url(r'^plate/', include('django_spaghetti.urls')),\n )\n\nA sample platter\n----------------\n\nBelow is an example image showing the connections between models from the \n`django-reversion `_ and \n`django-notifications `_ \napps and Django's built-in ``auth`` models.\n\nColored edges illustrate foreign key relations, with arrows pointing from the defining \nmodel to the related model, while gray edges illustrate many-to-many relations. \nDifferent colors signify the different Django apps, and when relations link between \napps the edges are colored with a gradient.\n\n.. image:: https://cloud.githubusercontent.com/assets/2173174/9053053/a45e185c-3ab2-11e5-9ea0-89dafb7ac274.png\n\nHovering over a model, gives a pop-up that lists the following information:\n\n* model name\n* app label\n* The models docstring\n* A list of every field, with its field type and its help text (if defined). Unique fields have their name underlined.\n\nThis was build with the sauce::\n\n SPAGHETTI_SAUCE = {\n 'apps':['auth','notifications','reversion'],\n 'show_fields':False,\n }\n\nA complex live-demo\n-------------------\n\nTo see a complex example, where ``django-spaghetti-and-meatballs`` really shines,\ncheckout the live version built for the `Aristotle Metadata Registry `_\n\n.. |docs| image:: https://readthedocs.org/projects/django-spaghetti-and-meatballs/badge/?version=latest\n :target: https://http://django-spaghetti-and-meatballs.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. |code-climate| image:: https://codeclimate.com/github/LegoStormtroopr/django-spaghetti-and-meatballs/badges/gpa.svg\n :target: https://codeclimate.com/github/LegoStormtroopr/django-spaghetti-and-meatballs\n :alt: Code Climate\n\n.. |coveralls| image:: https://coveralls.io/repos/LegoStormtroopr/django-spaghetti-and-meatballs/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/LegoStormtroopr/django-spaghetti-and-meatballs?branch=master\n\n.. |travis| image:: https://travis-ci.org/LegoStormtroopr/django-spaghetti-and-meatballs.svg?branch=master\n :target: https://travis-ci.org/LegoStormtroopr/django-spaghetti-and-meatballs", "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/LegoStormtroopr/django-spaghetti-and-meatballs/", "keywords": "django entity relationship diagram erd uml", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-spaghetti-and-meatballs", "package_url": "https://pypi.org/project/django-spaghetti-and-meatballs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-spaghetti-and-meatballs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/LegoStormtroopr/django-spaghetti-and-meatballs/" }, "release_url": "https://pypi.org/project/django-spaghetti-and-meatballs/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Its a spicy meatball for serving up fresh hot entity-relationship diagrams straight from your django models.", "version": "0.2.2" }, "last_serial": 2275039, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "67854637e07692b09365ca257a3bb905", "sha256": "954646a2ad0e1e997b41353891dd190e755bb1d6156db323091cab324c55b813" }, "downloads": -1, "filename": "django_spaghetti_and_meatballs-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "67854637e07692b09365ca257a3bb905", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 141584, "upload_time": "2015-08-21T12:33:18", "url": "https://files.pythonhosted.org/packages/a4/26/99cd7f787f4e771cea6e1a847b9cf234b2c4ec20e5826caebe704e113b2c/django_spaghetti_and_meatballs-0.1.0-py2.py3-none-any.whl" } ], "0.1.0rc1": [], "0.1.0rc5": [ { "comment_text": "", "digests": { "md5": "1e70b30d1f5e642439887fe7a06e2180", "sha256": "0c1716f76a0ba9fcefcb29ac692df0e825cf9405ecd65af06e68cfb4f9560771" }, "downloads": -1, "filename": "django_spaghetti_and_meatballs-0.1.0rc5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e70b30d1f5e642439887fe7a06e2180", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 141636, "upload_time": "2015-08-21T12:31:27", "url": "https://files.pythonhosted.org/packages/a5/a2/5e0109393b2056ac73151b8186f46ba1ede481b6fd3b271044a230263080/django_spaghetti_and_meatballs-0.1.0rc5-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4c78389723bcd8ec20e61b7e74de1428", "sha256": "4ed96c89e78fa179d67bbd1a1fdd46d00a6d46122ff3c00baf24481f03fb7bb1" }, "downloads": -1, "filename": "django_spaghetti_and_meatballs-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4c78389723bcd8ec20e61b7e74de1428", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 141828, "upload_time": "2015-08-22T03:29:41", "url": "https://files.pythonhosted.org/packages/97/d7/297864e1d3e6e1dfae923020da2a4cae82cf724384bdf4c02b5ccfea2250/django_spaghetti_and_meatballs-0.1.1-py2.py3-none-any.whl" } ], "0.1.2": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "440eede0d46194d79b2e6e3f3c67d109", "sha256": "0c8bc71f1cefe7e763212c3942ce52ae27ec4076cd64192ee32bbe03f5710ed3" }, "downloads": -1, "filename": "django_spaghetti_and_meatballs-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "440eede0d46194d79b2e6e3f3c67d109", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8733, "upload_time": "2016-02-20T05:42:33", "url": "https://files.pythonhosted.org/packages/23/ed/ca577f987c071ab9330e17f726a40867370a1d60320d763887c63059b24d/django_spaghetti_and_meatballs-0.2.0-py2.py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "849dc93f096ce339f5606a1e6864ff05", "sha256": "f38441ad122662c98f4d9cfe52c9a3f5422019aeb4a96742dd5f438b92bf66ac" }, "downloads": -1, "filename": "django-spaghetti-and-meatballs-0.2.1.tar.gz", "has_sig": false, "md5_digest": "849dc93f096ce339f5606a1e6864ff05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15018, "upload_time": "2016-07-06T05:13:13", "url": "https://files.pythonhosted.org/packages/73/1b/fba19152fa06620f04e4986ee92b86dcfbe83099b36b3620ae1521e11a1b/django-spaghetti-and-meatballs-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "720700b4a500ee24624788f2dcc76650", "sha256": "db5d4fb29f3ed697156370837db49ea755d62a20358ac687148ae56385557f5f" }, "downloads": -1, "filename": "django-spaghetti-and-meatballs-0.2.2.tar.gz", "has_sig": false, "md5_digest": "720700b4a500ee24624788f2dcc76650", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15165, "upload_time": "2016-08-11T00:16:22", "url": "https://files.pythonhosted.org/packages/70/f1/48a00557d78179daf9efb5c918b2773fec59b563453d8eef8de7af91e763/django-spaghetti-and-meatballs-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "720700b4a500ee24624788f2dcc76650", "sha256": "db5d4fb29f3ed697156370837db49ea755d62a20358ac687148ae56385557f5f" }, "downloads": -1, "filename": "django-spaghetti-and-meatballs-0.2.2.tar.gz", "has_sig": false, "md5_digest": "720700b4a500ee24624788f2dcc76650", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15165, "upload_time": "2016-08-11T00:16:22", "url": "https://files.pythonhosted.org/packages/70/f1/48a00557d78179daf9efb5c918b2773fec59b563453d8eef8de7af91e763/django-spaghetti-and-meatballs-0.2.2.tar.gz" } ] }