Bishnu Bhattarai
Bishnu Bhattarai

Reputation: 2910

'module' object has no attribute 'commit_unless_managed'

I am using django 1.8 and django-nose 1.4 and while I run

REUSE_DB=1 python manage.py test

It shows error message

'module' object has no attribute 'commit_unless_managed'

What may the the solution ?

Upvotes: 0

Views: 596

Answers (1)

patroqueeet
patroqueeet

Reputation: 774

solution is to remove the reuse flag for at least one call. your previous build broke the db and it needs to reset it.

Upvotes: 0

Related Questions