python – TemplateDoesNotExist at / on Heroku while working on local server

New to Django and Heroku;

I get “TemplateDoesNotExist at /” when loading the page. Have read somewhere that it might have something to do with Caps.

My template is called templates.

In settings.py :

from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent.parent 
print(BASE_DIR)
print(BASE_DIR / 'templates')

And

TEMPLATES = (
{
    'BACKEND': 'django.template.backends.django.DjangoTemplates',
    'DIRS': (BASE_DIR / 'templates'),
    'APP_DIRS': True,
    'OPTIONS': {
        'context_processors': (
            'django.template.context_processors.debug',
            'django.template.context_processors.request',
            'django.contrib.auth.context_processors.auth',
            'django.contrib.messages.context_processors.messages',
        ),
    },
},

)

HOWEVER

in the error, I get :
“django.template.loaders.filesystem.Loader: /app/Templates/homepage.html (Source does not exist)”

It seems like Heroku doesn’t upload the changes I’ve made to settings.py even though I get “Everything up-to-date”

Everybody seems to be using os.path.join but my Pathlib is working correctly (I assume).

Thanks in advance for any help 🙂