Re: How can I achieve this intersection ?

2007-07-08 Thread queezy
rs" Sent: Sunday, July 08, 2007 7:24 PM Subject: Re: How can I achieve this intersection ? > > On Jul 9, 5:17 am, queezy <[EMAIL PROTECTED]> wrote: >> I would like to do this in Django, using two lists that are QuerySet >> lists: >> >> mylist=mylistW

How can I achieve this intersection ?

2007-07-08 Thread queezy
I would like to do this in Django, using two lists that are QuerySet lists: mylist=mylistWHOM.intersection(mylistWHAT) When I do it in the Pythonic way above, the django parser complains with: 'QuerySet' object has no attribute 'intersection' This problem has been dogging me for a few days n

Re: How to set up full text field in models.py?

2007-06-07 Thread queezy
Thanks Joseph! That is what I was doing, but I wondered if there was a better way. Cheers! -Warren - Original Message - From: "Joseph Heck" <[EMAIL PROTECTED]> To: Sent: Thursday, June 07, 2007 6:02 PM Subject: Re: How to set up full text field in models.py? > > Nothing built in

Re: Another Django Site with Source Code

2007-06-05 Thread queezy
Wow! Thanks Kelvin! That's awesome!! Sincerely, -Warren - Original Message - From: "Kelvin Nicholson" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 05, 2007 10:14 PM Subject: Another Django Site with Source Code > > Dear all Djangoers: > > When I first started learning Django I fou

Re: Newforms and Hidden Fields - verifying POST data

2007-04-23 Thread queezy
Wow! Simon, thanks for the very specific code - I was having difficulty with pickle and your sample code brought everything together so perfectly. A big thanks to you! -Warren - Original Message - From: "Simon Willison" <[EMAIL PROTECTED]> To: "Django users" Sent: Monday, April 23,

Re: Django app serves PDFs but browser doesn't render them

2007-04-05 Thread queezy
#x27;s middleware, >> I have provided an additional middleware which deletes Vary in times >> when IE might break because of it. >> FixIEVaryBugMiddleware is available >> athttp://www.djangosnippets.org/snippets/157/ >> >> Hope this helps you, >> >>

Re: Django app serves PDFs but browser doesn't render them

2007-04-05 Thread queezy
; when IE might break because of it. > FixIEVaryBugMiddleware is available at > http://www.djangosnippets.org/snippets/157/ > > Hope this helps you, > > Mike Axiak > > On Apr 4, 11:41 pm, queezy <[EMAIL PROTECTED]> wrote: >> Ah, the light just went on (finally

Re: Django app serves PDFs but browser doesn't render them

2007-04-04 Thread queezy
app serves PDFs but browser doesn't render them > > On Wed, 2007-04-04 at 18:46 -0700, queezy wrote: >> Hi Malcolm! >> >> Actually I tried the following (and gave Ned credit for solving half of >> my >> problem): >> >> from django.http i

Re: Django app serves PDFs but browser doesn't render them

2007-04-04 Thread queezy
Wednesday, April 04, 2007 6:50 PM Subject: Re: Django app serves PDFs but browser doesn't render them > > On Wed, 2007-04-04 at 18:46 -0700, queezy wrote: >> Hi Malcolm! >> >> Actually I tried the following (and gave Ned credit for solving half of >> my >

Re: Django app serves PDFs but browser doesn't render them

2007-04-04 Thread queezy
t; is undefined. So I am not sure what to do at this stage. Sorry for any confusion. Cheers! -Warren - Original Message - From: "Malcolm Tredinnick" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 04, 2007 6:13 PM Subject: Re: Django app serves PDFs but browser doesn

Re: Django app serves PDFs but browser doesn't render them

2007-04-04 Thread queezy
mp; post your view method if there > are still problems. > > -rob > > On Apr 2, 9:02 pm, "oggie rob" <[EMAIL PROTECTED]> wrote: >> Try looking at Firefox's "Page Info". That will tell you whether >> Django or Firefox is the issue. It sho

Re: Django app serves PDFs but browser doesn't render them

2007-04-02 Thread queezy
esponse Here pdfbytes are the actual bytes of the PDF file. With the Content-Disposition line, Firefox will display the Save As dialog to save the file someplace. Without that line, the PDF is displayed in the browser. --Ned. Malcolm Tredinnick wrote: On Mon, 2007-04-02 at 18:02 -07

Re: Django app serves PDFs but browser doesn't render them

2007-04-02 Thread queezy
displayed in the browser. --Ned. Malcolm Tredinnick wrote: On Mon, 2007-04-02 at 18:02 -0700, queezy wrote: Hi All! We have a Django application that uses a form to allow users to select offices and it sends them off to a pdf. At the present time we are using FireFox on a Linux b

Re: Django app serves PDFs but browser doesn't render them

2007-04-02 Thread queezy
, April 02, 2007 6:35 PM Subject: Re: Django app serves PDFs but browser doesn't render them > > On Mon, 2007-04-02 at 18:02 -0700, queezy wrote: >> Hi All! >> >> We have a Django application that uses a form to allow users to select >> offices and it sends t

Django app serves PDFs but browser doesn't render them

2007-04-02 Thread queezy
Hi All! We have a Django application that uses a form to allow users to select offices and it sends them off to a pdf. At the present time we are using FireFox on a Linux box and we are just using the Django loopback server for the time being. This means that we don't have a secondary, or ev

Re: Using a numeric POST in Newforms to serve a URL (You'd think that this would be easy. )

2007-04-01 Thread queezy
at this would be easy. ) > > are you just looking for how to access post variables? > > request.POST is a dictionary that stores the post variables. > > if you want to access some id you post to the view you just do something > like > > if request.POST: >request

Re: Using a numeric POST in Newforms to serve a URL (You'd think that this would be easy. )

2007-04-01 Thread queezy
Hi! I think (but I could be mistaken) that the article suggested on this is about going to different URLs. However, I want to just use newforms and, based on a simple form, POST a numeric. Upon arrival at the view (which is the SAME view for all form choices) the user is served up a PDF base

Problem figuring out generic view with drop down box

2007-04-01 Thread queezy
Hi! I have this: http://somewebaddress/"; method="POST"> and then this: Click here to choose 100 Dummy Entry 1 106 Dummy Entry 2 107 Dummy Entry 3

Re: Django-0.96 hosting available at WebFaction

2007-03-24 Thread queezy
WOW! Cool, Remi - I'm already a member (a12007 is my ID) and I will activate Django later today!! Cheers! -Warren - Original Message - From: "Remi" <[EMAIL PROTECTED]> To: "Django users" Sent: Saturday, March 24, 2007 10:47 AM Subject: ANN: Django-0.96 hosting available at WebFacti