{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Web Environment", "Framework :: Django" ], "description": "==========\ndjango-mav\n==========\n\nAn implementation of model-attribute-value for Django, without using generic relations.\n\n\nInstallation\n------------\n\n1. Install using pip (soon - use GitHub for now):\n\n ``pip install django-mav``\n\n Alternatively, you can install download or clone this repo and call ``pip install -e .``.\n\n2. Add to INSTALLED_APPS in your ``settings.py``:\n\n ``'mav',``\n\n3. In your models, decorate models that need to store model-attribute-values with ``@mav``.\n\n\nExample code (foo/models.py)\n----------------------------\n\n.. code:: Django\n\n from django.db import models\n \n from mav.decorators import mav\n \n @mav\n class Foo(models.Model):\n name = models.CharField(max_length=100)\n \n # The @mav decorator will generate a FooAttr class in mav.attrs:\n \n class FooAttr(AbstractModelAttribute):\n # Inherited from AbstractModelAttribute\n attribute = models.ForeignKey(Attribute)\n value = models.TextField(...)\n # Generated\n object = models.ForeignKey(Foo, related_name='attrs')\n\n\nDocumentation\n-------------\n\nTODO\n\n\nRequirements\n------------\n\n- Python 2.6, 2.7, 3.2 or 3.3\n- Django >= 1.4\n\nContributions and pull requests for other Django and Python versions are welcome.\n\n\nBugs and requests\n-----------------\n\nIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.\n\nhttps://github.com/zostera/django-mav/issues\n\n\nLicense\n-------\n\nYou can use this under the MIT License. See `LICENSE `_ file for details.\n\n\nAuthor\n------\n\nDeveloped and maintained by `Zostera `_.\n\nOriginal author & Development lead: `Dylan Verheul `_.\n\nThanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.\n\nPlease see AUTHORS.rst for a list of contributors.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-mav", "package_url": "https://pypi.org/project/django-mav/", "platform": "", "project_url": "https://pypi.org/project/django-mav/", "project_urls": null, "release_url": "https://pypi.org/project/django-mav/0.1/", "requires_dist": null, "requires_python": null, "summary": "", "version": "0.1" }, "last_serial": 1648563, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a3f281297bd49d9e40dfce651e2a59df", "sha256": "86eee67658842495f9a6a973deb1d359c5616519c98f57684ffdcb91dca910af" }, "downloads": -1, "filename": "django-mav-0.1.tar.gz", "has_sig": false, "md5_digest": "a3f281297bd49d9e40dfce651e2a59df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9402, "upload_time": "2015-07-24T18:38:08", "url": "https://files.pythonhosted.org/packages/cf/1d/42820be415d82f79a4e22e600a3ee34f4e18518527eb0fd87a670c8f1e5b/django-mav-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3f281297bd49d9e40dfce651e2a59df", "sha256": "86eee67658842495f9a6a973deb1d359c5616519c98f57684ffdcb91dca910af" }, "downloads": -1, "filename": "django-mav-0.1.tar.gz", "has_sig": false, "md5_digest": "a3f281297bd49d9e40dfce651e2a59df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9402, "upload_time": "2015-07-24T18:38:08", "url": "https://files.pythonhosted.org/packages/cf/1d/42820be415d82f79a4e22e600a3ee34f4e18518527eb0fd87a670c8f1e5b/django-mav-0.1.tar.gz" } ] }