Last active
February 18, 2018 14:43
-
-
Save Compro-Prasad/a0ab288af13b10912ed4d45a4b593542 to your computer and use it in GitHub Desktop.
Django Social Auth for Mysql Innodb engines which don't allow more than 767 field length
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://python-social-auth.readthedocs.io/en/latest/configuration/settings.html?highlight=SOCIAL_AUTH_UID_LENGTH#tweaking-some-fields-length | |
# Thanks to knbk on #django freenode IRC | |
SOCIAL_AUTH_UID_LENGTH = 190 | |
SOCIAL_AUTH_NONCE_SERVER_URL_LENGTH = 190 | |
SOCIAL_AUTH_ASSOCIATION_SERVER_URL_LENGTH = 190 | |
SOCIAL_AUTH_ASSOCIATION_HANDLE_LENGTH = 190 | |
SOCIAL_AUTH_EMAIL_LENGTH = 190 # More than 190 is very rare to be used |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment