Django

Code

Ticket #4732 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

newforms-admin branch: utils.py in wrong package

Reported by: _@student.ethz.ch Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: SVN Keywords: admindocs admin interface code cleanup
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

Description

newforms-admin branch:

in the newforms-admin branch, the admin documentation has been taken out of django.contrib.admin and put into django.contrib.admindocs. the file utils.py ("Misc. utility functions/classes for admin documentation generator.") however still lives in the django.contrib.admin package and is imported from there by the admindocs package.

because this utils.py is only used by admindocs (and not by the admin interface itself) I suggest that it should be moved to admindocs as well and the import statement in views.py in admindocs changed accordingly to reflect this change.

if there are however any plans to use it from within the admin interface as well at some point in the future, then I suggest that the line "Misc. utility functions/classes for admin documentation generator" is changed to somewhat more general.

Attachments

Change History

06/30/07 19:52:21 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [5570]) newforms-admin: Fixed #4732 -- Moved admin.utils to admindocs.utils. Thanks, _@student.ethz.ch


Add/Change #4732 (newforms-admin branch: utils.py in wrong package)




Change Properties
Action