Exemple #1
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'description', 'check', 'action',
         'try_again', 'special', 'synergy', 'restriction', 'untrained')
     super(SkillVariant, self).save(*args, **kwargs)
Exemple #2
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'description', 'benefit', 'special', 'normal')
     super(Feat, self).save(*args, **kwargs)
Exemple #3
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'requirements', 'advancement', 'class_features')
     super(CharacterClassVariant, self).save(*args, **kwargs)
Exemple #4
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'description')
     super(Spell, self).save(*args, **kwargs)
Exemple #5
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'body')
     super(Rule, self).save(*args, **kwargs)
Exemple #6
0
 def save(self, *args, **kwargs):
     # TODO remove params based on "only for"
     update_html_cache_attributes(self, 'description')
     super(Item, self).save(*args, **kwargs)
Exemple #7
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'description', 'combat', 'racial_traits')
     super(Race, self).save(*args, **kwargs)
Exemple #8
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'description', 'combat')
     super(Monster, self).save(*args, **kwargs)
Exemple #9
0
 def save(self, *args, **kwargs):
     update_html_cache_attributes(self, 'short_description')
     super(CharacterClass, self).save(*args, **kwargs)