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

Comment (by [email protected]):

 Thanks Mariusz Felisiak for being so responsive!

 I’d love to hear your comment on this:
 > Tim Graham commented that the code may be [generating faulty
 
permissions](​https://github.com/django/django/pull/6861#issuecomment-240427426).
 > I checked the behavior in a dummy project, but cannot confirm. I
 struggled to write a test for this, because it needs real migrations, real
 data etc. in the
 > database. Please let me know if there’s an example in the existing tests
 that I can check (the advanced testing docs don’t mention “defining a real
 model
 > in a testcase” either)

 There are quite a few nonsense commits – when you consider the main work
 done, please let me know. I’d like to squash the commits and add the co-
 authors before merging.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/10686#comment:28>
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/010701828bb248bf-8720d8eb-d3a7-4c61-8277-5619a0d7a0a1-000000%40eu-central-1.amazonses.com.

Reply via email to