opus-magnum steam collection linked to event in admin
This commit is contained in:
@@ -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,
|
||||||
)
|
# )
|
||||||
|
|||||||
Reference in New Issue
Block a user