usually i see this import in .models but if it works here then that's fine.