How about extending a template and issuing a CSS visibility ?
On Mon, Jan 20, 2014 at 3:01 AM, parnigot wrote:
> If your method ModelAdmin.has_add_permission() returns always False even a
> superuser can’t add the initial entry using the admin. But you can:
>
> Add the
If your method ModelAdmin.has_add_permission() returns always False even a
superuser can’t add the initial entry using the admin. But you can:
Add the initial entry using the command line.
Write a more complex has_add_permission method that checks if the request.user
is a superuser or checks if
Ah I see, give a user change permission but not add or remove? Then just use
superaccount to make initial entry?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Il 19/01/14 02:38, RLF_UNIQUE ha scritto:
I have been trying all day. What I am doing is trying to have a model
for an "about" page, which I want to limit to 1 item. It doesn't
really make sense to have multiple "abouts". I've done everything
described here
I have been trying all day. What I am doing is trying to have a model for
an "about" page, which I want to limit to 1 item. It doesn't really make
sense to have multiple "abouts". I've done everything described here
5 matches
Mail list logo