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

__get__ method on AutoSlugField incrementing slug value #1

Open
bennylope opened this issue May 8, 2011 · 1 comment
Open

__get__ method on AutoSlugField incrementing slug value #1

bennylope opened this issue May 8, 2011 · 1 comment
Assignees

Comments

@bennylope
Copy link
Owner

A view referring to the stored slug value will return the correct document. However the slug value is returned as a subsequent value, e.g. "my-document" is the document slug but it is presented as "my-document-1".

@ghost ghost assigned bennylope May 8, 2011
@bmelton
Copy link

bmelton commented May 14, 2012

Having the exact same issue.

Slug shows as "title-1", but querying for slugs matching "title-1" return none, and "title" returns correctly.

This is using the AutoSlugField.

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