On 10/11/06, patrickk <[EMAIL PROTECTED]> wrote:
>
> when assigning permissions, there´s a list of installed apps/models,
> like:
> posting | can add posting
> posting | can change posting
> ...
>
> the problem is, if I have several models with the same name (e.g.
> category) within different apps, there´s currently no way to tell
> which one to choose.
> is it possible to add the app-name to this list?

I think the only way to do this currently would be to change
django.contrib.auth.models.Permission's __str__ method.

It currently reads:

    def __str__(self):
        return "%s | %s" % (self.content_type, self.name)

Might be worth submitting a patch or a ticket. It would be a pretty
trivial change.

Joseph

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

Reply via email to