fixed typo and added INSTALLED_APPS and related_name in models