Opened 6 years ago
Last modified 6 years ago
#30693 closed Cleanup/optimization
Refatoring django.core.management.templates — at Version 1
| Reported by: | Maaz Bin Tahir Saeed | Owned by: | Maaz Bin Tahir Saeed |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Normal | Keywords: | core management templates |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
'path' module is being used as an absolute import as well as relative import.
Proposing to remove the relative import and refactor all relative imports to absolute imports.
e.g from 'path.join(some_path)' to 'os.path.join(some_path)'
Proposed changes: https://github.com/Diaga/django/tree/ticket_30693
Note:
See TracTickets
for help on using tickets.