Retry views on IntegrityErrors