Commit graph

13 commits

Author SHA1 Message Date
Henrik Levkowetz 5b6ffbcbd5 Fixed a bug in the API cache key construction which could make the key longer than necessary.
- Legacy-Id: 12196
2016-10-21 14:27:18 +00:00
Henrik Levkowetz c11f3b5ee7 Make pyflakes happier sorting out tastypie.resources.ModelResource.
- Legacy-Id: 12037
2016-09-26 10:33:22 +00:00
Henrik Levkowetz 7f772641d4 Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur.
- Legacy-Id: 12035
2016-09-25 13:53:22 +00:00
Henrik Levkowetz 15ef1af9c5 Added object pk to the cache key. Fixes issue #1929.
- Legacy-Id: 10956
2016-03-20 16:38:40 +00:00
Henrik Levkowetz 62cae36acd Subclassed tastypie's ToOneField in order to provide caching for FK entries.
- Legacy-Id: 10927
2016-03-15 23:08:35 +00:00
Henrik Levkowetz 2c2ac888d0 Updated the API tests to avoid deprecation warnings from a new version of Tastypie (0.13.1).
- Legacy-Id: 10796
2016-02-07 15:33:40 +00:00
Henrik Levkowetz 2fe8dcb4c2 Added a very simple html version of the json API, to make it easier to explore the api manually.
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz 550f69cc37 Merged in [9305] from willem@nlnetlabs.nl:
Callback API test code paths
 - Legacy-Id: 9315
Note: SVN reference [9305] has been migrated to Git commit 65c052a2f7
2015-03-21 22:27:41 +00:00
Henrik Levkowetz 0d4bceb977 Fixed a typo in maketestresources.py
- Legacy-Id: 9314
2015-03-21 22:00:08 +00:00
Willem Toorop 20123641bf Pyflakes ignore iderectly used variables
They are (potentionally) used in a compile statement where their usage is invisible for pyflakes.
Ready for merge
 - Legacy-Id: 9311
2015-03-21 20:49:49 +00:00
Willem Toorop 65c052a2f7 Callback API test code paths
- Legacy-Id: 9305
2015-03-21 19:47:50 +00:00
Henrik Levkowetz e9fcce9cdc Added a couple of missing __init__.py files.
- Legacy-Id: 9146
2015-03-04 16:19:07 +00:00
Henrik Levkowetz 86997e1e95 Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00