Initial commit of the generic history app
This commit is contained in:
11
apps/history/forms.py
Normal file
11
apps/history/forms.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django import forms
|
||||
|
||||
from common.forms import DetailForm
|
||||
|
||||
from history.models import History
|
||||
|
||||
|
||||
class HistoryDetailForm(DetailForm):
|
||||
class Meta:
|
||||
model = History
|
||||
exclude = ('datetime', 'content_type', 'object_id', 'history_type', 'dictionary')
|
||||
Reference in New Issue
Block a user