projets
/
auf_rh_dae.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1539, classement
[auf_rh_dae.git]
/
project
/
rh
/
lib.py
diff --git
a/project/rh/lib.py
b/project/rh/lib.py
index
81affa3
..
5beb85b
100644
(file)
--- a/
project/rh/lib.py
+++ b/
project/rh/lib.py
@@
-137,8
+137,13
@@
class AyantDroitCommentaireAdmin(admin.ModelAdmin):
pass
pass
-class ClassementAdmin(admin.ModelAdmin):
- pass
+class ClassementAdmin(AUFMetadataAdminMixin, admin.ModelAdmin):
+ fieldsets = AUFMetadataAdminMixin.fieldsets + (
+ (None, {
+ 'fields': ('type', 'echelon', 'degre', 'coefficient', )
+ }),
+ )
+
class CommentaireAdmin(admin.ModelAdmin):
class CommentaireAdmin(admin.ModelAdmin):