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

Avoid new slug generation while update (model.save) #13

Open
shrikantr-iprogrammer opened this issue Feb 5, 2018 · 1 comment
Open

Comments

@shrikantr-iprogrammer
Copy link

First I like to thankyou for create this beautiful plugin.
When we do a insert operation it works fine. But at the time of update where I'm using findOne followed by Save it changes the slug again. I don't want slug fields to be changed ever. So can we avoid this?

@YuriGor
Copy link

YuriGor commented Oct 25, 2018

There is a permanent flag, but it's not documented.
You can see some docs for this flag in my fork's readme - it should work same in original plugin too.

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