Instead of checking for list type, check for collections.Iterable type.
[django-cas-provider.git] / cas_provider / signals.py
1 # -*- coding: utf-8 -*-
2 """cas_provider.signals -- signal definitions for cas_provider
3 """
4 from django import dispatch
5
6
7 on_cas_collect_histories = dispatch.Signal(providing_args=["for_email"])
8
9 on_cas_login = dispatch.Signal(providing_args=["request"])
10
11 cas_collect_custom_attributes = dispatch.Signal(providing_args=['user'])