Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress reports Error parsing template socialaccount/signup.html: socialaccount/base.html #3513

Closed
msapiro opened this issue Nov 8, 2023 · 2 comments

Comments

@msapiro
Copy link
Contributor

msapiro commented Nov 8, 2023

Compress seems to want allauth/templates/socialaccount/base.html to exist. At least creating that with content

{% extends "allauth/layouts/base.html" %}

allows Compress to run without error.

This error is new with allauth>=0.58.0

@pennersr
Copy link
Owner

pennersr commented Nov 8, 2023

I suspect this is due to this from the changelog -- did you copy any of the templates?:

Backwards incompatible changes
------------------------------

- Refactored the built-in templates, with the goal of being able to adjust the
  look and feel of the whole project by only overriding a few core templates.
  This approach allows you to achieve visual results fast, but is of course more
  limited compared to styling all templates yourself. If your project provided
  its own templates then this change will not affect anything, but if you rely
  on (some of) the built-in templates your project may be affected.

@pennersr pennersr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@msapiro
Copy link
Contributor Author

msapiro commented Nov 27, 2023

Yes, it was our issue. We have a template which had

{% extends "socialaccount/base.html" %}

Changing that to

{% extends "socialaccount/base_entrance.html" %}

fixed this for us. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants