Adding new custom permissions in Django

前端 未结 5 1488
攒了一身酷
攒了一身酷 2021-01-29 22:46

I am using custom permissions in my Django models like this:

class T21Turma(models.Model):
    class Meta:
        permissions = ((\"can_view_boletim\", \"Can vi         


        
5条回答
  •  离开以前
    2021-01-29 23:38

    South does not track django.contrib.auth permissions. See ticket #211 for more information.

    One of the comments on the ticket suggests that using the --all option on syncdb may solve the problem.

提交回复
热议问题