root() inside settings

O the video you use a function called root() to set the path to static assets.

I haven't found any reference to that function on the text or django docs.

What does it do? and where is defined?

Thanks.

Sorry You must be a logged in, registered user to answer a question.

Answers

It's not part of Django, it's a custom function I commonly use in my settings files.