On Fri, 2007-11-02 at 02:32 -0700, johannes wrote: > > Malcolm Tredinnick schrieb: > > On Thu, 2007-11-01 at 09:56 -0700, johannes wrote: > > > Hello, > > > > > > I'm planning to alter an existing hobby-project-site from php and xml/ > > > xslt scripts into a python web-app. > > > I just played around a little bit with django and must say I like it. > > > First, having learned php, xslt and python by myself, I must say I'm > > > definitely not a professional. > > > My existing website is a kind of database, but without a database :-). > > > Everything's stored in plain xml files. I have coded these xml-Files > > > myself and then written some php/xslt scripts which transform them to > > > html and display them in a browser. > > > Now, I want to implement a basic authentication dialogue, where people > > > can create an account log in and fill out forms which output xml-files > > > which are later on (after I reviewed them) accessible via the > > > webbrowser as the ones I have already written. This is what I like to > > > do with python and django. After this I plan to transfer the existing > > > php stuff to python/django. > > > As I'm new django and still wondering if this is the right thing for > > > what I want to do: > > > Is this possible with django? And how do I do this? > > > > You won't be using all of Django in this case. The ORM layer -- all the > > models stuff -- won't be of any use to you, since that uses a database. > > > > So, in your views, read and write your XML files just as you would > > normally (using, say, Python's standard XML libraries). You will have to > > write your own authentication layer and session management, though, > > since they, again, depend on Django's ORM. > > > > Regards, > > Malcolm > > > > -- > > Works better when plugged in. > > http://www.pointy-stick.com/blog/ > > Ah, I see. Just for clarification, wouldn't it be possible in my case > to use Django's ORM layer for the user authentication system, so I > wouldn't need to code this by myself?
You'll be needing to use a database then. Regards, Malcolm -- Despite the cost of living, have you noticed how popular it remains? http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---