8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00
Commit graph

14 commits

Author SHA1 Message Date
c3a7e05496 Fix accessing view queryset property in api/permissions.py
Django would raise a RuntimeError indicating not to evaluate the .queryset attribute directly
2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
e9a29c87be Just blacked everything. 2021-01-24 16:37:09 +01:00
chapeau
5e24867ccd documentation 2021-01-24 16:37:09 +01:00
7e60c6ed41 lets be sure that api permissions wont trigger on functional views 2021-01-24 16:37:09 +01:00
69f78d8c60 Ça se dit Rézo Metz 'tain 2021-01-24 16:37:09 +01:00
chapeau
ce4b3290dc Fix api permission check 2020-02-03 16:56:51 +00:00
Hugo Levy-Falk
c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Alexandre Iooss
d673e4d54d Clean up of API code
Automatic clean up that checks Python 2.7 compatibility, switch some
methods to static and rearrange code.
2018-10-06 11:07:45 +02:00
Gabriel Detraz
96318b7265 Legacy shaebang pour python2 2018-07-22 22:59:49 +02:00
Maël Kervella
ecc5ed0b22 Docstrings, docstrings everywhere 2018-06-20 11:38:58 +00:00
Maël Kervella
ca0744a38c Add customizable ACL-based permission 2018-06-20 11:38:58 +00:00
Maël Kervella
4fe1be5d31 Allow update and quick check of need_regen info 2018-06-20 11:38:58 +00:00
Maël Kervella
0be63ad58e Use the use_api permission to access API 2018-06-20 11:38:58 +00:00
Maël Kervella
6478a0aed9 Add ACL permission on API 2018-06-20 11:38:58 +00:00