mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
Fix calling class registration
This commit is contained in:
parent
a3e779fe9c
commit
05b0073d8e
|
@ -21,7 +21,7 @@ class BindingMetaclass(type):
|
|||
if bases != (object, ):
|
||||
cls.binding_classes.append(klass)
|
||||
if cls.register_immediately:
|
||||
cls.register()
|
||||
klass.register()
|
||||
return klass
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue
Block a user