summaryrefslogtreecommitdiff
path: root/workshop_app/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_app/admin.py')
-rw-r--r--workshop_app/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/workshop_app/admin.py b/workshop_app/admin.py
index 8a0a8c5..4e3d333 100644
--- a/workshop_app/admin.py
+++ b/workshop_app/admin.py
@@ -83,7 +83,7 @@ class WorkshopTypeAdmin(admin.ModelAdmin):
writer.writerow(['name', 'duration'])
for q in queryset:
- writer.writerow([q.name, q.workshoptype_duration])
+ writer.writerow([q.name, q.duration])
openfile.seek(0)
response.write(openfile.read())