Added views to create, list and delete document groups via the project setup
This commit is contained in:
@@ -8,6 +8,13 @@ from django.conf import settings
|
||||
|
||||
from tags.widgets import get_tags_inline_widget
|
||||
|
||||
from grouping.models import DocumentGroup
|
||||
|
||||
|
||||
class DocumentGroupForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = DocumentGroup
|
||||
|
||||
|
||||
class DocumentGroupImageWidget(forms.widgets.Widget):
|
||||
def render(self, name, value, attrs=None):
|
||||
|
||||
Reference in New Issue
Block a user