views:

64

answers:

1

Hi all,

I saw this post, http://stackoverflow.com/posts/1348076/revisions , only at step 3 i'm getting confused, he tells to put 3. Add "get_view_permission" to default model class

but what's the default model class? It doesn't seem to work to me, i get following error message:

AttributeError at /admin/

'Options' object has no attribute 'get_view_permission'

Request Method: GET Request URL: Exception Type: AttributeError Exception Value:

'Options' object has no attribute 'get_view_permission'

So he complains about no get_view_permission, but where to place this get_view_permission???

Regards,

T

A: 

Looks like he means in django/db/models.py.

Daniel Roseman
I've found it thanks, but now i have to problem, after following the tutorial... i can't click and view the data by giving another user the permission 'Can view test'... it only shows test, but you can't view it.
Thomas