#34608: Migrations generates code that it can't execute
---------------------------------+--------------------------------------
     Reporter:  Michael          |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  new
    Component:  Migrations       |                  Version:  4.0
     Severity:  Normal           |               Resolution:
     Keywords:  make migrations  |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Michael):

 Changing this line from:
 {{{
 bases=(core.djpp.permpp.PermissionsMixin_factory.<locals>.PermissionsMixin,
 models.Model, djpp.modelpp.NiceNameMixin),
 }}}
 to:
 {{{
 bases=(models.Model, djpp.modelpp.NiceNameMixin),
 }}}
 Make it work fine, since `PermissionsMixin` does not define any DB fields,
 is just run time behavior, but I thought this issue might highlight an
 underlying problem.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34608#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701886dacad65-4fc2fcc5-df85-4a82-b5d9-8882eeba9f7f-000000%40eu-central-1.amazonses.com.

Reply via email to