Updated the Templates and Static Media chapter to reflect concerns from @k4rtik that the PROJECT_PATH variable doesn't always give the project root. The code is now much more robust.