We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1de53 commit d8a52aeCopy full SHA for d8a52ae
readthedocs/settings/base.py
@@ -644,7 +644,7 @@ def DOCKER_LIMITS(self):
644
SOCIALACCOUNT_AUTO_SIGNUP = False
645
SOCIALACCOUNT_STORE_TOKENS = True
646
647
- SOCIALACCOUNT_PROVIDERS = {
+ _SOCIALACCOUNT_PROVIDERS = {
648
'github': {
649
"APPS": [
650
{
@@ -696,6 +696,16 @@ def DOCKER_LIMITS(self):
696
],
697
},
698
}
699
+
700
+ @property
701
+ def SOCIALACCOUNT_PROVIDERS(self):
702
+ """
703
+ This is useful to override in a subclass, mainly to add the secrets when deploying.
704
705
+ Our ops repos have a complex (shared) inheritance structure, so it's easier this way.
706
707
+ return self._SOCIALACCOUNT_PROVIDERS
708
709
ACCOUNT_FORMS = {
710
'signup': 'readthedocs.forms.SignupFormWithNewsletter',
711
0 commit comments