Custom Admin Django

0

I'm trying to change the login screen to a new custom screen, but it is not working.

link

I configured the settings:

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

I created folders and templates

link

But it is not working.

    
asked by anonymous 22.02.2016 / 21:17

1 answer

2

The link documentation states that you just need to create the templates folder / admin / within the app, in my case myproject / core /

In this case, the order of the apps imports.

INSTALLED_APPS = [
    # my apps
    'myproject.core',
    'django.contrib.admin',
    ...
    
23.02.2016 / 01:08