Re: Model with a one to one relation to it can not use list_filter

2007-11-01 Thread Malcolm Tredinnick
On Thu, 2007-11-01 at 17:19 +, Robert Myers wrote: > So we were trying to figure out why list_filter was not working in the > admin display for a couple of our models. It turns out that we have > another model which has a OneToOneField to the first model. This sets > the meta attr one_to_one_f

Models over SQL views - disable regeneration of model

2007-11-01 Thread Honeyman
Hello. I recently tried to create a custom SQL view on my Django-powered site and use it via usual Django ORM approach; I created a view and then manually built the Django model resembling this view, but quickly noticed that any attempt to request Django to regenerate the Django- generated tables

Newforms proxy serialization problem

2007-11-01 Thread andrew gleave
Hi everyone, I'm posting this here as every ticket I try to submit fails with a "500 Internal Server Error (Submission rejected as potential spam" message. After or around r6625 a bug has been introduced whereby when a newforms error dict is serialized with any serializer (I've tried simplejson a

Model with a one to one relation to it can not use list_filter

2007-11-01 Thread Robert Myers
So we were trying to figure out why list_filter was not working in the admin display for a couple of our models. It turns out that we have another model which has a OneToOneField to the first model. This sets the meta attr one_to_one_field on the first model to the field in the second model. Then