def get_urlpatterns(self):
        # Default behaviour is to introspect self for do_* methods
        from django.conf.urls import url 
        urlpatterns = []
        for method in dir(self):
            if method.startswith('do_'):
                callback = getattr(self, method)
                name = method.replace('do_', '')
                urlname = self.urlname_pattern % name
                urlregex = getattr(callback, 'urlregex', '^%s/$' / name)
                urlpatterns.append(
                    url(urlregex, callback, name=urlname)
                )
        return urlpatterns
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/consumer.py/Consumer.get_urlpatterns/operator `%` -> `/`