{ "info": { "author": "Colin Powell", "author_email": "colin@onecardinal.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "django-notes\n=============\n\nA simple application to allow you to attach notes to models.\n\nInstallation\n-------------\n\nNotes uses generic relations to handle attaching themselves to models. So installation is basically just like adding a generic relation item to your model.\n\n1. Add 'notes' to your INSTALLED_APPS variable\n2. Import the Note model:\n\n from notes.models import Note\n\n3. Add the note inline to your model's admin def in your admin.py file:\n\n from notes.admin import NoteInline\n\n class YourModelAdmin(admin.ModelAdmin):\n inlines = [ NoteInline, ]\n \n4. To enable easy management you can add a hook to your model:\n\n notes=generic.GenericRelation(Note)\n\nUsage\n------\nFollow the steps above (including 4) and you should have access to all the notes at instance_of_yourmodel.notes_set.all():\n\n >>> object = YourModel.objects.get(pk=1)\n >>> notes_for_object = object.notes_set.all()\n\nSimple.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/powellc/django-notes/", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "notes", "package_url": "https://pypi.org/project/notes/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/notes/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/powellc/django-notes/" }, "release_url": "https://pypi.org/project/notes/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "A simple reusable app to add notes to various models", "version": "0.3.0" }, "last_serial": 1014068, "releases": { "0.2.0": [], "0.3.0": [ { "comment_text": "", "digests": { "md5": "020a4eeba0165739afb39f7678c98b83", "sha256": "db47ce667520d797d5db72f00f7b11a67f16bc0c18794041ccee07d86792d266" }, "downloads": -1, "filename": "notes-0.3.0.tar.gz", "has_sig": false, "md5_digest": "020a4eeba0165739afb39f7678c98b83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4806, "upload_time": "2014-02-27T18:27:16", "url": "https://files.pythonhosted.org/packages/05/a7/a998305a479fe19f7471236a7bf0e43b8eb1b351a995c141696182512645/notes-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "020a4eeba0165739afb39f7678c98b83", "sha256": "db47ce667520d797d5db72f00f7b11a67f16bc0c18794041ccee07d86792d266" }, "downloads": -1, "filename": "notes-0.3.0.tar.gz", "has_sig": false, "md5_digest": "020a4eeba0165739afb39f7678c98b83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4806, "upload_time": "2014-02-27T18:27:16", "url": "https://files.pythonhosted.org/packages/05/a7/a998305a479fe19f7471236a7bf0e43b8eb1b351a995c141696182512645/notes-0.3.0.tar.gz" } ] }