Hello,
There is an error coming up which is column slug is not unique
whenver i try to create profile with a name that already exists in database.So how can I raise a ValidationError message that Name already exist
.Just as Registation Redux does in registration form.
Thank you
Error coming up when name field in Profile model already exists
bolaji95
#1
limedaring
#4
Ah got it — so this is happening in your admin when you try to add a Profile manually?
bolaji95
#5
Yes Yes.It happens there and it also happens at the site itself where there is a Create Profile form
limedaring
#6
Are all your migrations applied? I wonder if there was an error with creating your local database where a migration wasn’t applied so you’re getting database errors.