{ "info": { "author": "The Python Packaging Authority", "author_email": "soeren.berger@u1337.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "Django-Userpref\n===============\n\ndjango-userpref provides a abstract and reuseable framework for userspecific settings\n\nThis includes:\n\n* Abstract UserPref Class\n* Admin interface\n* Templates for an userspecific settings page\n\n\nBasic usage\n===========\n\nJust define a abstract model that can be used in the applications.\nIn you app you should define something like:\n\n.. code:: python\n\n from userpref.models import Userpref\n\n class MyappSettings(Userpref):\n special_setting = models.BooleanField(default=False, verbose_name='Make me a superhero')\n another_field = models.CharField(max_length=100, default=\"\")\n\n class Meta:\n verbose_name = \"My Custom Setting for app Myapp\"\n\n\nIn your application or template you can access the settings over the users attributes\n\n.. code:: html\n\n {% if request.user.myappsettings.special_settings %}\n You are special man!\n {% endif %}", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/soerenbe/django-userpref", "keywords": "django user preferences", "license": "GPL-v2", "maintainer": null, "maintainer_email": null, "name": "django-userpref", "package_url": "https://pypi.org/project/django-userpref/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-userpref/", "project_urls": { "Homepage": "https://github.com/soerenbe/django-userpref" }, "release_url": "https://pypi.org/project/django-userpref/0.1.0a5/", "requires_dist": null, "requires_python": null, "summary": "Django user preferences", "version": "0.1.0a5" }, "last_serial": 1474181, "releases": { "0.1.0a1": [], "0.1.0a2": [ { "comment_text": "", "digests": { "md5": "a555ff75f75895a3baa865247dbd141d", "sha256": "7a22bcf8a75ae930614cab10cf16dd5a9b227ca8fa17c37e2355f4e66a2cb8be" }, "downloads": -1, "filename": "django-userpref-0.1.0a2.tar.gz", "has_sig": false, "md5_digest": "a555ff75f75895a3baa865247dbd141d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4053, "upload_time": "2015-03-23T19:43:28", "url": "https://files.pythonhosted.org/packages/28/8f/a3b2226a61207ddd8397eafa4faa60f9ba297356e0211b80750b0164ab81/django-userpref-0.1.0a2.tar.gz" } ], "0.1.0a4": [ { "comment_text": "", "digests": { "md5": "b527d4ac2b8eed5a63021bb55438503f", "sha256": "5243057aeaecd0fd913b03dce22f7697f1af6d488376dc4211bbbf1cd3ae0803" }, "downloads": -1, "filename": "django-userpref-0.1.0a4.tar.gz", "has_sig": false, "md5_digest": "b527d4ac2b8eed5a63021bb55438503f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4083, "upload_time": "2015-03-23T19:48:36", "url": "https://files.pythonhosted.org/packages/fc/95/d6e5aadafb3d0527c4c16764d03f5f274dedd0d5d101dada6135bf6349ba/django-userpref-0.1.0a4.tar.gz" } ], "0.1.0a5": [ { "comment_text": "", "digests": { "md5": "455ca7e391d152a6e60290e7d58e9d7f", "sha256": "6e1cdd414679a294466f5bc7695e1901ab08d5f857dbb43cc54050e933939d16" }, "downloads": -1, "filename": "django_userpref-0.1.0a5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "455ca7e391d152a6e60290e7d58e9d7f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5897, "upload_time": "2015-03-23T20:06:43", "url": "https://files.pythonhosted.org/packages/d0/87/0730ac9110079f607c4d5a92d28c2cdd99964bd4708448c7ba661ec73c05/django_userpref-0.1.0a5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09907a63b8f843df0d2fc37c80fddba5", "sha256": "3a1f293dc2ddcbbe132933e638b4aeb5d0ad6f13a0e1502f074e68ab3e676bba" }, "downloads": -1, "filename": "django-userpref-0.1.0a5.tar.gz", "has_sig": false, "md5_digest": "09907a63b8f843df0d2fc37c80fddba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4190, "upload_time": "2015-03-23T19:51:51", "url": "https://files.pythonhosted.org/packages/1e/23/976286fd7c339c9940b1e010e49389499581a62de34c5dd10c35ea787136/django-userpref-0.1.0a5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "455ca7e391d152a6e60290e7d58e9d7f", "sha256": "6e1cdd414679a294466f5bc7695e1901ab08d5f857dbb43cc54050e933939d16" }, "downloads": -1, "filename": "django_userpref-0.1.0a5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "455ca7e391d152a6e60290e7d58e9d7f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5897, "upload_time": "2015-03-23T20:06:43", "url": "https://files.pythonhosted.org/packages/d0/87/0730ac9110079f607c4d5a92d28c2cdd99964bd4708448c7ba661ec73c05/django_userpref-0.1.0a5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09907a63b8f843df0d2fc37c80fddba5", "sha256": "3a1f293dc2ddcbbe132933e638b4aeb5d0ad6f13a0e1502f074e68ab3e676bba" }, "downloads": -1, "filename": "django-userpref-0.1.0a5.tar.gz", "has_sig": false, "md5_digest": "09907a63b8f843df0d2fc37c80fddba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4190, "upload_time": "2015-03-23T19:51:51", "url": "https://files.pythonhosted.org/packages/1e/23/976286fd7c339c9940b1e010e49389499581a62de34c5dd10c35ea787136/django-userpref-0.1.0a5.tar.gz" } ] }