39949562c1
Closes #62
15 lines
271 B
Python
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',]
|