mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
Django model mixins and utilities.
* master: (23 commits) only accepting iterables to the when field adding 'when' parameter to MonitorField Update AUTHORS and changelog. Add test to verify get_subclass() on QuerySet Refactor to make sure get_subclass() is on QuerySet Fixed indexing into Choices so its useful. Fix bug with child/grandchild select_subclasses in Django 1.6+; thanks Keryn Knight. fixed code block Bump version for dev. Bump version for 1.5.0 release. Add option-groups capability to Choices. Add Changelog note about Choices equality/addition. Added tests to improve coverage Alphabetised authors Removed redundant inequality method on Choices Moved documentation for Choices field to the right place Corrected typo Added self to Authors file Added equality methods to Choices objects, and overrode + for Choices for easy concatenation with other Choices and choice-like iterables. Also wrote tests for them, and extended the readme to reflect this Fix typo noted by @silonov ... Conflicts: model_utils/choices.py |
||
|---|---|---|
| docs | ||
| model_utils | ||
| .coveragerc | ||
| .editorconfig | ||
| .gitignore | ||
| .hgignore | ||
| .hgtags | ||
| .travis.yml | ||
| AUTHORS.rst | ||
| CHANGES.rst | ||
| CONTRIBUTING.rst | ||
| LICENSE.txt | ||
| Makefile | ||
| MANIFEST.in | ||
| README.rst | ||
| runtests.py | ||
| setup.cfg | ||
| setup.py | ||
| TODO.rst | ||
| tox.ini | ||
================== django-model-utils ================== .. image:: https://secure.travis-ci.org/carljm/django-model-utils.png?branch=master :target: http://travis-ci.org/carljm/django-model-utils .. image:: https://coveralls.io/repos/carljm/django-model-utils/badge.png?branch=master :target: https://coveralls.io/r/carljm/django-model-utils .. image:: https://pypip.in/v/django-model-utils/badge.png :target: https://crate.io/packages/django-model-utils Django model mixins and utilities. ``django-model-utils`` supports `Django`_ 1.4.2 and later on Python 2.6, 2.7, 3.2, and 3.3. .. _Django: http://www.djangoproject.com/ Getting Help ============ Documentation for django-model-utils is available at https://django-model-utils.readthedocs.org/ This app is available on `PyPI`_. .. _PyPI: https://pypi.python.org/pypi/django-model-utils/ Contributing ============ Please file bugs and send pull requests to the `GitHub repository`_ and `issue tracker`_. .. _GitHub repository: https://github.com/carljm/django-model-utils/ .. _issue tracker: https://github.com/carljm/django-model-utils/issues (Until January 2013 django-model-utils primary development was hosted at `BitBucket`_; the issue tracker there will remain open until all issues and pull requests tracked in it are closed, but all new issues should be filed at GitHub.) .. _BitBucket: https://bitbucket.org/carljm/django-model-utils/overview