That's great
Thank you very very much Helton
Le jeudi 18 septembre 2014 15:44:44 UTC+2, Helton Alves a écrit :
>
> I think this will resolve your problem. :D
>
> in admin, you use the get_queryset.
> in this case return only items of user, you can change this for return the
> items that user
I think this will resolve your problem. :D
in admin, you use the get_queryset.
in this case return only items of user, you can change this for return the
items that user have permission.
class MyModelAdmin(admin.ModelAdmin):
def queryset(self, request):
qs = super(MyModelAdmin,
Hy Elton,
In fact each image belongs to an album.
Let us say I have three album ALB1 ALB2 ALB3
In the admin form, when I add an image I can attach it to either of each
Albums
or all the three if I want
What I would like is show the album list for a particuliar user.
For example Tom could only
I didn't understand very well.
would you like the image of the tutorial?
2014-09-18 9:59 GMT+01:00 Salvatore DI DIO :
> Hello,
>
> I am following a 'photo application' tutorial :
> http://lightbird.net/dbe/photo.html
> I have created several 'albums' to insert images
Hello,
I am following a 'photo application' tutorial :
http://lightbird.net/dbe/photo.html
I have created several 'albums' to insert images in.
I would like those albums beeing displayed in the admin panel
according to each user or group
Thank your for your help
regards
--
You received
5 matches
Mail list logo