Revision 5facd191 snf-cyclades-app/synnefo/ui/userdata/rest.py

b/snf-cyclades-app/synnefo/ui/userdata/rest.py
40 40

  
41 41
from django.core.exceptions import ValidationError, NON_FIELD_ERRORS
42 42

  
43
from synnefo.lib.astakos import get_user
44
from django.conf import settings
45

  
43 46
# base view class
44 47
# https://github.com/bfirsh/django-class-based-views/blob/master/class_based_views/base.py
45 48

  
......
78 81
        Main entry point for a request-response process.
79 82
        """
80 83
        def view(request, *args, **kwargs):
84
            get_user(request, settings.ASTAKOS_URL)
81 85
            self = cls(*initargs, **initkwargs)
82 86
            return self.dispatch(request, *args, **kwargs)
83 87
        return view

Also available in: Unified diff