fixed some bugs related to the last big transformation from Django project to pure Django apps. Some imports were broken.