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

events landing page #107

Merged
merged 5 commits into from
Jun 19, 2024
Merged

events landing page #107

merged 5 commits into from
Jun 19, 2024

Conversation

sarahframe
Copy link

No description provided.

Copy link
Member

@haydngreatnews haydngreatnews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this generally looks fine.

There's a "more" option of making the EventsLandingPage a RoutablePage, which would allow you to have the semester pages living underneath it "properly" (ie, they'd follow if the landing page slug was changed), but as we've discussed, with the existing implementations, this is fine

cdhweb/events/models.py Outdated Show resolved Hide resolved
cdhweb/pages/models.py Outdated Show resolved Hide resolved
)

def save(self, *args, **kwargs):
self.slug = 'events'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will probably work, but get a bit dicey with revisions and things. I'd say leave it for now, but if it gives you trouble, you can follow this pattern of overriding the page form

@sarahframe sarahframe marked this pull request as ready for review June 19, 2024 02:59
@sarahframe sarahframe merged commit e3e06b8 into main Jun 19, 2024
3 of 5 checks passed
@sarahframe sarahframe deleted the feature/events-landing-bed branch June 19, 2024 21:53
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