On Tue, Jul 8, 2008 at 4:30 PM, Milan Andric <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jun 30, 3:01 pm, Milan Andric <[EMAIL PROTECTED]> wrote:
>> I've been wresting with this one for a couple hours now trying to
>> track it down, but no luck. I'm recently updated to django trunk and
>> getting very odd reponses. I could take the same page and refresh it
>> several times in succession and eventually get the page, but usually
>> get 500 errors. What would cause that?
>>
>> http://multimedia.journalism.berkeley.edu/training/projects/
>>
>> I also restarted/stop/started and removed all .pyc files from my
>> project, installed apps and django just for good measure.
>>
>> I managed to get the traceback while in debug mode that raises a
>> FieldError:http://dpaste.com/59999/
>>
>> Here's the wrapped generic view that is being called:http://dpaste.com/60002/
>>
>> Here's the model:http://dpaste.com/60005/
>>
Removing the limit_choices_to param from the Project model's (see
dpaste link above) members attr seems to fix the FieldError.
---snip----
members = models.ManyToManyField(
User,
# limit_choices_to= {'pk__in': get_member_pks()},
help_text="This list is limited to people accepted in
a workshop or staff. ",
filter_interface=models.HORIZONTAL,
)
----snip---
--
Milan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---