> If it's common advice to make apps portable and bundle urls along with > an app, shouldn't manage.py startapp also drop in a default urls.py > file?
-1. While Django is a web framework it would seem logical for a urls.py to be created with startapp. However, I am sure the original design decision was that it would tie this to much to a HttpRequest object being present which isn't always the case. IMHO, I think that having a urls.py created automatically is beneifical and it shouldn't stop there. A forms.py is very useful and once newforms-admin is merged in an admin.py. I feel that if something like this should happen it will happen in other skeletons. Perhaps startapp should take an argument like http that would create a skeleton based on things needed in that environment. -- Brian Rosner http://oebfare.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 -~----------~----~----~----~------~----~------~--~---
