ojuso-map/apps/files/forms.py
2018-05-29 23:16:51 -04:00

15 lines
271 B
Python

from django import forms
from .models import File, ImageFile
class FileForm(forms.ModelForm):
class Meta:
model = File
exclude = ['user',]
class ImageFileForm(forms.ModelForm):
class Meta:
model = ImageFile
exclude = ['user',]