Commit graph

623 commits

Author SHA1 Message Date
Bruno Alla
10ebc16271 Exclude tests from distribution
fixes #258
2017-02-15 23:00:10 +00:00
Romain Garrigues
4d5969a616 Merge pull request #259 from romgar/update_documentation
Update documentation. Closes #61
2017-01-26 14:34:46 +00:00
romgar
7552c4a7f2 Remove out-to-date example 2017-01-26 14:18:19 +00:00
Romain Garrigues
bb439db404 Merge pull request #261 from kavdev/patch-1
Add "license" arg to setup() call
2017-01-26 09:37:34 +00:00
Alexander Kavanaugh
9abcf0c943 Add "license" arg to setup() call
This helps for seeing at-a-glance licenses in services such as pyup.io
2017-01-25 19:36:59 -08:00
romgar
ced4afe8f9 Update documentation to remove references of PassThroughManager, removed in version 2.4 2017-01-22 12:00:50 +00:00
Romain Garrigues
a502e32e9d Merge pull request #260 from romgar/ticket_212_2
Remove compatibility code in runtests.py file, related to #212.
2017-01-22 11:57:35 +00:00
romgar
7d1f2b5be5 Remove compatibility code in runtests.py file 2017-01-21 14:02:31 +00:00
Romain Garrigues
ef42eb43e7 Merge pull request #257 from browniebroke/feature/github-templates
Pull request and issue template fixes #254
2017-01-18 18:16:45 +00:00
Bruno Alla
2ee8627c5a Pull request and issue template fixes #254 2017-01-17 22:34:04 +00:00
Romain Garrigues
7d5e31e62f Merge pull request #256 from romgar/drop_get_query_set_old_syntax_support
Drop old get_query_set syntax, replaced by get_queryset now. Related to #212.
2017-01-13 16:48:00 +00:00
Romain G
d07b992b94 Drop old get_query_set syntax, replaced by get_queryset now 2017-01-12 18:34:47 +00:00
Romain Garrigues
cac2708c17 Merge pull request #212 from rpkilby/drop-unsupported-django
Drop unsupported Django versions
2017-01-12 17:58:11 +00:00
Ryan P Kilby
e148c670d1 Fix django 2.0 warnings 2017-01-12 12:16:46 -05:00
Ryan P Kilby
cd9e296f81 Update docs 2017-01-12 12:16:46 -05:00
Ryan P Kilby
fda2d39ec4 Drop unsupported django versions 2017-01-12 12:16:40 -05:00
Carl Meyer
625e1041cc Bump version to 2.6.2.a1. 2017-01-11 16:07:17 -08:00
Carl Meyer
269f6f130f Bump version to 2.6.1. 2017-01-11 15:37:06 -08:00
Carl Meyer
6a01f3389a Add spaces in changelog for consistency with older sections. 2017-01-11 15:35:51 -08:00
Romain Garrigues
25b6e09296 Merge pull request #253 from romgar/ticket_251
Add fix + tests for abstract manager inheritance issue with StatusModel. Fixes #251.
2017-01-11 12:44:04 +00:00
Romain G
03fd2fb0a0 Add missing newline 2017-01-11 12:22:59 +00:00
Romain G
7ae505733e Update CHANGES 2017-01-11 12:21:42 +00:00
Romain G
3100d47931 Merge branch 'master' into ticket_251 2017-01-11 12:17:45 +00:00
Romain Garrigues
6c4f515540 Merge pull request #252 from browniebroke/doc/changelog
Update changelog about 2 recent pull requests
2017-01-10 14:18:48 +00:00
Romain G
63e5c59c66 Simplify test models + make it compatible for old Django versions 2017-01-09 19:16:09 +00:00
Romain G
679af01f26 Add fix + tests for abstract manager inheritance issue with StatusModel 2017-01-09 19:02:59 +00:00
Bruno Alla
0787a098fd Update changelog about 2 recent pull requests
https://github.com/carljm/django-model-utils/pull/239
https://github.com/carljm/django-model-utils/pull/240
2017-01-09 13:29:07 +00:00
Carl Meyer
f56e26b5a9 Merge pull request #250 from browniebroke/bugfix/extend-queryset
Fix issue when extend QuerySet and Manager - fixes #249
2017-01-08 10:06:27 -07:00
Bruno Alla
abd163f297 Remove extra backtick 2017-01-08 11:18:31 +00:00
Bruno Alla
ecf80381de Reword changes, use GH- convention for tickets and PR 2017-01-07 14:20:00 +00:00
Bruno Alla
336ac14144 Add changes at the top of the Changelog 2017-01-05 18:32:33 +00:00
Bruno Alla
2af54972eb Revert unrelated change regarding related fields
Remove attribute use_for_related_fields in SoftDeletableManagerMixin.
2017-01-05 18:32:13 +00:00
Bruno Alla
063332643d Split SoftDeletableQuerySet/Manager into Mixin 2017-01-05 14:40:03 +00:00
Bruno Alla
0efaad1218 Fix issue when extend QuerySet and Manager - fixes #249 2017-01-05 14:29:35 +00:00
Carl Meyer
0febeae9ee Merge pull request #240 from browniebroke/feature/soft-delete-purge
Ability to purge from db a SoftDeletableModel
2016-11-28 16:02:12 -08:00
Bruno Alla
4311e24e98 Add soft parameter to delete method instead of new one 2016-11-28 23:45:48 +00:00
Bruno Alla
6efab67b79 Merge remote-tracking branch 'carljm/master' into feature/soft-delete-purge
# Conflicts:
#	model_utils/tests/tests.py
2016-11-28 23:31:16 +00:00
Romain Garrigues
df57fdba92 Merge pull request #246 from romgar/ticket_244_split_tests_in_several_files
Separate tests in small files. Fixes #244 (at least the test splitting part).
2016-11-27 13:50:54 +00:00
romgar
eb41dc0ea0 Prevent test manual import for Django 1.6+. No impact on Django 1.7/1.8, duplicating all test runs in Django 1.6 2016-11-24 21:31:55 +00:00
romgar
2a9c199819 Remove test duplication related to TestCase inheritance in different files 2016-11-24 21:31:23 +00:00
romgar
6fefc53c58 Separate tests in small files, making it easier to edit/add new ones/not conflict on different merge requests 2016-11-23 23:49:53 +00:00
Carl Meyer
68bc61e825 Update changelog and AUTHORS. 2016-11-21 11:36:25 -08:00
Carl Meyer
94870b2510 Merge pull request #242 from romgar/ticket_241_double_monitor_field_recursion_error
Tests to demonstrate recursion error with double MonitorField and defer()/only() usage
2016-11-21 11:13:31 -08:00
Carl Meyer
9d39d46115 Merge pull request #243 from romgar/ticket_206_timestamp_resolution_issue_on_windows
Update tests to use freezegun to avoid time resolution issues on Windows
2016-11-21 11:08:56 -08:00
romgar
8ecf75144b Update tests to use freezegun to avoid time resolution issues on Windows 2016-11-20 22:08:07 +00:00
romgar
e2440a6872 Add tests to prevent regression in MonitorField behaviour if we filter out deferred fields in _save_initial 2016-11-19 12:08:48 +00:00
romgar
93dd940a5d Remove defered fields in _save_initial only for Django 1.10+ 2016-11-18 23:31:45 +00:00
romgar
2455c983fc Restore initial indentation 2016-11-18 23:12:39 +00:00
romgar
72158f1820 Avoid to directly initialise a monitored field if defered to avoid recursion issue 2016-11-18 23:11:23 +00:00
romgar
e9d57e60fe Add test to demonstrate issue #241 2016-11-18 00:24:57 +00:00