Django ChoiceField

First I recommend you as @ChrisHuang-Leaver suggested to define a new file with all the choices you need it there, like choices.py: STATUS_CHOICES = ( (1, _(“Not relevant”)), (2, _(“Review”)), (3, _(“Maybe relevant”)), (4, _(“Relevant”)), (5, _(“Leading candidate”)) ) RELEVANCE_CHOICES = ( (1, _(“Unread”)), (2, _(“Read”)) ) Now you need to import them on the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)