{ "info": { "author": "Frank Wiles", "author_email": "frank@revsys.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "Overview\n========\n\nWhile \"the admin is not your app\", it is often useful to be able to easily add\na bit of functionality to the admin for internal staff or other internal users\nthat are tech savvy enough to use the admin.\n\nThere are several third party project such as\n`AdminPlus `_, but they require the\nuser to redefine the Admin.site object. This is fine for developers who are\nsetting up a Django project, but not ideal for developers who are writing\nthird party tools for other developers to use in their projects.\n\ndjango-admin-views attempts to solve this by simply overriding the admin\ntemplates to provide two features:\n\n1. Easily define custom admin views and link them on the admin pages\n2. Easily add in external URL links\n\nInstallation Steps\n==================\n\n1. ``pip install django-admin-views``\n\n2. Add ``admin_views`` to ``INSTALLED_APPS`` in your ``settings.py`` before admin site, i.e. ``django.contrib.admin``\n\nIf you are using a custom Admin Site, you'll need to configure the ``ADMIN_VIEWS_SITE`` setting to point to your admin site instance::\n\n ADMIN_VIEWS_SITE = 'myproject.admin.admin_site'\n\nUsage\n=====\n\nAll of this magic happens in your model's admin definition. You simply subclass your\nadmin from ``AdminViews`` instead of the standard ``admin.ModelAdmin``.\nIn this example we have a custom view that does nothing but redirect the user to CNN\nand a direct URL link that goes to my company's homepage::\n\n from django.contrib import admin\n from django.shortcuts import redirect\n\n from admin_views.admin import AdminViews\n\n from example_app.models import TestModel\n\n class TestAdmin(AdminViews):\n admin_views = (\n ('Redirect to CNN', 'redirect_to_cnn'),\n ('Go to revsys.com', 'http://www.revsys.com'),\n )\n\n def redirect_to_cnn(self, *args, **kwargs):\n return redirect('http://www.cnn.com')\n\n admin.site.register(TestModel, TestAdmin)\n\nThese will now show up in the admin below the usual Django admin model CRUD interfaces\nfor `example_app` with a couple of different icons to distinquish between custom admin\nviews and a direct URL link.\n\nWith this third-party developers need only instruct their users to install their app\nand ``django-admin-views``.\n\nHope you find it useful and as always feedback is certainly welcome.\n\nScreenshot\n==========\n\n.. image:: https://raw.githubusercontent.com/frankwiles/django-admin-views/master/example_project/example-screenshot.png\n\nAuthor\n======\nFrank Wiles \n\nAttribution\n===========\nBlue link icon on direct URLs by http://www.doublejdesign.co.uk/\n\nAdmin view icon by http://www.fatcow.com/", "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/frankwiles/django-admin-views", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-admin-views", "package_url": "https://pypi.org/project/django-admin-views/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-admin-views/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/frankwiles/django-admin-views" }, "release_url": "https://pypi.org/project/django-admin-views/0.8.0/", "requires_dist": null, "requires_python": null, "summary": "django-admin-views is a simple way to add custom admin views and direct URLs to the Django admin", "version": "0.8.0" }, "last_serial": 2301255, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9a22304740f0e1bc35352458b630d3c3", "sha256": "246fd6bf8e988cba4816ce7b210c8f4a5e539843d654c8c9ed2aed33ca63ae00" }, "downloads": -1, "filename": "django-admin-views-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9a22304740f0e1bc35352458b630d3c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4744, "upload_time": "2012-07-07T19:45:00", "url": "https://files.pythonhosted.org/packages/8a/73/7a5198f239128336276afedc56842ee3a3c4b4ccddfa586f29fdbf55f2ec/django-admin-views-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4be38a74d1bd29c7b5378f43c8ace018", "sha256": "7e9cd4c876fde95661bc0ed2f4f357a7b8e815b43cafef6e2a9d475a9ede4480" }, "downloads": -1, "filename": "django-admin-views-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4be38a74d1bd29c7b5378f43c8ace018", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6026, "upload_time": "2012-11-25T18:15:29", "url": "https://files.pythonhosted.org/packages/57/ac/f0c5ca7633f5f6377dc47285668643b435d97dcbaca2f1dcce649228d90e/django-admin-views-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3dd476d63296b99206529d584b581f4c", "sha256": "ebfd908ecafa2785029c3cd68002a0462f52520fb9724fa7bcca256f93df1905" }, "downloads": -1, "filename": "django-admin-views-0.1.2.tar.gz", "has_sig": false, "md5_digest": "3dd476d63296b99206529d584b581f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6919, "upload_time": "2012-11-25T18:20:03", "url": "https://files.pythonhosted.org/packages/3d/96/d99d66c2299990d874ad4a314df3f5b9ace5dc63eae2303af38d304ae357/django-admin-views-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "389191933c8d4f6924b6fa1426c42ff3", "sha256": "1a3f320c4b205db93c806b60ffd7951e82b993d22e7f78424702ddc359f21c57" }, "downloads": -1, "filename": "django-admin-views-0.1.3.tar.gz", "has_sig": false, "md5_digest": "389191933c8d4f6924b6fa1426c42ff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11703, "upload_time": "2012-11-25T18:32:45", "url": "https://files.pythonhosted.org/packages/6f/90/1504d4425ed475a815719f1b846ab23ebea9178e3ca278bbbfa32c3bc2b3/django-admin-views-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "718b7251c578816cc91a7c8c3485a1de", "sha256": "171cb4bfc622d1327fd8e6fcaa23a137737daf7242658b799c422e46710dc5ce" }, "downloads": -1, "filename": "django-admin-views-0.1.4.tar.gz", "has_sig": false, "md5_digest": "718b7251c578816cc91a7c8c3485a1de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11706, "upload_time": "2012-11-25T18:46:29", "url": "https://files.pythonhosted.org/packages/52/b8/5d7113ab9beec9f0d6c49227bf524c8b527e43953427c6e192eabb8c9007/django-admin-views-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "6be2513b644ed82d012d1babdede9004", "sha256": "09957a9b75eee86894be05dd59c73b4ecdbfc1a585e0c7b2c1a9409666c40a90" }, "downloads": -1, "filename": "django-admin-views-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6be2513b644ed82d012d1babdede9004", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11845, "upload_time": "2015-03-22T18:39:00", "url": "https://files.pythonhosted.org/packages/b8/d4/bbc237c55870302b064f2a51bdd042692d2fe4d50b6b074a1e0fbc9206a0/django-admin-views-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "86d1f65cc4b67fb88c6af9295124d98c", "sha256": "ec5bfd4021c131fdf67ff3e4d713373f2fd65294bc0b5936192762659291588c" }, "downloads": -1, "filename": "django-admin-views-0.3.0.tar.gz", "has_sig": false, "md5_digest": "86d1f65cc4b67fb88c6af9295124d98c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11895, "upload_time": "2015-07-12T16:46:37", "url": "https://files.pythonhosted.org/packages/b5/f5/d9cf4eafdb75e441d5a6f5b3588e18211bc269028a26bb5528e92bd1800d/django-admin-views-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "09c31cc3ca3dc319229b4b234492a4b0", "sha256": "a75e8ca27f8a4c13efd9637291007540bde83f297bf46dad0fa12e2c0a79c281" }, "downloads": -1, "filename": "django-admin-views-0.4.0.tar.gz", "has_sig": false, "md5_digest": "09c31cc3ca3dc319229b4b234492a4b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12096, "upload_time": "2015-11-02T22:26:08", "url": "https://files.pythonhosted.org/packages/6b/85/db23fff23dfa4f459c7d1ea9d6c915f4a00943f7bc64eea89741292128d3/django-admin-views-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "5de930545f60edb09d3b03fb853baccc", "sha256": "1a9efa8b87fd4ccb82fb1241c8209452027a2e426ad43f17bd9301ea7a789958" }, "downloads": -1, "filename": "django-admin-views-0.5.0.tar.gz", "has_sig": false, "md5_digest": "5de930545f60edb09d3b03fb853baccc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12394, "upload_time": "2015-11-04T19:38:17", "url": "https://files.pythonhosted.org/packages/d3/49/b3b0456f9060e865f05c9b2e7bf735b53e13ff72941876389d6d7c740d7a/django-admin-views-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "5080178f771fbf9a8d1a7dd1bd1c8c88", "sha256": "48ddf3def3e2098b24dccb2edda5136067d5743c23274e34a264f3b64aa21a24" }, "downloads": -1, "filename": "django-admin-views-0.6.0.tar.gz", "has_sig": false, "md5_digest": "5080178f771fbf9a8d1a7dd1bd1c8c88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11521, "upload_time": "2016-05-23T20:36:36", "url": "https://files.pythonhosted.org/packages/0e/f5/342e3f7efdff41731a8fd136524237967a08256cda3039839e22f16e7fce/django-admin-views-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "3f083575d2fe7e1c0a6bd15607937102", "sha256": "0dc6f09ae14458ced5c85a9291fe7ee4c155b7639e61f2bf26af51097f7715fe" }, "downloads": -1, "filename": "django-admin-views-0.7.0.tar.gz", "has_sig": false, "md5_digest": "3f083575d2fe7e1c0a6bd15607937102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11481, "upload_time": "2016-05-26T22:02:27", "url": "https://files.pythonhosted.org/packages/8e/6a/5bba58abd3c9d2c23c039cbb2b26c32019d7c90482d636bb2e2e782f2305/django-admin-views-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "4d943787918d65e0a8ad483fc735847e", "sha256": "cf3f54c030cb20f1e11f42e80d68022ba020326438c44fcb15edb11487934fb8" }, "downloads": -1, "filename": "django-admin-views-0.8.0.tar.gz", "has_sig": false, "md5_digest": "4d943787918d65e0a8ad483fc735847e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11500, "upload_time": "2016-08-24T21:12:20", "url": "https://files.pythonhosted.org/packages/f3/ff/bbc04cc63b891782a7fb3c84f84c96471e2fc7de05eff7b73d424d326fe9/django-admin-views-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d943787918d65e0a8ad483fc735847e", "sha256": "cf3f54c030cb20f1e11f42e80d68022ba020326438c44fcb15edb11487934fb8" }, "downloads": -1, "filename": "django-admin-views-0.8.0.tar.gz", "has_sig": false, "md5_digest": "4d943787918d65e0a8ad483fc735847e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11500, "upload_time": "2016-08-24T21:12:20", "url": "https://files.pythonhosted.org/packages/f3/ff/bbc04cc63b891782a7fb3c84f84c96471e2fc7de05eff7b73d424d326fe9/django-admin-views-0.8.0.tar.gz" } ] }