Monday, January 13, 2014

Django admin page without style

Yep if you have into this mess


and now wondering how to restyle your fancy admin page, cool down it very simple. Just go to the settings.py file and make sure that you have enable this apps:

'django.contrib.staticfiles',

you may then have

# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'books',
)

No comments:

Post a Comment