Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 692bf00

Browse files
committed
1 parent fc7d563 commit 692bf00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ausbildung/anmeldung/admin.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class KursAdmin(reversion.VersionAdmin):
2525
search_fields = ('name', 'nummer', 'hauptleiter')
2626
inlines = [ZusatzfeldInline]
2727
prepopulated_fields = {'url': ('name',)}
28+
save_as = True
2829
#date_hierarchy = 'von'
2930

3031

ausbildung/anmeldung/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def anmeldung_form(request, kurs):
9898
message = render_to_string('anmeldung/email.txt',
9999
{'a': anmeldung})
100100
send_mail(subject, message, '[email protected]',
101-
['[email protected]', 'chili@gloggi.ch'])
101+
['ausbildung@gloggi.ch'])
102102

103103
return redirect('anmeldung_view', kurs=kurs.url)
104104
else:

0 commit comments

Comments
 (0)