1.Donât put project name in the imports For example suppose say you have an app âxyzâ in the project say âproject3â then donât say 1: from project3.xyz.models import Author It ties the project name to your app which has several disadvantages like 1.You canât easily reuse the app. 2.In future if you want to change the project name it becomes difficult. Instead do this. 1: from xyz.models import
{{#tags}}- {{label}}
{{/tags}}