Sunday, May 29, 2011

Re: Form and ForeignKey Limiting

Does Django let me do that?
I've looked everywhere in the documentation on how to do that.
Am i looking in the wrong places?

----------Desktop Browser---------
Christoffer Viken / CVi
i=0
str="kI4dJMtXAv0m3cUiPKx8H"
while i<=20:
    if i%3 and not i%4:
        print str[i],
    i=i+1

On Sun, May 29, 2011 at 9:29 AM, Ryan <ryan.osborn@live.co.uk> wrote:
> Could you not change the queryset of the ModelChoiceField in the view? That
> way you will have access to the current user from request.user.
>
> --
> 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
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate