X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/cd79440d2fe85f8a68b3716695f71c0f70c49bd5..c047053dab0ec7d125fd5b2540a01045e64dd3fa:/edumed/contact_forms.py?ds=inline diff --git a/edumed/contact_forms.py b/edumed/contact_forms.py index dd6cef8..196e5e4 100644 --- a/edumed/contact_forms.py +++ b/edumed/contact_forms.py @@ -10,8 +10,6 @@ from django.core.validators import validate_email from django.template.loader import render_to_string from django.utils.translation import ugettext_lazy as _ -from wtem.models import Confirmation - WOJEWODZTWA = ( u'dolnośląskie', u'kujawsko-pomorskie', @@ -308,6 +306,7 @@ class OlimpiadaForm(ContactForm): return toret def save(self, request, formsets=None): + from wtem.models import Confirmation contact = super(OlimpiadaForm, self).save(request, formsets) for formset in formsets or []: