﻿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
29674	Error with ForeignKey model, after add this model	Rixkz	nobody	"When i config model file and do some migration, so if first time I do created model with CharField, TextField (it’s dosen’t matter what models you’ve created) and “ForeignKey”, it’s fine if I had create my model by this order and do some makemigrations and migrate it’s work well. 
When I’ve created model CharField and TextField (without ForeignKey model) and do migrations it will pass BUT!! If I need to put models “ForeignKey” to my model class I can pass with makemigrations step but it’s error on migrate command output the error is ValueError: invalid literal for int() with base 10: 'auth.User'

"	Bug	closed	Migrations	2.1	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
