[calendar] Remove mood and video by default
This commit is contained in:
@ -1293,6 +1293,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
|
|||||||
"VideoGame",
|
"VideoGame",
|
||||||
"Book",
|
"Book",
|
||||||
"Mood",
|
"Mood",
|
||||||
|
"Video",
|
||||||
]
|
]
|
||||||
|
|
||||||
MEDIA_EMOJI = {
|
MEDIA_EMOJI = {
|
||||||
@ -1303,9 +1304,10 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
|
|||||||
"VideoGame": "🎮",
|
"VideoGame": "🎮",
|
||||||
"Book": "📚",
|
"Book": "📚",
|
||||||
"Mood": "🥰",
|
"Mood": "🥰",
|
||||||
|
"Video": "🎬",
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_EXCLUDE = ["Task"]
|
DEFAULT_EXCLUDE = ["Task", "Mood", "Video"]
|
||||||
|
|
||||||
MONTH_COLORS = [
|
MONTH_COLORS = [
|
||||||
"#db7a7a", # Jan
|
"#db7a7a", # Jan
|
||||||
@ -1360,7 +1362,7 @@ class ScrobbleCalendarView(LoginRequiredMixin, TemplateView):
|
|||||||
timestamp__date__lte=month_end,
|
timestamp__date__lte=month_end,
|
||||||
media_type__in=active_types,
|
media_type__in=active_types,
|
||||||
)
|
)
|
||||||
.select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood")
|
.select_related("task", "birding_location", "food", "trail", "video_game", "book", "mood", "video")
|
||||||
.order_by("timestamp")
|
.order_by("timestamp")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user