#29748: Add AUTH_GROUP_MODEL setting to swap the group model ------------------------------+----------------------------------------- Reporter: damoncheng | Owner: damoncheng Type: New feature | Status: assigned Component: contrib.auth | Version: dev Severity: Normal | Resolution: Keywords: | Triage Stage: Someday/Maybe Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+----------------------------------------- Comment (by Hossein ):
defining AUTH_GROUP_MODEL in settings was a good solution, but apparently it needs some work to get prioritized. developers face problem when making a custom group model, as they want to add fields and methods to Group model https://stackoverflow.com/questions/2181039/how-do-i-extend-the-django- group-model Meanwhile, I suggest to make Group model get inherited from AbstractGroup. In this way, one can make a CustomGroup (AbstarctGroup) in their code. I made a PR to handel this: https://github.com/django/django/pull/17819 -- Ticket URL: <https://code.djangoproject.com/ticket/29748#comment:13> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018d73986016-eee8872f-1117-4d09-8d3d-8919f10c81e4-000000%40eu-central-1.amazonses.com.