Hello, I have noticed that the available permissions list, which can be set to users/groups in the admin doesn't match my models. This happened after a few standard migrations, where some models were renamed, some deleted, and new models were added. The list is basically not updated, and represents a mixed state of the db, before and after the above migrations.
manage.py inspectdb show the CORRECT state of the database. I have tried to follow the following solution, which basically didn't do much. from django.contrib.auth.management import create_permissionsfrom django.apps import apps create_permissions(apps.get_app_config('my_app_name')) I will appreciate your help. Best, Yevgeny. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/50ab1a8f-40f8-4a9f-b2da-6b0f0f6f8849%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.