On 2/10/06, Max Battcher <[EMAIL PROTECTED]> wrote: > > limodou wrote: > >> The addition of an extra line in the installed application list of > >> settings.py is only a one line change - so again, I would argue effort > > >> need. > > > > Maybe it's simple, but what about install an app? You should modify: > > > > settings.py > > urls.py > > copy media files to special directory > > > > I want these things can be done easily. For example, I download a > > third app, and want to run with it. If I could only supply some > > parameters about my environment let things easily be done, that will > > be so happy. But if there is a tool for this thing, it may need to > > modify the settings.py and urls.py automatically according to the > > parameters supplied from you. > > If I were to build such a thing, and I'm like most everyone else in that > I don't see a use for it, I would probably just simply start modifying > them in memory and then Pickling_ the Settings module and URL patterns. > > .. _Pickling: http://docs.python.org/lib/module-pickle.html > Using pickle is more harder to modify by hand. Ok, you don't know how an automatic tool is useful, so I'll ask you: is django-admin.py useful? is manage.py useful? These are also automatical tools, but they can do only separate task, but not many serials tasks. I also want you assume once you need to install many apps to an existed django site, how to do that? Maybe these apps have different directories or different deploy requirements.
So how to do that? If we has a deployment specification which describes what things need to do for an automatical deployment tool, and also supply a standard automatic tool and starndard APIs, install apps may be simple. Then writing a corrrect installation script belongs to the author of the app. For an end user, what he need to do is just supply a environment parameters, and run the installation script, so everything is automatically installed correctly. If that is true, I may laugh in sleeping. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---