I am starting to work on a Django project. The Django project Settings.py file contains the following two lines:
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
I want to know the difference, because I think both point to the same directory. It would also be very helpful if you could provide some os.path link functions.
Rishabh agrahari
source share