Removed radios and listening recording for anonymous users as it was buggy
This commit is contained in:
parent
a2dcae0bbf
commit
4325b1be4f
11 changed files with 33 additions and 98 deletions
|
|
@ -55,8 +55,6 @@ class RadioSession(models.Model):
|
|||
related_object = GenericForeignKey('related_object_content_type', 'related_object_id')
|
||||
|
||||
def save(self, **kwargs):
|
||||
if not self.user and not self.session_key:
|
||||
raise ValidationError('Cannot have both session_key and user empty for radio session')
|
||||
self.radio.clean(self)
|
||||
super().save(**kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue