opus-magnum steam collection linked to event in admin

This commit is contained in:
2026-10-23 18:03:33 +02:00
parent b5716d6dcd
commit cf51b187d2
2 changed files with 17 additions and 8 deletions
+10 -1
View File
@@ -95,7 +95,16 @@ class SteamCollectionAdmin(admin.ModelAdmin):
fieldsets = ( fieldsets = (
( (
"Basic Information", "Basic Information",
{"fields": ("steam_id", "url", "title", "description", "is_active")}, {
"fields": (
"event",
"steam_id",
"url",
"title",
"description",
"is_active",
)
},
), ),
("Author Information", {"fields": ("author_name", "author_steam_id")}), ("Author Information", {"fields": ("author_name", "author_steam_id")}),
( (
@@ -378,10 +378,10 @@ SENTRY_DSN = (
import sentry_sdk # noqa import sentry_sdk # noqa
sentry_sdk.init( # sentry_sdk.init(
dsn=SENTRY_DSN, # dsn=SENTRY_DSN,
# Set traces_sample_rate to 1.0 to capture 100% # # Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing. # # of transactions for tracing.
traces_sample_rate=1.0, # traces_sample_rate=1.0,
environment=SENTRY_ENVIRONMENT, # environment=SENTRY_ENVIRONMENT,
) # )