Implementation of django-allauth-ui==1.6.1 in the project
I'm trying to get through the tutorial https://www.youtube.com/watch?v=WbNNESIxJnY&t=499s. At 4:17:26 the author implements the django-allauth-ui library into the project. The tutorial is from 10 months ago and currently the latest version of this library requires the use of the slippers library. I followed the README file (https://github.com/danihodovic/django-allauth-ui/blob/master/README.md).
I installed django-allauth-ui, django-widget-tweaks, slippers libraries.
I added the apps to settings.py:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# My apps
'commando',
'visits',
# Third-party-apps
"allauth_ui",
'allauth',
'allauth.account',
'allauth.socialaccount',
"widget_tweaks",
"slippers",
]
I run command python manage.py collectstatic
After using the command runserver I get a warning:
WARNINGS: ?: (slippers.E001) Slippers was unable to find a components.yaml file. HINT: Make sure it's in a root template directory.
So I created a components.yaml file in the templates folder
src/
├── templates/
│ ├── components.yaml
with code:
components: {}
Warning disappeared but templates are not loading: Page
How to implement the latest version of the library into the project to make it work like in the tutorial?
This seems to be an issue with recent releases of django-allauth-ui as seen in this issue. You can downgrade to a version < 1.6.0 for example django-allauth-ui 1.5.3 to fix the issue.