Przemyslaw Wroblewski wrote:
> When I started using django I create sth like this in my views:
>
> Somemodel.objects.filter(user = request.user)
>
> But I don't like that scheme, I just want to create something similar
> to rails like:
>
> "current_user.somemodel.find_by_name('x')"
You want th
Hi,
I've some rails experience before with several projects and I wonder
how can I accomplish same behavior in django and if it's a good way to
proceed.
When I started using django I create sth like this in my views:
Somemodel.objects.filter(user = request.user)
But I don't like that scheme, I
2 matches
Mail list logo