#10686: Add class name interpolation in Meta.permissions codenames
-------------------------------------+-------------------------------------
     Reporter:  faldridge            |                    Owner:  sergei-
                                     |  maertens
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  permissions          |             Triage Stage:  Accepted
  inheritance                        |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by sergei-maertens):

 Note to self: the unit test should check that the correct permissions are
 created in the db, per:

 https://github.com/django/django/pull/6861#issuecomment-240427426
 > Worked on some cosmetic edits: http://dpaste.com/19R4PZE but I also
 noticed that this doesn't seem to create the correct permission in the
 database. For the pizza example in the docs I see things like
 "can_deliver_base" in the database.

--
Ticket URL: <https://code.djangoproject.com/ticket/10686#comment:22>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.95ec9546e0b94a90e3a167dba295dca6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to