{ "info": { "author": "Arpaso", "author_email": "arvid@arpaso.com", "bugtrack_url": null, "classifiers": [], "description": "Django Model Admin Helpers\n==========================\n\nLink to repository: https://github.com/Arpaso/django-model-admin-helper\n\nProvides classes to extend default django admin functionality:\n\n* **ButtonableModelAdmin**\n* **ModelAdminWithForeignKeyLinksMetaclass** - adds clickable foreign key links at admin interface in list view; Uses **list_display** fields to try adding link to the field in list item. \n* **AdminURLMixin** - provides ability to extend /admin/ urls and make views to urls like: /admin/myurl.\n\n\n\nUsage\n=====\n\n**admin.py**::\n\n from admin_helpers import ButtonableModelAdmin, AdminURLMixin, ModelAdminWithForeignKeyLinksMetaclass\n\n class MyModelAdmin(AdminURLMixin, ButtonableModelAdmin):\n __metaclass__ = ModelAdminWithForeignKeyLinksMetaclass\n\n list_display = ('title', 'link_to_user') # user is a foreignkey field of the MyModel\n\n def get_urls(self):\n urls = super(MyModelAdmin, self).get_urls()\n my_urls = patterns('',\n (r'^my_view/$', self.my_view)\n )\n return my_urls + urls\n\n def my_view(self, request):\n # custom view which should return an HttpResponse\n pass\n\n**Note**:\nNotice that the custom patterns are included before the regular admin URLs: the admin URL patterns are very permissive and will match nearly anything, so you\u2019ll usually want to prepend your custom URLs to the built-in ones.\nIn this example, my_view will be accessed at /admin/myapp/mymodel/my_view/ (assuming the admin URLs are included at /admin/.)\n\nWritten by the development team of Arpaso company: http://arpaso.com", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/Arpaso/django-model-admin-helper/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Arpaso/django-model-admin-helper", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-model-admin-helper", "package_url": "https://pypi.org/project/django-model-admin-helper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-model-admin-helper/", "project_urls": { "Download": "http://github.com/Arpaso/django-model-admin-helper/tarball/0.1", "Homepage": "http://github.com/Arpaso/django-model-admin-helper" }, "release_url": "https://pypi.org/project/django-model-admin-helper/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Admin helpers", "version": "0.2.1" }, "last_serial": 916263, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4d148e753dd9146ed276924de35ee9ff", "sha256": "cdb2643524862a44fa8e9e1be8e1c1f685be01a99114d266d2f03b5344a0ed7b" }, "downloads": -1, "filename": "django-model-admin-helper-0.1.tar.gz", "has_sig": false, "md5_digest": "4d148e753dd9146ed276924de35ee9ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3921, "upload_time": "2013-08-08T10:05:29", "url": "https://files.pythonhosted.org/packages/7a/94/f5c06d7b6dac3fb17c690c70e9b86a83b91637c0f247ad08d6d21d10c611/django-model-admin-helper-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "5a3801f1ac7e14e8a728be448c7019ba", "sha256": "ff76425b155d67470f71f8fa7bbcbbd69b40e3cc3b9bc73d0b7220ffa21b87fc" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "5a3801f1ac7e14e8a728be448c7019ba", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67415, "upload_time": "2013-11-11T10:09:51", "url": "https://files.pythonhosted.org/packages/77/fb/81498f356ac814c9ae75da55dd5106267bf57a4b7ee48288fecac2cad4f0/django-model-admin-helper-0.2.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "f986f11f9b963255c60b5ed751a81c25", "sha256": "84eb18d8c61608fa7ada052b0086adde8ed8f34a1cf70c35cb5b5e03f63ad858" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.tar.gz", "has_sig": false, "md5_digest": "f986f11f9b963255c60b5ed751a81c25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3957, "upload_time": "2013-11-11T10:09:48", "url": "https://files.pythonhosted.org/packages/43/47/80609a6462ac343ee5c425ddea06b27a6b8f836876d2a8be5f2d26e9d1b8/django-model-admin-helper-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f7250a85dafa4ef2ce9892d52c1a4e8f", "sha256": "d7aa99c40b948bcf8f99ab5d64c251b880ea9350eea6a14504c02e1ba614eb85" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.1.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "f7250a85dafa4ef2ce9892d52c1a4e8f", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67446, "upload_time": "2013-11-11T10:40:13", "url": "https://files.pythonhosted.org/packages/66/5f/d44ec0b9f0370f3151d3c0d9897efc9e2cf3c335e3bbe98e59287362d3d5/django-model-admin-helper-0.2.1.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "4ee8227d9a6041865ffdb66427947592", "sha256": "bc3cf1722362aee2e9e67c6c42dcb82c5b60c549eb57a6197f8247eccfd68686" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4ee8227d9a6041865ffdb66427947592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3964, "upload_time": "2013-11-11T10:40:11", "url": "https://files.pythonhosted.org/packages/5a/6d/61c40cfb471dab4820ec910efe9ccf9a59f9590eea4f227eb160e7f29af1/django-model-admin-helper-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f7250a85dafa4ef2ce9892d52c1a4e8f", "sha256": "d7aa99c40b948bcf8f99ab5d64c251b880ea9350eea6a14504c02e1ba614eb85" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.1.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "f7250a85dafa4ef2ce9892d52c1a4e8f", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67446, "upload_time": "2013-11-11T10:40:13", "url": "https://files.pythonhosted.org/packages/66/5f/d44ec0b9f0370f3151d3c0d9897efc9e2cf3c335e3bbe98e59287362d3d5/django-model-admin-helper-0.2.1.macosx-10.6-intel.exe" }, { "comment_text": "", "digests": { "md5": "4ee8227d9a6041865ffdb66427947592", "sha256": "bc3cf1722362aee2e9e67c6c42dcb82c5b60c549eb57a6197f8247eccfd68686" }, "downloads": -1, "filename": "django-model-admin-helper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4ee8227d9a6041865ffdb66427947592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3964, "upload_time": "2013-11-11T10:40:11", "url": "https://files.pythonhosted.org/packages/5a/6d/61c40cfb471dab4820ec910efe9ccf9a59f9590eea4f227eb160e7f29af1/django-model-admin-helper-0.2.1.tar.gz" } ] }