Re: python sql query in django

2009-02-25 Thread Diez B. Roggisch
for a introduction to the multitude of query-options. I doubt that your rather simple m:n-relationship is covered there. s/is/isn't/ Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: python sql query in django

2009-02-25 Thread Diez B. Roggisch
I think Django is fabulous for the admin-interface, a simple text search and template inheritance. I will use Django for all of those. What I'm not getting an answer to and cannot find an example of is a complex search, where I have to retrieve data from multiple tables, combine the data, remove

Re: python sql query in django

2009-02-25 Thread Bruno Desthuilliers
May a écrit : On Feb 24, 10:36 am, "Diez B. Roggisch" wrote: Thanks for all your suggestions. From what I've experienced in Django and now that I know a little more about how Python functions, I will probably use a combination of PHP and Django, instead of trying to get Python to do the web po

Re: python sql query in django

2009-02-24 Thread May
On Feb 24, 10:36 am, "Diez B. Roggisch" wrote: > > Thanks for all your suggestions.  From what I've experienced in Django > > and now that I know a little more about how Python functions, I will > > probably use a combination of PHP and Django, instead of trying to get > > Python to do the web por

Re: python sql query in django

2009-02-24 Thread Diez B. Roggisch
Thanks for all your suggestions. From what I've experienced in Django and now that I know a little more about how Python functions, I will probably use a combination of PHP and Django, instead of trying to get Python to do the web portion of my project. Thanks again! That sounds like the wors

Re: python sql query in django

2009-02-24 Thread May
On Feb 23, 12:48 pm, Bruno Desthuilliers wrote: > May a écrit : > (snip) > > > I may not stay with Django. > > Nope, but your question was about Django. > > > I am seriously looking for whether python > > can read data from a relational database > > Of course - as long as there's a Python adapter

Re: python sql query in django

2009-02-23 Thread Bruno Desthuilliers
May a écrit : (snip) I may not stay with Django. Nope, but your question was about Django. I am seriously looking for whether python can read data from a relational database Of course - as long as there's a Python adapter for your DB. and send to an html template Of course - as long as

Re: python sql query in django

2009-02-23 Thread Philip Semanchuk
On Feb 23, 2009, at 4:34 PM, Diez B. Roggisch wrote: I may not stay with Django. I am seriously looking for whether python can read data from a relational database and send to an html template or do I always need some kind of wrapper/interface such as Rails or Django? If this is the wrong g

Re: python sql query in django

2009-02-23 Thread Diez B. Roggisch
I may not stay with Django. I am seriously looking for whether python can read data from a relational database and send to an html template or do I always need some kind of wrapper/interface such as Rails or Django? If this is the wrong group to ask that question could you recommend another pyth

Re: python sql query in django

2009-02-23 Thread May
On Feb 23, 1:00 pm, Steve Holden wrote: > May wrote: > > On Feb 23, 11:31 am, Bruno Desthuilliers > > wrote: > >> May a écrit : > > >>> I have three tables: > >> Actually - from Python's code POV - three Model classes. And actually, > >> since there's a very active, friendly and helpful django gr

Re: python sql query in django

2009-02-23 Thread Steve Holden
May wrote: > On Feb 23, 11:31 am, Bruno Desthuilliers > wrote: >> May a écrit : >> >>> I have three tables: >> Actually - from Python's code POV - three Model classes. And actually, >> since there's a very active, friendly and helpful django group on >> googlegroups, you'd be better reposting your

Re: python sql query in django

2009-02-23 Thread May
On Feb 23, 11:31 am, Bruno Desthuilliers wrote: > May a écrit : > > > I have three tables: > > Actually - from Python's code POV - three Model classes. And actually, > since there's a very active, friendly and helpful django group on > googlegroups, you'd be better reposting your question there. >

Re: python sql query in django

2009-02-23 Thread Bruno Desthuilliers
May a écrit : I have three tables: Actually - from Python's code POV - three Model classes. And actually, since there's a very active, friendly and helpful django group on googlegroups, you'd be better reposting your question there. (snip Django's ORM related question) -- http://mail.python