ecf5248962
* Set a static projector title * absolute_urls for the activate links * update the projector when a slide changes (in save()) * insert the absolute_url template filter * Preview to slides * renamed is_active to is_active_slide * The SlideMixin has to come before the PersonMixin * Update list of speakers * Render Countdown via JS * Reconnect projector after connection lost * Overlays can allways be active and do not appear in the widget * Rewrote the clock as overlay
22 lines
482 B
Python
22 lines
482 B
Python
from django.db import models
|
|
|
|
|
|
class RelatedItem(models.Model):
|
|
name = models.CharField(max_length='255')
|
|
|
|
class Meta:
|
|
verbose_name = 'Related Item CHFNGEJ5634DJ34F'
|
|
|
|
def get_agenda_title(self):
|
|
return self.name
|
|
|
|
def get_agenda_title_supplement(self):
|
|
return 'test item'
|
|
|
|
def get_absolute_url(self, *args, **kwargs):
|
|
return '/absolute-url-here/'
|
|
|
|
|
|
class BadRelatedItem(models.Model):
|
|
name = models.CharField(max_length='255')
|