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

14 commits

Author SHA1 Message Date
39b6e8507e Fix accessing view queryset property in api/permissions.py
Django would raise a RuntimeError indicating not to evaluate the .queryset attribute directly
2021-01-05 21:09:45 +01:00
Hugo Levy-Falk
a1c08c4e96 Just blacked everything. 2020-12-28 20:59:35 +01:00
chapeau
70b492c315 documentation 2020-12-28 20:57:21 +01:00
5a79ffb0f5 lets be sure that api permissions wont trigger on functional views 2020-12-28 20:57:21 +01:00
d1d4ea6af3
Ça se dit Rézo Metz 'tain 2020-11-23 17:06:37 +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