Commits

Author Commit Message Labels Comments Date
Jannis Leidel
Fixed bug which prevented the StatusModel and TimeframedModel to get the appropriate QueryManager instances added dynamically before instantiation.
Jannis Leidel
Fixed typo.
Jannis Leidel
Carl Meyer
documentation for last commit
Carl Meyer
added triple option in Choices to split db representation from code constant
Jannis Leidel
Extended South introspection rules to handle StatusField and MonitorField.
Carl Meyer
README tweaks
Carl Meyer
docs, AUTHORS, Changelog...
Carl Meyer
Choices should be indexable as if it were a two-tuple
Carl Meyer
remove duplication between StatusModel tests
Carl Meyer
split out TimeFramedModel tests
Carl Meyer
consistent PEP8 test method names
Carl Meyer
convert StatusModifiedField to generic MonitorField, use post_init signal instead of extra DB query
Carl Meyer
remove previous_status from StatusField public API I may be missing the use case, but this seems too ephemeral to be useful (only exists on same instance after a save, can't rely on it being there in general). If it's just an implementation detail for StatusModifiedField, it doesn't need to be tested in public API for StatusField.
Carl Meyer
deprecate ChoiceEnum and document Choices
Carl Meyer
Fix Choices docstring, minor code changes: - remove __getitem__, no need for it anymore - remove implicit lowercasing (principle of least surprise: strings are usually case sensitive)
Carl Meyer
merge backout
Carl Meyer
Backed out changeset c05246980ddf
Carl Meyer
merge backout
Carl Meyer
Backed out changeset 4e9eb14b9047
Jannis Leidel
Removed the need for the status choices to be a subclass of model_utils.Choices.
Jannis Leidel
Moved the setting of the dynamic QueryManager to model classes. Removed metaclasses.
Jannis Leidel
Fixed terrible typo.
Jannis Leidel
Made the testrunner Django 1.2 compatible.
Jannis Leidel
Added new ``Choices`` class as a replacement for ``ChoiceEnum``. Also renamed Condition* et al to Status*.
Jannis Leidel
Added TimeFramedModel and ConditionalModel.
Jannis Leidel
Marked a few labels for translation.
Jannis Leidel
Minor cleanups.
Jannis Leidel
Added get_<choice>_display function to ChoiceNum to easily display human readable option label.
Jannis Leidel
Added ability to optionally use a label on ChoiceEnums choices. Useful for translation.
  1. Prev
  2. Next