hmm, I´ve never used a custom manager before.
most of the "hacking" stuff we do is about javascript and templates.

sorry, but I´m not able to help with this problem.

patrick

Am 18.12.2006 um 20:09 schrieb Picio:

>
> Patrick please, can you put an eye also here?
>
> http://paste.e-scribe.com/hold/2728/
>
> I'm trying to show only some rows in an admin results page.
>
> Can you help me find the reason whay I can't make It work?
> In particular no matter if I set a filter in the custom manager
> 'SoloCurrentUser'
> It still show me all the rows in the Admin !
> I've really tried everything and the python manage.py shell retrieve
> well the rows, with the query_set filtered.
>
> Is there any "fall back" manager that override my behaviour?
> How can I find a way to "destroy it"?
>
> Please note that all the relations from the model "operazione" are
> many-to-one, there are no Many to Many rel. in my model.
> I want to add that I've tried to override (like a blind in the  
> dark...):
> -get_result
> -get_ordering
> from the main View (ChangeList), nothing happen and of course the
> behaviour is the same.
>
> I know It's not a good thing to hack and customize the admin but  when
> you just have 1 or 2 things to change, It's not fair to rebuild
> (against the  DRY) another admin+1 little thing from scratch ! :)
>
>
> Thanks a lot for your patience.
> Please Help us.
> Picio
>
> 2006/12/18, Daniel Kvasnicka jr. <[EMAIL PROTECTED]>:
>>
>>> with the last couple of sites we did, we spent more time an  
>>> "hacking"
>>> the admin-interface than doing the actual site.
>>>
>>
>> Well, that's why I'll probably stick with TurboGears for that project
>> (I already have the admin interface almost implemented). I'll try
>> Django with another app. Thanks for replies.
>>
>> Dan
>>
>>
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to