Opened 12 years ago
Closed 12 years ago
#21714 closed Cleanup/optimization (fixed)
Move LazySettings._configure_logging to django.setup
| Reported by: | Aymeric Augustin | Owned by: | Claude Paroz |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Normal | Keywords: | app-loading |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Since Django now has an explicit entrypoint, there's no reason to handle logging in the settings anymore.
Change History (7)
comment:1 by , 12 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 12 years ago
| Has patch: | set |
|---|
comment:4 by , 12 years ago
Could you define configure_logging in another module, for example in django.utils.logging?
django.__init__ should only put the pieces together.
comment:7 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/2132