forked from rc/aircox
check section playlist
This commit is contained in:
@ -132,7 +132,7 @@ class DiffusionAdmin(admin.ModelAdmin):
|
||||
We want rerun to redirect to the given object.
|
||||
"""
|
||||
obj = super().get_object(*args, **kwargs)
|
||||
if obj.initial:
|
||||
if obj and obj.initial:
|
||||
obj = obj.initial
|
||||
return obj
|
||||
|
||||
|
@ -78,6 +78,7 @@ class Track(Nameable):
|
||||
)
|
||||
tags = TaggableManager(
|
||||
verbose_name=_('tags'),
|
||||
blank=True,
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
|
Reference in New Issue
Block a user