how do you pass the request object to models?
-richard


On 5/19/08, James Bennett <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, May 19, 2008 at 3:24 PM, enri57ar <[EMAIL PROTECTED]> wrote:
> > How access to request object within models ?
>
> Pass it as an argument the same as any other value. Magical hacks to
> try to make it available otherwise are likely to land you in trouble
> later on.
>
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of
> correct."
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to