diff options
author | Alban Gruin | 2017-11-17 21:20:37 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-27 12:11:30 +0100 |
commit | 1b0fbf29a484b16de31ac5df1b3fded39be95e97 (patch) | |
tree | 7b88adf996cb32494aa4c29e3aeecd5ee6c0778c /admin.py | |
parent | b219f1248fa84eb2b015a5a04f80905dad8904ae (diff) |
Ajout d’un champ slug au modèle des salles
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ class GroupAdmin(admin.ModelAdmin): @admin.register(Room) class RoomAdmin(admin.ModelAdmin): - pass + prepopulated_fields = {"slug": ("name",)} @admin.register(Course) |