Hello.
I try a lot of things and can't understand, why not working STATIC_ROOT and
MEDIA_ROOT in settings.py.
I want, that all my media and static folders is in different place that
python files, so I set media, static and templates to different place.
Templates TEMPLATE_DIRS works well, bet
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
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
3 matches
Mail list logo