On 2/10/06, Maniac <[EMAIL PROTECTED]> wrote:
>
> limodou wrote:
>
> >please see another thread to see what I really want, what I want not
> >just READ but WRITE and SAVING.
> >
> >
> This is exactly what I meant. You can use your own config format, read
> it, write it and save it. Settings.py would just import its data for the
> rest of the Django.
>
If just for myself, I'v finished it in djangoinstall project. And it
can parsing settings.py and urls.py, and also can change the content
of them, then saving the modified content keeping as possible as
similar with original files, even preserving the comments. I'v done
these things. But this way also need to modify the settings.py by
hand, may be you need do it only once. But is someone else also want
to do that, how does he need to do? Just like or somethings others?
Why doesnot django provide a standard why for these things? And if the
one don't like this, he can choose to use or not to use.

Why I propose this thing, because I hope django can permit doing these
things more simple. And let others feel simple and comfortable. Assume
that, you or me or he has developed some apps, and I want to install
it in my box, so if the author also provide a automatic installation
script for that, what I need to do is just pass some environment
parameters and run:

python install.py parameters or parameters.ini

Everything will be done correctly and easily. Of cause, you may won't
like to using intall.py, you want to type every command yourself, and
modify the configuration files by hand.

I'v also admit that may be my proposal is not very clearly express my
opinion, and I also start a new topic about it. But maybe simplifying
the processing of configuration is a big problem I think. Or you also
can propose a good solution. I want a easy way but not a hack way.
Maybe this thing it only suit for me, I don't know.
--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to