Files
Pinry/pinry/pins/forms.py
Krzysztof Klimonda d0a71244b5 Another major Pinry model rewrite
Generate thumbnail and standard image on request, and use
http://github.com/mirumee/django-images for generating them. Also,
remove the CreatePin page as pin creation is going to be done
in JavaScript. Create UploadImage view for uploading images from
computer.
2013-02-25 04:08:35 +01:00

10 lines
167 B
Python

from django import forms
from django_images.models import Image
class ImageForm(forms.ModelForm):
class Meta:
model = Image
fields = ('image',)