Skip to content

Commit

Permalink
Mostrando las categorías del votita
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Álvarez committed Nov 14, 2017
1 parent 6fa5663 commit ab7d8c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion votai_general_theme/templatetags/votainteligente_extras.py
Expand Up @@ -423,4 +423,8 @@ def get_proposal_author(popular_proposal):
@register.filter
def get_classification_from_str(classification):
from popular_proposal.forms.form_texts import TOPIC_CHOICES_DICT
return TOPIC_CHOICES_DICT.get(classification, "")
d = TOPIC_CHOICES_DICT
from votita.forms.forms import TOPIC_CHOICES_DICT
d.update(TOPIC_CHOICES_DICT)

return d.get(classification, "")

0 comments on commit ab7d8c0

Please sign in to comment.