In my case, I was missing the \
when using multiple lines to import:
from .models import Country, State, Locality, Address,\
PercentageAmount, Condominium, Condominium_expenses_report,\
FunctionalUnit, Percentage, FunctionalUnit_expenses_report,\
Expense, Bill, Judgment, Insurance, Concept