﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11194	Saving proxy model with raw=True gives UnboundLocalError 'record_exists'	wardi	nobody	"When importing data I am running into this error:

{{{
Problem installing fixture '../tpm/contacts/fixtures/sampladata.json': Traceback (most recent call last):
  File ""/usr/local/lib/python2.5/site-packages/django/core/management/commands/loaddata.py"", line 153, in handle
    obj.save()
  File ""/usr/local/lib/python2.5/site-packages/django/core/serializers/base.py"", line 163, in save
    models.Model.save_base(self.object, raw=True)
  File ""/usr/local/lib/python2.5/site-packages/django/db/models/base.py"", line 495, in save_base
    created=(not record_exists), raw=raw)
UnboundLocalError: local variable 'record_exists' referenced before assignment
}}}"		closed	Database layer (models, ORM)	1.1-beta		fixed	proxy model serialization		Unreviewed	1	0	1	1	0	0
