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

RichTextPage admin needs clean_slug method from PageAdminForm #3

Merged
merged 1 commit into from Feb 8, 2014

Conversation

alep
Copy link
Contributor

@alep alep commented Jan 21, 2014

When saving from the admin interface, the PageAdmin calls save_model, which checks _old_slug attribute. But that attribute is added to the form in clean_slug method declared in PageAdminForm.

See: https://github.com/stephenmcd/mezzanine/blob/3.0.6/mezzanine/pages/admin.py#L144

Regards,
Ale.

abakan-zz pushed a commit that referenced this pull request Feb 8, 2014
RichTextPage admin needs clean_slug method from PageAdminForm
@abakan-zz abakan-zz merged commit 83324e9 into abakan-zz:master Feb 8, 2014
@abakan-zz
Copy link
Owner

Ale, thanks, and sorry that this took so long!

@alep
Copy link
Contributor Author

alep commented Feb 10, 2014

No problem! thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants