{ "info": { "author": "Jason Christa", "author_email": "jason@zeitcode.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: BSD License", "Programming Language :: Python" ], "description": "Django ViewClass Mixins\n=======================\n\nProvides some common mixin patterns for Django's View classes.\n\nInstallation\n------------\n\nRun `pip install django-viewclass-mixins`\n\nView Mixins\n-----------\n\n###LoginMixin\nEnsures the view is being requested by an authenticated user or redirects to the login page. It behaves the same as the function decorator `login_required`.\n\n###StaffRequiredMixin\nEnsures the view is being request by an authenticated user that is marked as staff.\n\n###SuperuserRequiredMixin\nEnsures the view is being request by an authenticated user that is marked as a superuser.\n\n###OwnershipMixin\nA mixin to single-object views. Ensures the view is by requested by the owner of the requested object.\n\n###DeactivateMixin\nA mixin to the DeleteView. Instead of deleting an object it will mark it as inactive instead.\n\n###FilterListMixin\nA mixin to the ListView. It will apply filters from the URL querystring to the underlying QuerySet before the list is returned.\n\n###ModelFormSetMixin\nA mixin to the CreateView and UpdateView. It take a list of FormSets and validates and saves them along with the main model.\n\n###HttpCacheMixin\nA mixin to any View. It has methods for setting HTTP cache headers like *Cache-Control*, *Vary*, *ETag*, and *Last-Modified*.\n\n###CorsMixin\nA mixin to a Django Rest Framework View. It sets permissive CORS headers and handles the OPTIONS response.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/nextscreenlabs/django-viewclass-mixins", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-viewclass-mixins", "package_url": "https://pypi.org/project/django-viewclass-mixins/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-viewclass-mixins/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/nextscreenlabs/django-viewclass-mixins" }, "release_url": "https://pypi.org/project/django-viewclass-mixins/1.1.3/", "requires_dist": null, "requires_python": null, "summary": "Helpful mixins for Django View classes.", "version": "1.1.3" }, "last_serial": 1337444, "releases": { "0.2.1a5": [ { "comment_text": "", "digests": { "md5": "1062e72136e263375309422bdc40b584", "sha256": "fdf6ff850c1df889c367459f1eb275430e24d64d76cb95742650a73d013bbd8f" }, "downloads": -1, "filename": "django-viewclass-mixins-0.2.1a5.zip", "has_sig": false, "md5_digest": "1062e72136e263375309422bdc40b584", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9035, "upload_time": "2013-02-13T21:16:54", "url": "https://files.pythonhosted.org/packages/a9/7d/22a7f5092471bd899775ccd7acbc985bb6e6806aa8683c6596b2d94fd940/django-viewclass-mixins-0.2.1a5.zip" } ], "0.2a3": [ { "comment_text": "", "digests": { "md5": "09676f906988ca71997dc114c3bf8325", "sha256": "270efd08d8538a1d679c51aac0117d42662935e96da1fcd72d09bb7c1d0c7c75" }, "downloads": -1, "filename": "django-viewclass-mixins-0.2a3.zip", "has_sig": false, "md5_digest": "09676f906988ca71997dc114c3bf8325", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7854, "upload_time": "2012-11-02T21:07:27", "url": "https://files.pythonhosted.org/packages/12/86/40edf08b04e8046317726efc0d053089b82cd4648c9dc5d19c9e17a3613a/django-viewclass-mixins-0.2a3.zip" } ], "0.3a6": [ { "comment_text": "", "digests": { "md5": "442a81be11bc427cd2d8570e43215c37", "sha256": "3001fae0d1f319febfad241e3a6b21c94d45952e29ff3d05d222140e7d51c81b" }, "downloads": -1, "filename": "django-viewclass-mixins-0.3a6.zip", "has_sig": false, "md5_digest": "442a81be11bc427cd2d8570e43215c37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9131, "upload_time": "2013-03-20T22:11:26", "url": "https://files.pythonhosted.org/packages/e4/74/3be40893185a2a9ac6671a126e6261fdfc523a54b31adb8cc6f535589db6/django-viewclass-mixins-0.3a6.zip" } ], "0.5b7": [ { "comment_text": "", "digests": { "md5": "6e8bf52faaea702b66756daeea396fa6", "sha256": "58048f80afe7aafaf01094f2193a6f419737eccb6185cc2cdf647dd60a791a54" }, "downloads": -1, "filename": "django-viewclass-mixins-0.5b7.zip", "has_sig": false, "md5_digest": "6e8bf52faaea702b66756daeea396fa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10342, "upload_time": "2013-05-07T16:57:40", "url": "https://files.pythonhosted.org/packages/8c/3c/798f778e2e787aa5db8014c35a86a519c3122ea32a2eb02ed5c1922f57ca/django-viewclass-mixins-0.5b7.zip" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "be0a7e5fb86d4cfbc1de7e1d5f6cc290", "sha256": "1841f9ead7fba599fd8ef3174223d82bbf7aa45a4787bc8dfe53943e3353df3e" }, "downloads": -1, "filename": "django-viewclass-mixins-1.0.zip", "has_sig": false, "md5_digest": "be0a7e5fb86d4cfbc1de7e1d5f6cc290", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10298, "upload_time": "2013-10-11T22:01:49", "url": "https://files.pythonhosted.org/packages/7c/89/e9084825069a59fd6c653e6703536a056ef5e8fc610a68671cbe29e7d6ae/django-viewclass-mixins-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "02c758464a1cc077c4939ff9969866d1", "sha256": "91e66cd60da77b9be22e6e538880f2cc2cd12b945ec7579abeab8ca18a5e0c72" }, "downloads": -1, "filename": "django-viewclass-mixins-1.1.zip", "has_sig": false, "md5_digest": "02c758464a1cc077c4939ff9969866d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10698, "upload_time": "2014-09-18T19:12:18", "url": "https://files.pythonhosted.org/packages/89/80/4d86307f242929f52c4eb0a649b78977155fcd44daacfd082abb27b81476/django-viewclass-mixins-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "9ed2b85173b24f710e5e569b7736708a", "sha256": "2fd982606b1f110e55d53d9f5423114ad903656b221e53617cfded7b64cca237" }, "downloads": -1, "filename": "django-viewclass-mixins-1.1.1.zip", "has_sig": false, "md5_digest": "9ed2b85173b24f710e5e569b7736708a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10775, "upload_time": "2014-09-18T19:35:09", "url": "https://files.pythonhosted.org/packages/28/82/daadfb5bee61a9d7f776d0d6f2e1774e57982de305aef8db940d8a3dabe6/django-viewclass-mixins-1.1.1.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "f8dfcca75c97ba7b30190d4bba486d88", "sha256": "47675059f63ab1c5c43fe3081e562e8de12e36155b6c95a504c49170db8948bf" }, "downloads": -1, "filename": "django-viewclass-mixins-1.1.2.zip", "has_sig": false, "md5_digest": "f8dfcca75c97ba7b30190d4bba486d88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10811, "upload_time": "2014-11-14T21:31:16", "url": "https://files.pythonhosted.org/packages/d0/3f/9c8fdc88c860bd1fe43b1df988a7b2147d195dac391ea44e8865c57a9266/django-viewclass-mixins-1.1.2.zip" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "a20b09097cab2d207958be2e723101af", "sha256": "b242f4bdf76e5b7d818f203706393c2704c9862dc7ae610a66ee3a4b3b5589df" }, "downloads": -1, "filename": "django-viewclass-mixins-1.1.3.zip", "has_sig": false, "md5_digest": "a20b09097cab2d207958be2e723101af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10810, "upload_time": "2014-12-09T18:41:42", "url": "https://files.pythonhosted.org/packages/6c/28/cba8a6a7f4dcb20b5c2c7df7c89c2f32ec1384db8893af74533d76cd43c7/django-viewclass-mixins-1.1.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a20b09097cab2d207958be2e723101af", "sha256": "b242f4bdf76e5b7d818f203706393c2704c9862dc7ae610a66ee3a4b3b5589df" }, "downloads": -1, "filename": "django-viewclass-mixins-1.1.3.zip", "has_sig": false, "md5_digest": "a20b09097cab2d207958be2e723101af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10810, "upload_time": "2014-12-09T18:41:42", "url": "https://files.pythonhosted.org/packages/6c/28/cba8a6a7f4dcb20b5c2c7df7c89c2f32ec1384db8893af74533d76cd43c7/django-viewclass-mixins-1.1.3.zip" } ] }