Commit 959899f1103fc4705499b3467423b33a32af961a
1 parent
8cd8a2fd
Exists in
master
and in
3 other branches
Adjusting subject tags in replication
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
subjects/views.py
... | ... | @@ -136,7 +136,7 @@ class SubjectCreateView(CreateView): |
136 | 136 | initial['name'] = subject.name |
137 | 137 | initial['visible'] = subject.visible |
138 | 138 | initial['professor'] = subject.professor.all() |
139 | - initial['tags'] = subject.tags.all() | |
139 | + initial['tags'] = ", ".join(subject.tags.all().values_list("name", flat = True)) | |
140 | 140 | initial['init_date'] = subject.init_date |
141 | 141 | initial['end_date'] = subject.end_date |
142 | 142 | initial['students'] = subject.students.all() | ... | ... |