my form is :
class MapForm(forms.ModelForm):
slug = forms.SlugField(max_length=20)
and did you know why?
and how to make this running..
my form is :
class MapForm(forms.ModelForm):
slug = forms.SlugField(max_length=20)
and did you know why?
and how to make this running..
well so you create map with not-unique slug while in your database it's cleary is UNIQUE. Post your models, views.