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

Allow use with non-Page models #43 #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DylannCordel
Copy link

@DylannCordel DylannCordel commented Jul 16, 2024

Allow devs to use this module on non Page Model (Snippet Models). See #43

It would be preferable to SeoMixin into SeoMixinForPage and SeoMixinBase into SeoMixinForSnippet (or ForModel) but it will introduces a changes which will break backward compatibility.

But maybe we could add a DeprectationWarning to begin to warn users if this PR is accepted ?

@vsalvino
Copy link
Contributor

Hi @DylannCordel - another refactor (not related to use on snippets, but related to splitting out into mixins) is going in via #71 . Could you take a look at that and see if it will help? You may need to rebase once that is merged in.

@DylannCordel
Copy link
Author

Hi @vsalvino
Thanks for the news. I'll check it this week to add this feature on a project i'm working on and I'll comment to feedback and I'll rebase this PR (or close if it it's now useless).

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.

2 participants