Re: User permisions

2012-12-07 Thread Mārtiņš Jakubovičs
Hello! Yes, I used what* *sacrac show: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model In my "Item" class I added "owner" charfield and in admin.py did this: class ItemAdmin(admin.ModelAdmin): ... # save user informati

Re: User permisions

2012-12-06 Thread carlos
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model On Thu, Dec 6, 2012 at 8:18 AM, Javier Guerra Giraldez wrote: > On Thu, Dec 6, 2012 at 8:44 AM, Mārtiņš Jakubovičs > wrote: > > I have app "items" and in admin page I create two users with permisi

Re: User permisions

2012-12-06 Thread Javier Guerra Giraldez
On Thu, Dec 6, 2012 at 8:44 AM, Mārtiņš Jakubovičs wrote: > I have app "items" and in admin page I create two users with permisions to > create, edit and delete "items". But I want that only user who create item > can edit and delete id. How can I do that? search for "record-level permissions" -

User permisions

2012-12-06 Thread Mārtiņš Jakubovičs
Hello! I can't find information about that, so I post my problem here. I have app "items" and in admin page I create two users with permisions to create, edit and delete "items". But I want that only user who create item can edit and delete id. How can I do that? Thanks. -- You received this