In implementing the "manage.py testserver" command, I've been struck
by how large django/core/management.py has gotten. It's 1730 lines
long -- and messy.
I'd like to split this into several files, turning
django.core.management into a package. The purest way of splitting the
functionality would be to give each manage.py action ("runserver",
"syncdb", etc.) its own Python module, like this:
django/
core/
management/
__init__.py
backends/
__init__.py
runserver.py
sqlall.py
syncdb.py
This would be the extent of my refactoring for now. Any strong
thoughts either way before I go ahead and implement it?
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---