Package madrona :: Package screencasts :: Module models :: Class YoutubeScreencast
[hide private]

Class YoutubeScreencast

source code

django.contrib.gis.db.models.Model --+
                                     |
                                    YoutubeScreencast

Instance Methods [hide private]
 
__unicode__(self) source code
Class Variables [hide private]
  youtube_id = models.CharField(max_length= 24, unique= True, he...
  image = models.ImageField(upload_to= settings.SCREENCAST_IMAGES)
  title = models.CharField(max_length= 100)
  description = models.CharField(max_length= 350)
  selected_for_help = models.BooleanField(default= False, help_t...
  IMPORTANCE_CHOICES = 1, '1', (2, '2'), (3, '3'), (4, '4'), (5,...
  importance = models.IntegerField(choices= IMPORTANCE_CHOICES, ...
  video_width = models.IntegerField(default= 853)
  video_height = models.IntegerField(default= 505)
  play_hd = models.BooleanField(default= True)
Class Variable Details [hide private]

youtube_id

Value:
models.CharField(max_length= 24, unique= True, help_text= "Youtube vid\
eo id (hint: http://www.youtube.com/watch?v=<YOUTUBE_VIDEO_ID>)")

selected_for_help

Value:
models.BooleanField(default= False, help_text= "Display this screencas\
t on the main help page?")

IMPORTANCE_CHOICES

Value:
1, '1', (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8\
, '8'), (9, '9'), (10, '10')

importance

Value:
models.IntegerField(choices= IMPORTANCE_CHOICES, blank= True, null= Tr\
ue)