Projet

Général

Profil

« Précédent | Suivant » 

Révision c23f4a3b

Ajouté par Josué Kouka il y a environ 6 ans

add django 1.11 support (#19615)

Voir les différences:

mandayejs/applications/views.py
25 25
from rest_framework.response import Response
26 26

  
27 27
from mandayejs.mandaye.models import UserCredentials
28
from mandayejs.applications import get_app_settings
29 28

  
30 29

  
31 30
class ArchimedAccountDetails(APIView):
......
41 40
        return response
42 41

  
43 42
    def get(self, request, *args, **kwargs):
43
        from mandayejs.applications import get_app_settings
44
        app_settings = get_app_settings()
44 45
        logger = logging.getLogger(__name__)
45 46
        app_settings = get_app_settings()
46 47
        ws_uri = request.build_absolute_uri(

Formats disponibles : Unified diff