jroo/django-nudge — Issue #30: nudgeinit breaks on when reversion and data are out of sync
Author: jroo
Created: 2012-02-11 15:01:37+00:00
State: open

Expected behavior, but could be problematic for users.

'''
File/nudge/utils.py", line 14, in latest_objects
latest_obj=get_for_object(o)[0]
File "/usr/local/lib/python2.6/dist-packages/reversion/revisions.py", line 503, in get_for_object
return self.get_for_object_reference(obj.__class__, obj.pk)
AttributeError: 'NoneType' object has no attribute 'pk'
'''