TestappNestedConfig.ready()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
1
from django.apps import AppConfig
2
3
4
class TestappNestedConfig(AppConfig):
5
    name = 'testapp_nested'
6
7
    def ready(self):
8
        from actstream.registry import register
9
        register(self.get_model('nestedmodel'))
10