Mercurial > public > sg101
diff gcalendar/views.py @ 1021:68c3343f3318
Perform image_check on gcalendar description.
Also add image hotlink/upload forms to gcalendar add event page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 08 Dec 2015 21:39:19 -0600 |
parents | 74e84f5fc948 |
children | e1c03da72818 |
line wrap: on
line diff
--- a/gcalendar/views.py Tue Dec 08 17:32:31 2015 -0600 +++ b/gcalendar/views.py Tue Dec 08 21:39:19 2015 -0600 @@ -39,7 +39,7 @@ event = form.save(commit=False) event.user = request.user event.repeat = 'none' - event.save() + event.save(html=form.html) return HttpResponseRedirect(reverse('gcalendar-add_thanks')) else: form = EventEntryForm()