#32664: Cannot run makemigrations management command without a SECRET_KEY
-------------------------------------+-------------------------------------
     Reporter:  François Freitag     |                    Owner:  François
         Type:                       |  Freitag
  Cleanup/optimization               |                   Status:  closed
    Component:  Core (Other)         |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"6b0b3eafd6674305f7b09dbeb1aa0d8d8bb4df57" 6b0b3ea]:
 {{{
 #!CommitTicketReference repository=""
 revision="6b0b3eafd6674305f7b09dbeb1aa0d8d8bb4df57"
 Fixed #32664 -- Made PasswordResetTokenGenerator.secret validation lazy.

 Django apps initialization to run management command triggers the admin
 autodiscovery. Importing django.contrib.auth.tokens creates an instance
 of PasswordResetTokenGenerator which required a SECRET_KEY.

 For several management commands, the token generator is unused. It
 should only complain about a missing SECRET_KEY when it is used.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32664#comment:11>
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/073.9a4028819bcadd5614985301f1d3146a%40djangoproject.com.

Reply via email to