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

Some bugfixes to incorporate #4

Merged
merged 5 commits into from
Sep 21, 2024
Merged

Conversation

GaretJax
Copy link

I'm using your branch on CMS v4 and I have encountered some issues that I have fixed worked around with the following changes.

It is meant to serve as inspiration/bug report, so feel free to rework and make yours.

`djangocms_blog/includes/blog_item.html` expects a `postcontent`
variable instead of `post_content`.
This is a workaround as the CMS expects such an attribute, but I have no
idea under what conditions it has to be set to True or False. Maybe the
MENU_TYPE of the Blog AppConfig?

I tried both True and False without any noticeable difference (at least
while keeping `BlogConfig.menu_structure` set to `MENU_TYPE_COMPLETE`).
This is necessary as GrouperModelAdmin instances are required to include
the extra grouping fields in their fieldsets.
djangocms_blog/models.py Outdated Show resolved Hide resolved
@fsbraun
Copy link
Owner

fsbraun commented Aug 23, 2024

Hey @GaretJax ! Thanks a lot!! With the exception, of the in_navigation property, I would like to merge this. When/why do you think this is needed?

@GaretJax
Copy link
Author

Mainly because it was raising an exception without :-D

I will have to try and see if it still happens if I remove that code again, and report back with more details. This will take some time however, I'm far from my computer for a couple of weeks.

@fsbraun
Copy link
Owner

fsbraun commented Aug 26, 2024

If it still raises an exception without in_navigation, can you share the traceback?

@fsbraun fsbraun merged commit 4efe3ba into fsbraun:develop-4 Sep 21, 2024
0 of 18 checks passed
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