just a thought:

you might consider allowing multiple front page objects and having a way to
select the current one.
this could come in handy to switch what is currently the front page (or to
audition the new front page).

otherwise : create one using initial_data so that your application
automatically creates it
and then set the add permissions to false for everybody.  you can only edit
The One.
a super user could still add one, but don't set your client/end-user to
super user.
check on save and throw an error if you like.

-fx




On Fri, Dec 19, 2008 at 6:21 PM, Peter <[email protected]> wrote:

>
> >
> > >  What I was looking for was a global permission that could be set on a
> > >  model when it was defined which set
> > >  default permissions for 'staff' on the model (or even for superuser)
> > >  on that model.
> >
> > Why not just create another group?
>
> Because being a singleton (and not removable) should be, I think, an
> *attribute* of the
> class/model not of  a particular user or a group.
>
> Cheers, Peter
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to