Hi!
In version 1.3 I have no problem using GenericForeignKey in standalone
scripts with Django ORm and GenericForeignKey.
And in 1.4 there is a problem.
http://dpaste.com/694017/
(virtualenv) C:\Users\user\Desktop\django-test>python django14.py
Traceback (most recent call last):
File "django14.py", line 62, in <module>
main()
File "django14.py", line 54, in main
test1.parent = test2
File "D:\Development\virtualenv\lib\site-packages\django\contrib
\contenttypes\generic.py", line 13
9, in __set__
ct = self.get_content_type(obj=value)
File "D:\Development\virtualenv\lib\site-packages\django\contrib
\contenttypes\generic.py", line 58
, in get_content_type
return
ContentType.objects.db_manager(obj._state.db).get_for_model(obj)
AttributeError: 'NoneType' object has no attribute 'objects'
In version 1.4 this is possible? or no longer there?