Michael Price
b4bf9bfaee
Switch to a resource and service based API from previous app based one.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 18:28:40 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
5893e149e0
Reduce the check_access boilerplate code.
2016-11-02 04:58:05 -04:00
Roberto Rosario
621c988809
Simplify filter_by_access boilerplate code
2016-11-02 03:48:16 -04:00
Roberto Rosario
68f3c6eee7
PEP8 cleanups.
2015-08-19 14:50:44 -04:00
Roberto Rosario
d04117d345
PEP8 and code style cleanups. Replace lists with tuples.
2015-08-12 04:41:59 -04:00
Roberto Rosario
49ec79b36a
Code style updates.
2015-08-12 03:55:50 -04:00
Roberto Rosario
ace76fc69c
Update apps for new ACLs refactor.
2015-07-01 16:36:20 -04:00
Roberto Rosario
1c084aa07b
Split Permission and StoredPermission class and model into different modules. Simplified the Permission class.
2015-06-28 01:03:29 -04:00
Roberto Rosario
d26402974a
Allow registering permission from the permission namespace. Replace all permission variables to be lowercase (style guide reserver uppercase variables for constants and literals).
2015-06-28 00:19:49 -04:00
Roberto Rosario
91150a7f51
Change the user_object of the DocumentCheckout model to be just a FK to the User model
2015-06-16 23:35:23 -04:00
Roberto Rosario
d59ea3ede2
Add from __future__ import unicode_literals, issue #37
2015-01-19 04:06:40 -04:00
Roberto Rosario
9843f2b17f
Use the filtered queryset for the checkout API
2014-11-11 14:36:41 -04:00
Roberto Rosario
46f4b73976
Close issue #111 , Add Checkouts API endpoints
2014-11-04 17:37:50 -04:00