DevClad-Inc / devclad

Doc line too long FLK-W505
Style
Minor
a year ago2 years old
doc line too long (95 > 88 characters)
149        """
150        if "allauth" in settings.INSTALLED_APPS:
151
152            # When `is_active` of a user is set to False, allauth tries to return template html153            # which does not exist. This is the solution for it. See issue #264.
154            try:
155                return self.get_auth_user_using_allauth(username, email, password)
doc line too long (104 > 88 characters)
 22User = get_user_model()
 23
 24# Custom RegistrationSerializer; with first and last name + possible future changes.
 25# From https://github.com/iMerica/dj-rest-auth/blob/master/dj_rest_auth/registration/serializers.py#L197 26class RegisterSerializer(serializers.Serializer):
 27    first_name = serializers.CharField(max_length=30, required=True, write_only=True)
 28    last_name = serializers.CharField(max_length=30, required=True, write_only=True)
doc line too long (98 > 88 characters)
 15
 16User = get_user_model()
 17
 18"""using SP's pk to get reference to the user (organizer) and modify request data with username""" 19
 20
 21def JSONTimeZone(time):
doc line too long (106 > 88 characters)
 5
 6User = get_user_model()
 7
 8#! the createsu creates the admin user but it sort of fucked up the pk/id sync of users and socialprofiles 9#! so, the code contains fixes for that
10
11"""
doc line too long (108 > 88 characters)
 9#! so, the code contains fixes for that
10
11"""
12- using invite_profile to reference the SP user; not a nasty workaround but modification from existing code.13"""
14
15