Projet

Général

Profil

« Précédent | Suivant » 

Révision df41dfa6

Ajouté par Frédéric Péters il y a environ 5 ans

get app settings before accessing it (#32499)

Voir les différences:

mandayejs/mandaye/views.py
136 136
        c_user = UserCredentials.objects.get(user__username=request.user.username)
137 137
        c_user.delete()
138 138
        logger.debug("{} dissacioted".format(c_user.user.username))
139
        app_settings = get_app_settings()
139 140
        return HttpResponseRedirect(
140 141
            request.META.get(
141 142
                'HTTP_REFERER', app_settings.SITE_LOGIN_PATH)

Formats disponibles : Unified diff