Commit graph

275 commits

Author SHA1 Message Date
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
Trey Hunner
a141063f34 Add tests for ForeignKey fields with ModelTracker 2013-05-23 12:31:20 -07:00
Carl Meyer
1921809d95 Update AUTHORS and changelog. 2013-05-22 19:16:40 -06:00
Alex Orange
6409799de8 Merge branch 'master' of git://github.com/carljm/django-model-utils into grandchild-fix 2013-05-21 18:48:52 -06:00
Trey Hunner
47bbd8e59b Merge pull request #50 from CrazyCasta/tox-fix
Fix tox.ini so runtests.sh works.
2013-05-21 16:19:13 -07:00
Alex Orange
7caa498766 Fix tox.ini so runtests.sh works. 2013-05-21 16:57:13 -06:00
Alex Orange
1e84465276 Test and fix for second grandchild bug.
Bug is, second grandchild of a given child will get cast to the child
rather then the grandchild.
2013-05-21 14:23:23 -06:00
Trey Hunner
dae34efe10 Merge pull request #48 from carljm/add-editorconfig-file
Add EditorConfig file
2013-05-21 09:06:39 -07:00
Trey Hunner
bc746bc638 Merge pull request #47 from carljm/miscellaneous-suggested-improvements
Miscellaneous Tox, Coverage, and Travis improvements
2013-05-21 09:05:20 -07:00
Trey Hunner
a5f453e772 Remove trailing whitespace from README file 2013-05-20 22:38:03 -07:00
Trey Hunner
01b876554e Add EditorConfig file 2013-05-20 22:38:00 -07:00
Trey Hunner
69831092b2 Move coverage configuration into .coveragerc 2013-05-20 22:37:24 -07:00
Trey Hunner
3ec8a905b3 Specify versions more explicitly in tox.ini 2013-05-20 22:36:46 -07:00
Trey Hunner
3820cf784f Breakup really long envlist line in tox.ini 2013-05-20 22:36:46 -07:00
Trey Hunner
3e185c4a50 Use 4 spaces indentation in tox.ini (like Python) 2013-05-20 22:36:46 -07:00
Trey Hunner
55bcb0397b Use spaces around = and == in tox.ini 2013-05-20 22:36:46 -07:00
Trey Hunner
c65ab19bee Show coverage report in Travis 2013-05-20 22:36:42 -07:00
Trey Hunner
dc54881cb1 Merge pull request #45 from carljm/pypipins
Add PyPI version and download count badges
2013-05-17 14:24:38 -07:00
Trey Hunner
adc025126f Add PyPI version and download count badges 2013-05-17 12:54:34 -07:00
Carl Meyer
216d0b7095 Fix GH-41: re-add get_FOO_display method to models with StatusField. 2013-05-02 11:33:48 -06:00
Carl Meyer
7aa54341c4 Update tox.ini 2013-05-02 11:33:16 -06:00
Carl Meyer
d81c983fb9 Remove obsolete note in README.
We now work around the limitation by poking at the internal data structures to
preserve any prior ``select_related`` calls.
2013-04-30 11:00:15 -06:00
Trey Hunner
e316517399 Remove dev README note (git can be used instead) 2013-04-25 23:44:35 -07:00
Trey Hunner
298a790c9a Fix Python version required by tests in setup.py 2013-04-25 23:42:27 -07:00
Trey Hunner
fd439517e3 Merge pull request #39 from carljm/friendly-docs
Use syntax-colored code blocks in README
2013-04-18 09:22:55 -07:00
Trey Hunner
ff4f60dcab Use syntax-colored code blocks in README 2013-04-17 20:37:40 -07:00
Trey Hunner
02cc04b0f7 Merge pull request #36 from carljm/python3
Support Python 3
2013-04-12 18:28:17 -07:00