Auto-create slug on New TaskList
This commit is contained in:
parent
4e8960c12f
commit
bb463f3974
3 changed files with 6 additions and 9 deletions
|
@ -17,7 +17,7 @@ class AddTaskListForm(ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = TaskList
|
||||
exclude = ['created_date', ]
|
||||
exclude = ['created_date', 'slug', ]
|
||||
|
||||
|
||||
class AddEditTaskForm(ModelForm):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue