Django model mixins and utilities.
Find a file
Maarten ter Huurne ab8a8ae53a Pass reason to @skip decorator
The decorator works without an argument as well, but that is an
undocumented feature of `unittest.skip()` that is not understood
by mypy and pytest.

In the case of pytest, it ignored the decorated class during test
collection, instead of collecting it and marking it as skipped.
2024-03-22 16:58:09 +01:00
.github Drop support for EOL Python 3.7 2023-06-15 20:39:29 +03:00
docs Merge pull request #589 from tadamcz/tadamcz-docs-SoftDeletableModel 2024-03-21 08:21:29 +01:00
model_utils Explicitly re-export names from __init__ module 2024-03-22 14:50:31 +01:00
tests Pass reason to @skip decorator 2024-03-22 16:58:09 +01:00
.coveragerc Add a JoinManager that helps with performance (#351) 2018-11-25 20:18:23 +06:00
.editorconfig update links (#554) 2023-01-28 05:44:56 +02:00
.gitignore docs: Fix Markdown formatting of CHANGES 2021-10-11 09:59:26 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2024-02-19 17:41:33 +00:00
.readthedocs.yml pip install . 2023-06-15 20:58:10 +03:00
AUTHORS.rst Merge branch 'master' into ptbr-translations 2024-03-21 08:36:00 +01:00
CHANGES.rst chore(monitor-field): Add deprecation warning when the field is null and no default is provided. The new behavior will be introduced in a next major release 2024-03-21 20:05:14 -03:00
CODE_OF_CONDUCT.md Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-11-04 11:42:42 +01: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 update readme links (#540) 2022-10-20 00:07:38 +03:00
requirements-test.txt Test Django 5.0 2024-02-09 21:30:32 +00:00
requirements.txt Switch from freezegun to time-machine. 2022-04-04 11:53:18 +01:00
setup.cfg Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
setup.py Test Django 5.0 2024-02-09 21:30:32 +00:00
tox.ini Merge pull request #510 from adamchainz/time_machine 2024-03-22 15:46:19 +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`_ 3.2+.

.. _Django: https://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