Closed tawanda closed 5 years ago
Good Day
I followed all 3 steps from the installation
Django versions tested and not working 2.0 and 2.1.7 OS: Windows 10
pip install git+https://github.com/otto-torino/django-baton
settings.py
START_APPS = [ 'baton', ] DJANGO_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] THIRD_PARTY_APPS = [ 'nested_inline', 'import_export', ] PROJECT_APPS = [ 'apps.common.apps.CommonConfig', 'apps.dashboard.apps.DashboardConfig', 'apps.invoices.apps.InvoicesConfig', 'apps.organisations.apps.OrganisationConfig', 'apps.products.apps.ProductsConfig', 'apps.shop.apps.ShopConfig', 'apps.users.apps.UsersConfig', 'apps.website.apps.WebsiteConfig' ] LAST_THIRD_PARTY_APPS = [ 'baton.autodiscover', ] INSTALLED_APPS = START_APPS + DJANGO_APPS + THIRD_PARTY_APPS + PROJECT_APPS + LAST_THIRD_PARTY_APPS
urls.py
from baton.autodiscover import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('baton/', include('baton.urls')), ]
any idea what I am doing wrong. it still uses the old django admin template with the above setup
My bad, I had an old base_site.html in my admin template folder that was overriding the awesomeness
base_site.html
Good Day
I followed all 3 steps from the installation
Django versions tested and not working 2.0 and 2.1.7 OS: Windows 10
settings.py
urls.py
any idea what I am doing wrong. it still uses the old django admin template with the above setup