Django model mixins and utilities.
Find a file
Maarten ter Huurne f3335a7fe1 Add configuration for mypy
This does not require annotations yet, but it will check all code
outside of functions.
2024-04-05 17:15:16 +02:00
.github Merge pull request #600 from foarsitter/issue-manager 2024-03-25 19:22:37 +01:00
docs Merge pull request #589 from tadamcz/tadamcz-docs-SoftDeletableModel 2024-03-21 08:21:29 +01:00
model_utils feat(monitor): Change default to None when the field is marked as nullable and no default is provided (#599) 2024-04-04 10:26:17 +02:00
tests feat(monitor): Change default to None when the field is marked as nullable and no default is provided (#599) 2024-04-04 10:26:17 +02: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-03-25 17:37: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 feat(monitor): Change default to None when the field is marked as nullable and no default is provided (#599) 2024-04-04 10:26:17 +02: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 Add docker-compose for local development 2024-03-21 16:42:47 +01:00
docker-compose.yml Make use of alpine postgresql image 2024-03-22 08:09:37 +01: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
mypy.ini Add configuration for mypy 2024-04-05 17:15:16 +02:00
README.rst update readme links (#540) 2022-10-20 00:07:38 +03:00
requirements-mypy.txt Add dependencies for static type checking 2024-04-05 17:12:35 +02: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 #563 from foarsitter/docker_postgresql 2024-03-25 19:06:28 +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