Ejemplo n.º 1
0
 def get_context_data(self, **kwargs):
     context = super(SkillListView, self).get_context_data(**kwargs)
     context.update(
         sorting_context(Skill, 'name',
                         ['name', 'characteristic', 'skill_type', 'index'],
                         ['index'], self.request))
     return context
Ejemplo n.º 2
0
 def get_context_data(self, **kwargs):
     context = super(TalentListView, self).get_context_data(**kwargs)
     context.update(
         sorting_context(
             Talent, 'name',
             ['name', 'activation', 'ranked', 'force_sensitive', 'index'],
             ['index'], self.request))
     return context
Ejemplo n.º 3
0
 def get_context_data(self, **kwargs):
     context = super(CreatureWeaponListView,
                     self).get_context_data(**kwargs)
     context.update(
         sorting_context(CreatureWeapon, 'name', [
             'name', 'weapon_skill', 'damage', 'critical', 'weapon_range',
             'index'
         ], ['index'], self.request))
     return context
Ejemplo n.º 4
0
 def get_context_data(self, **kwargs):
     context = super(SpeciesListView, self).get_context_data(**kwargs)
     context.update(
         sorting_context(Species, 'name', ['name', 'player_race', 'index'],
                         ['index'], self.request))
     return context
Ejemplo n.º 5
0
 def get_context_data(self, **kwargs):
     context = super(AbilityListView, self).get_context_data(**kwargs)
     context.update(
         sorting_context(Ability, 'name', ['name', 'description', 'index'],
                         ['index'], self.request))
     return context
Ejemplo n.º 6
0
 def get_context_data(self, **kwargs):
   context = super(CreatureListView, self).get_context_data(**kwargs)
   context.update(sorting_context(Creature, 'name', ['name', 'level', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 7
0
 def get_context_data(self, **kwargs):
   context = super(CreatureWeaponListView, self).get_context_data(**kwargs)
   context.update(sorting_context(CreatureWeapon, 'name', ['name', 'weapon_skill', 'damage', 'critical', 'weapon_range', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 8
0
 def get_context_data(self, **kwargs):
   context = super(SpeciesListView, self).get_context_data(**kwargs)
   context.update(sorting_context(Species, 'name', ['name', 'player_race', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 9
0
 def get_context_data(self, **kwargs):
   context = super(AbilityListView, self).get_context_data(**kwargs)
   context.update(sorting_context(Ability, 'name', ['name', 'description', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 10
0
 def get_context_data(self, **kwargs):
   context = super(TalentListView, self).get_context_data(**kwargs)
   context.update(sorting_context(Talent, 'name', ['name', 'activation', 'ranked', 'force_sensitive', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 11
0
 def get_context_data(self, **kwargs):
   context = super(SkillListView, self).get_context_data(**kwargs)
   context.update(sorting_context(Skill, 'name', ['name', 'characteristic', 'skill_type', 'index'], ['index'], self.request))
   return context 
Ejemplo n.º 12
0
 def get_context_data(self, **kwargs):
     context = super(CreatureListView, self).get_context_data(**kwargs)
     context.update(
         sorting_context(Creature, 'name', ['name', 'level', 'index'],
                         ['index'], self.request))
     return context