Skip to content

Showing count of per-day API calls in chart. (Rebuilding)

Compare
Choose a tag to compare
@vishalanandl177 vishalanandl177 released this 18 Feb 21:49
· 102 commits to master since this release

Make sure to add the code below in settings.py

'DIRS': [os.path.join(BASE_DIR, 'templates')],

The final code should look like this.

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(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',
            ],
        },
    },
]