mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 13:01:56 +00:00
Conflicts: django-verdant/verdantadmin/templates/verdantadmin/home.html django-verdant/verdantadmin/urls.py django-wagtail/wagtail/wagtailadmin/templates/wagtailadmin/shared/main_nav.html
13 lines
259 B
Python
13 lines
259 B
Python
from django import forms
|
|
|
|
from wagtail.wagtaildocs.models import Document
|
|
|
|
|
|
class DocumentForm(forms.ModelForm):
|
|
required_css_class = "required"
|
|
|
|
class Meta:
|
|
model = Document
|
|
widgets = {
|
|
'file': forms.FileInput()
|
|
}
|