Changes between Initial Version and Version 1 of Ticket #34608, comment 3


Ignore:
Timestamp:
May 3, 2024, 8:26:54 AM (8 months ago)
Author:
Michael

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34608, comment 3

    initial v1  
    1 Hi, there is not an error or bug in my code. Django generates code that cannot run. My code runs fine. Everytime I generate migrations, I have to manually edit them so they are runnable. This is a bug in Django.
     1Hi,
     2With regards to the 2 solutions:
     31. My code runs fine. There is not an error or bug in my code. Django generates this line:
     4{{{
     5bases=(core.djpp.permpp.PermissionsMixin_factory.<locals>.PermissionsMixin, models.Model, djpp.modelpp.NiceNameMixin),
     6}}}
     7Python will always fail the dot lookup of: `.PermissionsMixin_factory.<locals>.PermissionsMixin`+
     82. Happens event if I don't squash migrations, i.e. rebuild them all from scratch.
     9
     10Everytime I generate migrations, I have to manually edit them so they are runnable. This is a bug in Django.
Back to Top