X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/cd8813f7be8e11b18b7e23d217dd6404e26d07d4..b2789efe30a42c1c9780c6cf132d905ea7e41c87:/curriculum/views.py?ds=inline diff --git a/curriculum/views.py b/curriculum/views.py index e5d30c7..b643ae2 100644 --- a/curriculum/views.py +++ b/curriculum/views.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 from django.db import models from django.views.generic import DetailView, ListView from django.utils.datastructures import SortedDict @@ -45,9 +46,9 @@ class CompetencesView(ListView): if not (comp_ids or sect_ids): if level: - errors["competences"] = "Please!" + errors["competences"] = u"Proszę wybrać kompetencje z listy." elif level is None: - errors["level"] = "Please!" + errors["level"] = u"Proszę wybrać poziom edukacyjny." else: chosen_competences = SortedDict() for competence in Competence.objects.filter(