How about extending a template and issuing a CSS visibility ?

On Mon, Jan 20, 2014 at 3:01 AM, parnigot <parni...@gmail.com> 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 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  the initial entry already exists.
>
>
> e.p.
>
> Il giorno 19/gen/2014, alle ore 18:34, RLF_UNIQUE <rlfuni...@gmail.com> ha
> scritto:
>
> 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 to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f2b936f2-7107-4dad-bd3a-364cae68cb37%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> 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 to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8154DDBF-5293-4355-84D6-FB49FF2FE040%40gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAuoY6OY8fPCKmXVsg6aC_%2BYTq%3DMowuyo64cTot2jCxKgfbL3g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to