I'm using django-reviews (http://code.google.com/p/django-reviews/) and having trouble getting the content-type set for a review. Simple example:
def check_review(request): if request.method == 'POST': reviewed_item = get_object_or_404(MyModel, pk=request.POST['object_pk']) review_form = ReviewForm(target_object=reviewed_item, data=request.POST) review_form.content_type = ContentType.objects.get_for_model(MyModel) However the form's 'content_type' field has no value and the form has the error "(Hidden field content_type) This field is required." I've tried to set the content_type multiple ways with no luck. Any ideas? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.