Changes between Version 1 and Version 2 of Ticket #10686, comment 24
- Timestamp:
- Aug 9, 2022, 9:15:50 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10686, comment 24
v1 v2 1 1 Dear community, 2 2 3 just picked this while figuring out how to build permission names dynamically.3 just picked this up while figuring out how to build permission names dynamically. 4 4 5 5 Here’s a new PR: https://github.com/django/django/pull/15936 … … 9 9 * 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) 10 10 * 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)