#26745: Add the ability to customize user creation in the createsuperuser command ------------------------------+-------------------------------------- Reporter: Lyra2108 | Owner: nobody Type: New feature | Status: new Component: contrib.auth | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 ------------------------------+--------------------------------------
Comment (by timgraham): Oh, I guess you're using permissions in a somewhat unusual way since `ModelBackend` defines superusers as having all permissions. Is the likelihood of the `post_save` signal failing really so large that you must perform actions in the same transaction? See also #24228 which questions whether or not `pre_save` and `post_save` should be in the transaction. -- Ticket URL: <https://code.djangoproject.com/ticket/26745#comment:7> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.73c3f925fb8cf8b1783378d87209c05d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.