@ -132,7 +132,8 @@ class ConferenceCreateForm(forms.Form):
else:
conference = obj
conference.theme.clear()
conference.tag.clear()
if data.get('tag'):
#simple fields
if not getattr(conference, 'url'):
@ -161,9 +161,11 @@ class ExpositionCreateForm(forms.Form):
exposition = obj
exposition.theme.clear()
exposition.tag.clear()
exposition.organiser.clear()
#exposition.company.clear()
if not getattr(exposition, 'url'):
@ -2,7 +2,7 @@
{% load thumbnail %}
{% if obj.logo %}
{% thumbnail obj.logo "80x80" format="PNG" as im %}
{% thumbnail obj.logo "70x70" format="PNG" as im %}
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" class="pic" alt="">
{% endthumbnail %}
{% else %}