1
template = form.cleaned_data['selected_template']
I think its the name collides with the class template. Cap all your classes.
Source:stackexchange.com
1
template = form.cleaned_data['selected_template']
I think its the name collides with the class template. Cap all your classes.