Django model mixins and utilities.
Find a file
Jannis Leidel 621c4a8f3b
Fix typo.
2021-03-09 13:46:46 +01:00
.github Update .github/workflows/test.yml 2020-11-29 15:34:22 +01:00
docs Use setuptools_scm 2020-11-29 14:39:17 +01:00
model_utils Fix TypeError in save when model inherits from both TimeStampModel and StatusModel. (Fixes GH-465) 2020-12-02 00:07:22 +01:00
tests Rewrite test with subTest and remove parameterized from requirements-test. 2020-12-05 20:24:07 +01:00
.coveragerc Add a JoinManager that helps with performance (#351) 2018-11-25 20:18:23 +06:00
.editorconfig Add EditorConfig file 2013-05-20 22:38:00 -07:00
.gitignore Ignore coverage xml. 2020-11-29 14:40:07 +01:00
AUTHORS.rst Add status_changed field to upload_fields parameter during save if status field is present (#441) 2020-09-17 20:34:57 +06:00
CHANGES.rst Add a release date for 4.1.1. 2020-12-01 18:12:57 -05:00
CONTRIBUTING.rst Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
LICENSE.txt Update year. 2019-01-10 15:38:56 -05:00
Makefile Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
MANIFEST.in MANIFEST.in: Add docs and tests (#362) 2019-03-11 13:51:59 +06:00
README.rst Remove old Travis cruft. 2020-11-29 14:53:56 +01:00
requirements-test.txt Rewrite test with subTest and remove parameterized from requirements-test. 2020-12-05 20:24:07 +01:00
requirements.txt Add requirement for running tests 2019-05-20 19:32:02 +02:00
setup.cfg Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
setup.py Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
tox.ini Fix typo. 2021-03-09 13:46:46 +01:00
translations.py Remove unsupported django version hacks. 2019-08-21 11:02:23 +02:00

==================
django-model-utils
==================

.. image:: https://jazzband.co/static/img/badge.svg
   :target: https://jazzband.co/
   :alt: Jazzband
.. image:: https://github.com/jazzband/django-model-utils/workflows/Test/badge.svg
   :target: https://github.com/jazzband/django-model-utils/actions
.. image:: https://codecov.io/gh/jazzband/django-model-utils/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/jazzband/django-model-utils
.. image:: https://img.shields.io/pypi/v/django-model-utils.svg
   :target: https://pypi.python.org/pypi/django-model-utils
.. image:: https://img.shields.io/pypi/pyversions/django-model-utils.svg
   :target: https://pypi.python.org/pypi/django-model-utils
   :alt: Supported Python versions
.. image:: https://img.shields.io/pypi/djversions/django-model-utils.svg
   :target: https://pypi.org/project/django-model-utils/
   :alt: Supported Django versions

Django model mixins and utilities.

``django-model-utils`` supports `Django`_ 2.2+.

.. _Django: http://www.djangoproject.com/

This app is available on `PyPI`_.

.. _PyPI: https://pypi.python.org/pypi/django-model-utils/

Getting Help
============

Documentation for django-model-utils is available
https://django-model-utils.readthedocs.io/


Run tests
---------

.. code-block

    pip install -e .
    py.test

Contributing
============

Please file bugs and send pull requests to the `GitHub repository`_ and `issue
tracker`_. See `CONTRIBUTING.rst`_ for details.

.. _GitHub repository: https://github.com/jazzband/django-model-utils/
.. _issue tracker: https://github.com/jazzband/django-model-utils/issues
.. _CONTRIBUTING.rst: https://github.com/jazzband/django-model-utils/blob/master/CONTRIBUTING.rst