2008/9/28 Alessandro Ronchi <[EMAIL PROTECTED]>:
> 2008/9/26 Orne <[EMAIL PROTECTED]>:
>>
>> This example doesn't work for me:
>> Error: 'super' object has no attribute 'filter'
I use this code (it works with django 1.0):
def queryset(self, request):
# Limit the queryset to some
2008/9/26 Orne <[EMAIL PROTECTED]>:
>
> This example doesn't work for me:
> Error: 'super' object has no attribute 'filter'
I use this code (it works with django 1.0):
def queryset(self, request):
# Limit the queryset to some subset based on the value of user.
qs =
This example doesn't work for me:
Error: 'super' object has no attribute 'filter'
At the Django Wiki (http://code.djangoproject.com/wiki/
NewformsAdminBranch) I found this:
class BookAdmin(admin.ModelAdmin):
def queryset(self, request):
"""
Filter based on the current user.
On Sep 11, 11:51 am, Simon Willison <[EMAIL PROTECTED]> wrote:
> On Sep 11, 5:23 pm, Glimps <[EMAIL PROTECTED]> wrote:
>
> > I would like torestrictusersto thedatathey can see/modify/
> > delete on a table. I have a Reservation table that holds reservations
> > for multiple banners of
On Sep 11, 5:23 pm, Glimps <[EMAIL PROTECTED]> wrote:
> I would like to restrict users to the data they can see/modify/
> delete on a table. I have a Reservation table that holds reservations
> for multiple banners of Restaurant chain. I don't want the user from
> franchiseX to be able to
Hi,
I would like to restrict users to the data they can see/modify/
delete on a table. I have a Reservation table that holds reservations
for multiple banners of Restaurant chain. I don't want the user from
franchiseX to be able to see/confirm reservations from franchiseY.
Since all the
6 matches
Mail list logo