You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say, site has no icons for backends (yet). What is an expected workflow to display full backend/provider name to the user? The backend class only stores name, which is good for the slug or db value, not for a title.
The temporary dirty workaround for Django looks like: {{ backend|split:'-'|first|capfirst }} (split is a custom filter). Not all backend names are properly displayed in such a way.
Don't you plan to add a nice (translatable) title to the class or store it in DB?
The text was updated successfully, but these errors were encountered:
I'm not planing to do so, usually a website enables a few backends and won't iterate over a long backends list, so you will write links in the form <a href="{% url 'social:begin' 'google-oauth2' %}">Google</a>. It might be even simple to create a custom filter in your project that does:
Say, site has no icons for backends (yet). What is an expected workflow to display full backend/provider name to the user? The backend class only stores
name
, which is good for the slug or db value, not for a title.The temporary dirty workaround for Django looks like:
{{ backend|split:'-'|first|capfirst }}
(split is a custom filter). Not all backend names are properly displayed in such a way.Don't you plan to add a nice (translatable) title to the class or store it in DB?
The text was updated successfully, but these errors were encountered: