Commit Graph

483 Commits (aa9c4a60631cfe3994e2fa909b1e891dc8dbe260)

Author SHA1 Message Date
Jaap Roes aa9c4a6063 User.is_authenticated is a property from Django 1.10 and onward 2017-03-16 16:21:59 +01:00
Jaap Roes a5eca5ea4d assertEquals is deprecated in Python 3 2017-03-16 16:21:59 +01:00
Jaap Roes e5adadaefc Use the newer MIDDLEWARE setting but fall back to MIDDLEWARE_CLASSES on Django < 1.10 2017-03-16 16:21:59 +01:00
Jaap Roes defaf45e9a Make it clear why the httplib import is guarded by a try except and has a fallback 2017-03-16 16:21:59 +01:00
Jaap Roes b8bfbe0c9a Explicitly set on_delete=models.CASCADE on ForeignKey as it will be required in Django 2.0 2017-03-16 16:21:59 +01:00
Jaap Roes 9d3c958365 Remove deprecated template settings 2017-03-16 16:21:59 +01:00
Jaap Roes 7262cb6564 Remove unused utils module 2017-03-16 16:21:59 +01:00
Jaap Roes 28fe5d1460 Run non auto field model test unconditional 2017-03-16 16:21:59 +01:00
Jaap Roes 9997644929 Run uuid field tests unconditional 2017-03-16 16:21:59 +01:00
Jaap Roes 209a280ce8 Remove (seemingly broken) TemplateSyntaxError import fallback 2017-03-16 16:21:58 +01:00
Jaap Roes b0df1ff701 Remove south_field_triple method as South does not support Django >= 1.7 2017-03-16 16:21:58 +01:00
Jaap Roes 8b88dfa9cd Remove pointless fallback code (it just repeats the previously failed statement) 2017-03-16 16:21:58 +01:00
Jaap Roes 356d88dfde Remove ordering field lookup fallback 2017-03-16 16:21:58 +01:00
Jaap Roes ac507e4484 Remove get_queryset fallback 2017-03-16 16:21:58 +01:00
Jaap Roes f17db22938 Remove inline admin fallback templates 2017-03-16 16:21:58 +01:00
Jaap Roes 74e0c92455 Remove contenttypes.generic import fallbacks 2017-03-16 16:21:58 +01:00
Jaap Roes e0a85c554b Remove django.conf.urls import fallback 2017-03-16 16:21:58 +01:00
Jaap Roes cc5fc81da9 Add tox.ini to test and collect combined coverage data of multiple Python and Django versions 2017-03-16 16:21:58 +01:00
Brandon Taylor 1990e6653e [bt] Version 2.0.22 Release Notes
Updated readme files with new version information and credits.
Version bump to 2.0.22.
2017-03-14 22:04:23 -04:00
Brandon Taylor 60ac42cd2b Merge pull request #167 from camilonova/patch-2
Update to django 1.11
2017-03-14 08:47:12 -04:00
Camilo Nova 9b51e83537 Update to django 1.11
Fixes `TypeError, context must be a dict rather than RequestContext.`

As seen in https://docs.djangoproject.com/en/1.11/ref/templates/upgrading/#django-template-loader
2017-03-13 11:57:38 -05:00
Brandon Taylor 0d92d5c1a1 Merge pull request #166 from sushifan/save-only-order-field
Only update the order field when saving objects; omit unnecessary db queries
2017-03-11 13:30:24 -05:00
Anton Shevchenko eb5f14fe22 Clarify comment. 2017-03-11 11:20:16 -05:00
Anton Shevchenko eb5a9e0a8a Avoid unnecessary db queries: perform the update iff the order field has changed. 2017-03-08 23:28:40 -05:00
Anton Shevchenko f2f5daf831 Use 'update_fields' to limit the object's save() method to just the order field, so that other fields are not accidentally overwritten with stale data. 2017-03-08 22:14:48 -05:00
Brandon Taylor 99530d3ba4 Merge pull request #165 from Flimm/context-processor-fix
Update instructions about context processor static
2017-03-07 20:29:55 -05:00
David D Lowe d0813e7a56 Update instructions about context processor static 2017-03-07 13:57:31 +01:00
Brandon Taylor ae8a67bae2 Merge pull request #164 from Flimm/badges
Add two PyPI badges
2017-03-07 06:22:04 -05:00
David D Lowe 11ef0e51d8 Add two PyPI badges 2017-03-07 11:10:00 +01:00
Brandon Taylor 0e464ca7bb Merge pull request #163 from deluge/master
add more notes in readme for different versions
2017-02-01 05:43:20 -05:00
Benjamin Banduhn b2ea957c4a
add more notes in readme for different versions 2017-02-01 10:48:39 +01:00
Brandon Taylor 4d01ec19b5 Update README.md
Added note about ordering field name.
2016-12-01 21:52:11 -05:00
Brandon Taylor 81f2faebc6 Merge pull request #157 from yigor/master
Proper context and breadcrumbs
2016-11-02 21:16:51 -04:00
Igor Sobolev 12fbb62302 Proper context and breadcrumbs 2016-11-02 12:47:36 -04:00
Brandon Taylor b96896d890 Merge branch 'develop' 2016-10-30 11:39:17 -04:00
Brandon Taylor 863ff69719 Fix Sorting by ForeignKey
Removed do_inline_sorting_url and get_object_or_404 check in admin. The model_type_id should *always* be passed in.
Removed test that asserted that Categories weren't sortable as part of the Project admin. Categories *should* be sortable as part of Project admin as they are a Sortable ForeignKey.
Fixed object_rep template to pass in model_type_id again.
Updated README.
Version bump to 2.0.21
2016-10-30 11:33:20 -04:00
Brandon Taylor 020dfe89dd Merge pull request #155 from stvnw/fix
Raise NotImplementedError instead of NotImplemented
2016-10-26 15:18:08 -04:00
Steven Wood 686ddae81c Raise NotImplementedError instead of NotImplemented 2016-10-23 10:20:45 -04:00
Brandon Taylor 8df41a9533 Added Django 1.10 to Travis config 2016-10-12 22:35:15 -04:00
Brandon Taylor 3f12b10926 Changed version check back to old-style for backwards compatibility. 2016-10-12 22:23:38 -04:00
Brandon Taylor 6e6b92d759 Skipped UUID-pk model if Django less than 1.8 2016-10-12 22:14:22 -04:00
Brandon Taylor bf75b85190 Skipped UUI import for Django less than 1.8 2016-10-12 22:07:54 -04:00
Brandon Taylor 76378483ff Skipped UUID pk test for less than Django 1.8 2016-10-12 22:03:22 -04:00
Brandon Taylor fcf2829633 Skipped UUID pk test if less than Django 1.7 2016-10-12 21:50:42 -04:00
Brandon Taylor 32726cdcae Version 2.0.20
Bumped version up.
Updated README.
2016-10-12 06:09:49 -04:00
Brandon Taylor c2ca9db931 Merge pull request #153 from rubendura/master
Enables support for primary keys that are not AutoFields.
2016-10-12 06:00:14 -04:00
Ruben Dura Tari e4355d84bc Adds test 2016-10-11 19:47:17 +01:00
Ruben Dura Tari 3c2935776e Enables support for primary keys that are not AutoFields.
Specially useful when using UUIDs as primary keys.
2016-10-11 18:53:45 +01:00
Brandon Taylor 0e4a5b11e4 Excluded Django 1.7.7 from Pyton 3.5 config 2016-08-08 21:55:29 -04:00
Brandon Taylor 66e63a29c2 Version bump to 2.0.19.
Updated readme.
2016-08-08 21:48:11 -04:00