Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of slug uniquess #116

Open
aktywnitu opened this issue Jun 1, 2016 · 1 comment
Open

Possibility of slug uniquess #116

aktywnitu opened this issue Jun 1, 2016 · 1 comment

Comments

@aktywnitu
Copy link

aktywnitu commented Jun 1, 2016

Please consider to make slug unique by default or provide some method/configuration/documentation to achieve it.

Custom model overriding is not possible:
django.core.exceptions.FieldError: Local field 'slug' in class 'Categories' clashes with field of similar name from base class 'CategoryBase'.
So actual only possibility is modifying django-categories sourcecode. True?
Or custom new CategoryBase model, but shouldn't it be more easy?

@aktywnitu aktywnitu changed the title Posibility of slug uniquess Possibility of slug uniquess Jun 1, 2016
@PetrDlouhy
Copy link
Contributor

Why the slug field is not unique in the first place? Is there any reason for that? What is the purpose of the slug then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants