Add a flag to events to hide them from the events overview#2108
Closed
aTrueYety wants to merge 7 commits into
Closed
Add a flag to events to hide them from the events overview#2108aTrueYety wants to merge 7 commits into
aTrueYety wants to merge 7 commits into
Conversation
0xSpecter
approved these changes
Mar 12, 2026
|
|
||
| if TYPE_CHECKING: | ||
| from rest_framework.request import Request | ||
|
|
Contributor
There was a problem hiding this comment.
burde ikke trenge denne ifen siden type hinting eval blir forsinka av from __future__ import annotations
hei98
approved these changes
Mar 16, 2026
hei98
left a comment
Contributor
There was a problem hiding this comment.
Koden ser bra ut og det fungerer:)
robines
requested changes
Mar 19, 2026
| operations = [ | ||
| migrations.AddField( | ||
| model_name='event', | ||
| name='is_hidden', |
Member
There was a problem hiding this comment.
Hvorfor kan ikke status feltet i Event brukes til dette formålet? Der kan man sette status til "privat".
Status sjekkes forsåvidt ikke i homepage, fikses i denne PRen.
Det mangler også et felt i frontend admin til å sette status
Contributor
Author
|
Restarted this in #2144 due to conflicting changes from other issue |
robines
deleted the
erikhoff00/web-129-add-a-flag-to-events-to-hide-them-from-the-events-overview
branch
June 19, 2026 21:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.