TestappNestedConfig   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
dl 0
loc 6
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A ready() 0 3 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