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
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
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"
-
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
4 matches
Mail list logo