#30740: collectstatic tries to connect to database
-------------------------------------+-------------------------------------
Reporter: PaszaVonPomiot | Owner: nobody
Type: Bug | Status: closed
Component: contrib.staticfiles | Version: 2.1
Severity: Normal | Resolution: invalid
Keywords: collectstatic | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):
* status: new => closed
* resolution: => invalid
* component: GIS => contrib.staticfiles
Comment:
I would say that querying the database at module import time is a very bad
idea, so you should find a different way to populate your choices
attribute (the choices might be better suited at the form level).
--
Ticket URL: <https://code.djangoproject.com/ticket/30740#comment:1>
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/072.f0e4f8d6b7fe7c0baa9f687b3bee61d0%40djangoproject.com.