danihodovic / django-allauth-ui

Nice looking templates for django-allauth
https://django-allauth-ui.hodovi.ch
MIT License
188 stars 24 forks source link

Make django-allauth-ui work in regular account only config #44

Closed fkromer closed 1 month ago

fkromer commented 1 month ago

https://github.com/danihodovic/django-allauth-ui/blob/697a7d09f13a511557e2b55ee18b6bb34886c250/allauth_ui/templates/account/login.html#L4 leads to a TemplateSyntaxError at /accounts/login/ during template rendering if django-allauth is configured without support for social accounts (regular account only).

danihodovic commented 1 month ago

Argh...wanna give it a try and open a pull-request mr fkromer?

fkromer commented 1 month ago

Not urgent. ATM I'm fine with adding "allauth.socialaccount", to INSTALLED_APPS and migrating the db 🙂

danihodovic commented 1 month ago

I'll fix this once I make a sweeping change to the design of the UI.

danihodovic commented 1 month ago

Released as 0.3.1 https://pypi.org/project/django-allauth-ui/0.3.1/