Move to src dir.
[edumed.git] / catalogue / forms.py
diff --git a/catalogue/forms.py b/catalogue/forms.py
deleted file mode 100644 (file)
index 84f2e43..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# -*- coding: utf-8 -*-
-from django.forms import Form, CharField
-
-from librarian import IOFile
-from catalogue.models import Lesson
-
-
-class LessonImportForm(Form):
-    lesson_xml = CharField()
-
-    def save(self, commit=True, **kwargs):
-        return Lesson.publish(IOFile.from_string(self.cleaned_data['lesson_xml']))