base.html works for all other url links, but as soon as I load localhost:8000/accounts/ (e.g. logout or login), the css template does not work at all. The functionality still works, it's just the css that isn't working.
This is as per the tutorial (From 8:22 to 10:44): https://www.youtube.com/watch?v=bopkZBbIa7c. I have followed the tutorial step by step, yet it gives a different result than the tutorial. (Just want to reiterate the functionality is fine, just plain django css)
My current settings.py is:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'tinymce',
'posts',
'django.contrib.sites',
'allauth',
'allauth.account',
'allauth.socialaccount',
]
Urls:
urlpatterns = [
path('admin/', admin.site.urls),
path('', index),
path('blog/', blog, name='post_list'),
path('post/<id>', post, name = 'post_detail'),
path('search/', search, name = 'search'),
path('tinymce/', include('tinymce.urls')),
path('accounts/', include('allauth.urls')),
path('accounts/profile/', blog, name='post_list')
]
Any help would be appreciated. Thanks.
Django version 3.1.4 Python 3