Commit graph

301 commits

Author SHA1 Message Date
Carl Meyer
a66f2769cb Merge remote-tracking branch 'silonov/save_with_untracked_updated_fields'
* silonov/save_with_untracked_updated_fields:
  Fixed a bug causing `KeyError` when saving with the parameter `update_fields` in which there are untracked fields.
2013-08-08 09:29:04 -06:00
Mikhail Silonov
b9f954074c Fixed a bug causing KeyError when saving with the parameter update_fields in which there are untracked fields. 2013-08-08 13:22:25 +04:00
Trey Hunner
9050d60295 Merge pull request #68 from carljm/docs
Documentation
2013-08-08 01:00:51 -07:00
Trey Hunner
6e397303f8 Reference make test instead of ./runtests.sh 2013-08-07 22:52:44 -07:00
Trey Hunner
a7c6ff9392 Set version in setup.py docs automatically 2013-08-07 22:52:39 -07:00
Trey Hunner
ed011eaeaa Add Makefile with init, test, and docs tasks 2013-08-07 22:51:34 -07:00
Trey Hunner
0197c9e0f8 Link to documentation and PyPI in README 2013-08-07 00:30:28 -07:00
Trey Hunner
1bdf90be20 Add explicit references for cross-doc file links 2013-08-06 20:47:22 -07:00
Trey Hunner
85330bc106 Split usage docs into multiple files 2013-08-06 20:29:39 -07:00
Trey Hunner
b78ff6e4b8 Add some missing blank lines above headers in docs 2013-08-05 23:30:25 -07:00
Carl Meyer
64a47ad861 Update AUTHORS and changelog for Choices.__contains__ addition. 2013-08-05 19:49:21 -06:00
Carl Meyer
c9122ff025 Merge pull request #69 from kezabelle/feature/choices_contains
Implementing __contains__ in Choices
2013-08-05 18:40:44 -07:00
Keryn Knight
6f0cf2a96c first pass at tests for the __contains__ functionality
just implemented.
2013-08-02 12:24:44 +01:00
Keryn Knight
f89369f9ac Implement __contains__ ('x' in Choices('x')) for Choices objects.
In Choices, `_choice_dict` appears to be a definitive location of all
internal/DB representations, so it seems the best target for finding
out if the given item is part of the sequences.
2013-08-02 12:23:48 +01:00
Trey Hunner
176f557b13 Add setup.cfg for `python setup.py build_sphinx` 2013-07-31 22:58:15 -07:00
Trey Hunner
1ff3f267f9 Remove documentation from README 2013-07-31 22:57:41 -07:00
Trey Hunner
9a24ab0a37 Exclude docs html output from git 2013-07-31 22:57:15 -07:00
Trey Hunner
e84a76979b Add initial documentation (based on README) 2013-07-31 22:55:43 -07:00
Carl Meyer
369f9f8ced Merge pull request #64 from carljm/test-skipping
Use real unittest test skipping.
2013-07-25 11:55:48 -07:00
Carl Meyer
677f3e4794 Merge pull request #63 from carljm/update-test-matrix
Update test matrix
2013-07-25 11:55:16 -07:00
Carl Meyer
2d40c5b927 Merge branch 'update-test-matrix' into test-skipping
* update-test-matrix:
  Fix typo in .travis.yml.
  Don't use unnecessary quotes in .travis.yml.
2013-07-25 12:30:05 -05:00
Carl Meyer
6f1876b8de Fix typo in .travis.yml. 2013-07-25 12:28:03 -05:00
Carl Meyer
0481f0aafe Don't use unnecessary quotes in .travis.yml. 2013-07-25 12:23:59 -05:00
Carl Meyer
9a5a2bcf88 Use proper unittest test-skipping. 2013-07-25 12:16:11 -05:00
Carl Meyer
78db327667 Fix .travis.yml to not run tests against Django master with Python 2.6. 2013-07-25 12:07:31 -05:00
Carl Meyer
eb63aca03e Update .travis.yml. 2013-07-25 12:00:59 -05:00
Carl Meyer
bcc8ad3a64 Update tox.ini for Django 1.6 stable branch, South supporting Py3. 2013-07-25 11:58:46 -05:00
Trey Hunner
fb96dee2d0 Merge pull request #62 from carljm/contributing-file
Add a CONTRIBUTING file
2013-07-25 09:55:55 -07:00
Trey Hunner
6716e45ccd Fixup CONTRIBUTING file per Carl's suggestions 2013-07-25 09:45:36 -07:00
Trey Hunner
6aa6ba0667 Add a CONTRIBUTING file 2013-07-24 23:22:12 -07:00
Carl Meyer
f7584e3972 Remove download counts badge, since the download counts are officially busted. 2013-06-03 14:28:37 -06:00
Carl Meyer
eadb5b858c Bump version for dev. 2013-06-03 14:27:24 -06:00
Carl Meyer
3c8e165dec Hello 1.4.0. 2013-06-03 14:25:29 -06:00
Trey Hunner
b4efe66059 Round numbers that Python 2 and 3 agree on 2013-06-03 12:45:32 -07:00
Trey Hunner
aaf2219013 Add tests for tracking non-field attributes 2013-06-03 12:08:01 -07:00
Carl Meyer
99a051d137 Doc updates for FieldTracker -> ModelTracker transition. 2013-06-03 11:55:38 -06:00
Carl Meyer
44b0e42dd1 Merge branch 'master' into fk-fix
* master:
  Remove misinformation from changelog; oops.
  Tweak AUTHORS and changelog.
  PassThroughManager calls superclass `get_query_set`.
  Update AUTHORS and changelog.
  Fix tox.ini so runtests.sh works.
  Test and fix for second grandchild bug.
2013-06-03 11:54:46 -06:00
Trey Hunner
fee47f5f02 Update README file for new FieldTracker 2013-05-30 14:56:42 -07:00
Trey Hunner
1474a48084 Improve FieldTracker docstrings 2013-05-28 10:14:49 -07:00
Carl Meyer
85588bb7e8 Remove misinformation from changelog; oops. 2013-05-27 11:10:59 -06:00
Carl Meyer
a16b7a1419 Tweak AUTHORS and changelog. 2013-05-27 11:10:18 -06:00
Andy Freeland
7e381179e4 PassThroughManager calls superclass get_query_set.
As discussed in #31, PassThroughManager and
PassThroughManager.for_queryset_class() would ignore the superclass
version of `get_query_set`.
2013-05-26 16:04:47 -04:00
Trey Hunner
9dc3dacabf Fix FieldTracker's has_changed (fixes gh-51)
The FieldTracker has_changed method no longer returns True for any input
when the instance is unsaved and no longer raises a FieldError for
fields after the first save.  The original ModelTracker behavior is
maintained.
2013-05-24 22:22:20 -07:00
Trey Hunner
d28f3860cf Change FieldTracker `current` for unsaved model
Return None values instead of an empty dict
2013-05-23 16:38:12 -07:00
Trey Hunner
d190239c1f Improve docstrings and variables for FieldTracker 2013-05-23 16:25:10 -07:00
Trey Hunner
54c996f17f Don't compare FK instances in FieldTracker 2013-05-23 13:18:21 -07:00
Trey Hunner
4bae3e999b Fix foreign key tests for FieldTracker 2013-05-23 13:16:49 -07:00
Trey Hunner
6532784acd Create FieldTracker that mirrors ModelTracker 2013-05-23 12:50:34 -07:00
Trey Hunner
97e0f5edbf Change failing test to pass for ModelTracker 2013-05-23 12:34:15 -07:00
Bojan Mihelac
ea899d17a0 Added test_number_of_queries in ModelTrackerTestCase 2013-05-23 12:31:21 -07:00