git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adjustments to admin.py for view, fix Role using charfield as primary key, adjusted...
[plstackapi.git]
/
planetstack
/
core
/
serializers.py
diff --git
a/planetstack/core/serializers.py
b/planetstack/core/serializers.py
index
7c5dca9
..
bc4dd01
100644
(file)
--- a/
planetstack/core/serializers.py
+++ b/
planetstack/core/serializers.py
@@
-10,6
+10,7
@@
class RoleSerializer(serializers.HyperlinkedModelSerializer):
model = Role
fields = ('id',
'role_id',
+ 'role',
'role_type')