On 4/1/07, queezy <[EMAIL PROTECTED]> wrote:
>
> Hi Anders!
>
> Thanks a lot!!  This is exactly what I need.
>
> Sincerely,
>
> -Warren

Glad to help :)

~ Anders

>
> ----- Original Message -----
> From: "anders conbere" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, April 01, 2007 11:54 AM
> Subject: Re: Using a numeric POST in Newforms to serve a URL (You'd think
> that 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.POST['id']
> >
> > On 4/1/07, queezy <[EMAIL PROTECTED]> wrote:
> >>
> >> 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 based on
> >> the
> >> numeric sent.  So if the user clicks on the form for a report for Office
> >> 110, a "110" is posted and the user is shown 110.pdf.
> >>
> >> So it is dead simple, but seemingly difficult to accomplish in Django.
> >>
> >> Is there a pretty straightforward way to just POST a numeric and, based
> >> on
> >> that, serve a URL?
> >>
> >> Thanks a lot!
> >>
> >> -Warren
> >>
> >>
> >> >
> >>
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to