{ "info": { "author": "Marc Bourqui", "author_email": "pypi.kemar@bourqui.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: General" ], "description": "django-autoslugged\n==================\n\n|Python| |Django| |PyPIv| |PyPIs| |Build Status| |Coverage Status|\n\n|Docs stable| |Docs latest|\n\nDjango-autoslugged is a reusable Django library that provides an\nimproved slug field which can automatically:\n\na) populate itself from another field,\nb) preserve uniqueness of the value and\nc) use custom slugify() functions for better i18n.\n\nThe field is highly configurable.\n\nRequirements\n============\n\n- `Python `__ >= 2.7 or PyPy\n- `Django `__ >= 1.8\n\nIt may be possible to successfully use django-autoslugged in other\nenvironments but they are not tested.\n\n **note**\n\n PyPy3 is not officially supported only because there were some\n problems with permissions and \\_\\_pycache\\_\\_ on CI unrelated to\n django-autoslugged itself.\n\nExamples\n========\n\nA simple example:\n\n.. code:: python\n\n from django.db.models import CharField, Model\n from autoslugged import AutoSlugField\n\n class Article(Model):\n title = CharField(max_length=200)\n slug = AutoSlugField(populate_from='title')\n\nMore complex example:\n\n.. code:: python\n\n from django.db.models import CharField, DateField, ForeignKey, Model\n from django.contrib.auth.models import User\n from autoslugged import AutoSlugField\n\n class Article(Model):\n title = CharField(max_length=200)\n pub_date = DateField(auto_now_add=True)\n author = ForeignKey(User)\n slug = AutoSlugField(populate_from=lambda instance: instance.title,\n unique_with=['author__name', 'pub_date__month'],\n slugify=lambda value: value.replace(' ','-'))\n\nDocumentation\n=============\n\nSee the `complete\ndocumentation `__ on\nReadTheDocs. It is built automatically for the latest version.\n\nCommunity\n=========\n\nThis application was initially created by Andy Mikhailenko and then\nimproved by other developers. They are listed in AUTHORS.rst.\n\nPlease feel free to file issues and/or submit patches.\n\nSee CONTRIBUTING.rst for hints related to the preferred workflow.\n\nSince the original project\n(`django-autoslug `__) was\nnot maintained anymore but I was using it in several projects, I forked\nit and renamed it in order to publish a new release on PyPI.\n\nLicensing\n=========\n\nDjango-autoslugged is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 3 of the\nLicense, or (at your option) any later version.\n\nDjango-autoslugged is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with this program; see the file COPYING.LESSER. If not, see `GNU\nlicenses `__.\n\n.. |Python| image:: https://img.shields.io/badge/Python-2.7,3.4,3.5,3.6-blue.svg?style=flat-square\n :target: /\n.. |Django| image:: https://img.shields.io/badge/Django-1.8,1.9,1.10,1.11,2.0-blue.svg?style=flat-square\n :target: /\n.. |PyPIv| image:: https://img.shields.io/pypi/v/django-autoslugged.svg?style=flat-square\n :target: https://pypi.org/project/django-autoslugged\n.. |PyPIs| image:: https://img.shields.io/pypi/status/django-autoslugged.svg\n :target: https://pypi.org/project/django-autoslugged\n.. |Build Status| image:: https://travis-ci.org/mbourqui/django-autoslugged.svg?branch=master\n :target: https://travis-ci.org/mbourqui/django-autoslugged\n.. |Coverage Status| image:: https://coveralls.io/repos/github/mbourqui/django-autoslugged/badge.svg?branch=master\n :target: https://coveralls.io/github/mbourqui/django-autoslugged?branch=master\n.. |Docs stable| image:: https://readthedocs.org/projects/django-autoslug/badge/?version=stable%0A%20:target:%20http://django-autoslug.readthedocs.org/en/stable/\n.. |Docs latest| image:: https://readthedocs.org/projects/django-autoslug/badge/?version=latest%0A%20:target:%20http://django-autoslug.readthedocs.org/en/latest/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/mbourqui/django-autoslugged/releases/tag/v2.0.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mbourqui/django-autoslugged/", "keywords": "django field slug auto unique transliteration i18n", "license": "GNU Lesser General Public License (LGPL), Version 3", "maintainer": "", "maintainer_email": "", "name": "django-autoslugged", "package_url": "https://pypi.org/project/django-autoslugged/", "platform": "", "project_url": "https://pypi.org/project/django-autoslugged/", "project_urls": { "Download": "https://github.com/mbourqui/django-autoslugged/releases/tag/v2.0.0", "Homepage": "https://github.com/mbourqui/django-autoslugged/" }, "release_url": "https://pypi.org/project/django-autoslugged/2.0.0/", "requires_dist": [ "pytils (>=0.2); extra == 'cyrillic'", "translitcodec (>=0.3); extra == 'translitcodec'" ], "requires_python": "", "summary": "An automated slug field for Django.", "version": "2.0.0" }, "last_serial": 5323827, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "18f4261e2a4e3424803a0c0cfef0a65c", "sha256": "9d7aa884102862a115734719243a645162ad8b00e5311c5ff6f505480be20eae" }, "downloads": -1, "filename": "django_autoslugged-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18f4261e2a4e3424803a0c0cfef0a65c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14958, "upload_time": "2019-05-27T20:42:22", "url": "https://files.pythonhosted.org/packages/e3/32/9507d946d6eb515954042c26b20e6c8a57e8851b729b0c3ebf98fb48bc3d/django_autoslugged-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7363e77d0d2cda8265c90bea4b0558e", "sha256": "5c7244c3e366ae6b84c045223456494e6d615bde4bf96074879e8c9ab0c68d8d" }, "downloads": -1, "filename": "django-autoslugged-2.0.0.tar.gz", "has_sig": false, "md5_digest": "b7363e77d0d2cda8265c90bea4b0558e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21735, "upload_time": "2019-05-27T20:42:24", "url": "https://files.pythonhosted.org/packages/d8/66/a0a9bc8dccf905d43361971cd8eab4ddc991149939d31af697558b111905/django-autoslugged-2.0.0.tar.gz" } ], "2.0.0.dev0": [ { "comment_text": "", "digests": { "md5": "31fb3fc8084257113e359c0e45fa1d61", "sha256": "86a23cdba76cb2fee0cbf06cb7eeef6cab20295722b4eab52164cb279dc05c2e" }, "downloads": -1, "filename": "django_autoslugged-2.0.0.dev0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31fb3fc8084257113e359c0e45fa1d61", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15040, "upload_time": "2018-03-27T18:15:57", "url": "https://files.pythonhosted.org/packages/c8/2a/2ada2128f8796f8dfe567c30b6f08d7469ac17feec263156b01bd8ac4f3d/django_autoslugged-2.0.0.dev0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8b6c85ed7bde30ff73705a01a56ce32", "sha256": "f0159113b593bd557f6de119d0ee12adc775b903a9f4b0e6602c51b392e82c3b" }, "downloads": -1, "filename": "django-autoslugged-2.0.0.dev0.tar.gz", "has_sig": false, "md5_digest": "a8b6c85ed7bde30ff73705a01a56ce32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21731, "upload_time": "2018-03-27T18:15:58", "url": "https://files.pythonhosted.org/packages/36/f8/a7482fe5983599c4d525e91bbc029b63f8c70de8d9334fc7e0d2afc6fd32/django-autoslugged-2.0.0.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "18f4261e2a4e3424803a0c0cfef0a65c", "sha256": "9d7aa884102862a115734719243a645162ad8b00e5311c5ff6f505480be20eae" }, "downloads": -1, "filename": "django_autoslugged-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18f4261e2a4e3424803a0c0cfef0a65c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14958, "upload_time": "2019-05-27T20:42:22", "url": "https://files.pythonhosted.org/packages/e3/32/9507d946d6eb515954042c26b20e6c8a57e8851b729b0c3ebf98fb48bc3d/django_autoslugged-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7363e77d0d2cda8265c90bea4b0558e", "sha256": "5c7244c3e366ae6b84c045223456494e6d615bde4bf96074879e8c9ab0c68d8d" }, "downloads": -1, "filename": "django-autoslugged-2.0.0.tar.gz", "has_sig": false, "md5_digest": "b7363e77d0d2cda8265c90bea4b0558e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21735, "upload_time": "2019-05-27T20:42:24", "url": "https://files.pythonhosted.org/packages/d8/66/a0a9bc8dccf905d43361971cd8eab4ddc991149939d31af697558b111905/django-autoslugged-2.0.0.tar.gz" } ] }