Changes between Version 1 and Version 2 of Ticket #10686, comment 24


Ignore:
Timestamp:
Aug 9, 2022, 9:15:50 AM (2 years ago)
Author:
julian@pinabausch.org

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10686, comment 24

    v1 v2  
    11Dear community,
    22
    3 just picked this while figuring out how to build permission names dynamically.
     3just picked this up while figuring out how to build permission names dynamically.
    44
    55Here’s a new PR: https://github.com/django/django/pull/15936
     
    99* 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)
    1010* Authors and version added are still missing – I’ll add this if it has a chance to get merged.
    11 * (Changed to `class` argument to `model_name` – I believe this is more consistent with content types & auth
     11* (Changed to `class` argument to `model_name` – I believe this is more consistent with content types & auth)
Back to Top