Skip to content

Commit 34885ab

Browse files
Fix #311 ModelForm without either fields or exclude is deprectated
1 parent 7934a1c commit 34885ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

djcelery/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ class PeriodicTaskForm(forms.ModelForm):
261261

262262
class Meta:
263263
model = PeriodicTask
264+
exclude = ()
264265

265266
def clean(self):
266267
data = super(PeriodicTaskForm, self).clean()

0 commit comments

Comments
 (0)