On 28 Wrz, 22:35, "Deryck Hodge" <[EMAIL PROTECTED]> wrote:
> Hrr... I see your point about each, at least as a use case. I
> think there are ways to get what you want without, though.
I see that I can define a model called GlobalPermissions and set my
custom permissions on it.
> For case #1
On 9/28/07, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> This is just how I'd handle the same requirements. Others may see a
> need for content types being decoupled from installed apps.
Mmm I dunno - I see contenttypes as a implementation detail of
models, and something that code shouldn't rel
On 9/28/07, eXt <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
>Custom content types without a model give me a lot of flexibility.
> For example:
>
> 1. I've got a bunch of reports which are generated by Jasper Reports.
> In my Django app I have some groups of users and each of them should
> see a diffe
Hi!
Custom content types without a model give me a lot of flexibility.
For example:
1. I've got a bunch of reports which are generated by Jasper Reports.
In my Django app I have some groups of users and each of them should
see a different subset of reports. Reports are not defined in my
datab
On 9/28/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
> Is there anything in Django to "register" a custom content type or
> permission that the ContentType object can call on to determine if a
> content type is registered, and if not, remove it? Or could one be
> added?
>
It's the custom content ty
On Sep 27, 12:53 am, eXt <[EMAIL PROTECTED]> wrote:
>I found that there was a change in
> django.contrib.contenttypes.management.py which adds:
I wrote that patch so I can at least respond but I think this bubbles
up into a design decision for Django...
> This causes removal of my custom con
Hi all!
I've a need to use some custom permissions in my applications. In
order to do that I used this snippet:
- http://www.djangosnippets.org/snippets/334/
It creates custom contenttype and sets custom permissions on it. So
far so good.
Yesterday I moved to the latest Django vers