+# -*- coding: utf-8
from django.db import models
from django.views.generic import DetailView, ListView
from django.utils.datastructures import SortedDict
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(