Logo
Explore Help
Register Sign In
Dockery/Pinry
1
0
Fork 0
You've already forked Pinry
mirror of https://github.com/pinry/pinry.git synced 2025-11-14 17:05:50 +01:00
Code Issues Packages Projects Releases Activity
Files
7fe3769248a7f10d6ab5a04493a55cd8cde435d5
Pinry/pinry/pins/forms.py

10 lines
167 B
Python
Raw Normal View History

Initial commit.
2012-04-26 03:44:16 +00:00
from django import forms
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
from django_images.models import Image
Initial commit.
2012-04-26 03:44:16 +00:00
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
class ImageForm(forms.ModelForm):
Rewrite new_pin into a Class Based View
2013-02-24 16:56:03 +01:00
class Meta:
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
model = Image
fields = ('image',)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API