]> git.0d.be Git - django-panik-combo.git/blobdiff - gallery/forms.py
remove gallery; upstreamed
[django-panik-combo.git] / gallery / forms.py
diff --git a/gallery/forms.py b/gallery/forms.py
deleted file mode 100644 (file)
index c4a1420..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# combo - content management system
-# Copyright (C) 2015  Entr'ouvert
-#
-# This program is free software: you can redistribute it and/or modify it
-# under the terms of the GNU Affero General Public License as published
-# by the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-from django import forms
-from django.utils.translation import ugettext_lazy as _
-
-from .models import Image
-
-class ImageAddForm(forms.ModelForm):
-    class Meta:
-        model = Image
-        fields = ('image', 'title',)
-
-
-class ImageEditForm(forms.ModelForm):
-    class Meta:
-        model = Image
-        fields = ('title',)