8
8
###
9
9
from __future__ import absolute_import
10
10
11
- from .api .tests_id_statistics import TestsIdStatistics
12
- from .api .self_testings import SelfTestings
13
- from .api .self_tests_id import SelfTestsId
14
- from .api .tests_id_score import TestsIdScore
15
- from .api .self_tests_test_id_questions_id import SelfTestsTestIdQuestionsId
16
11
from .api .self_tests import SelfTests
17
- from .api .tests_id_questions import TestsIdQuestions
18
- from .api .tests_banner import TestsBanner
12
+ from .api .self_tests_id import SelfTestsId
19
13
from .api .self_tests_id_publish import SelfTestsIdPublish
20
- from .api .tests_id import TestsId
21
14
from .api .self_tests_id_questions import SelfTestsIdQuestions
22
- from .api .qc_cos_config import QcCosConfig
15
+ from .api .self_tests_test_id_questions_id import SelfTestsTestIdQuestionsId
16
+ from .api .self_testings import SelfTestings
17
+ from .api .tests_banner import TestsBanner
23
18
from .api .tests_handpick import TestsHandpick
19
+ from .api .tests_id import TestsId
20
+ from .api .tests_id_questions import TestsIdQuestions
21
+ from .api .tests_id_score import TestsIdScore
24
22
from .api .tests_id_answers import TestsIdAnswers
23
+ from .api .tests_id_statistics import TestsIdStatistics
24
+ from .api .qc_cos_config import QcCosConfig
25
25
26
26
27
27
routes = [
28
- dict (resource = TestsIdStatistics .as_view (), urls = ['/tests/<id>/statistics' ], endpoint = 'tests_id_statistics' ),
29
- dict (resource = SelfTestings .as_view (), urls = ['/self/testings' ], endpoint = 'self_testings' ),
30
- dict (resource = SelfTestsId .as_view (), urls = ['/self/tests/<id>' ], endpoint = 'self_tests_id' ),
31
- dict (resource = TestsIdScore .as_view (), urls = ['/tests/<id>/score' ], endpoint = 'tests_id_score' ),
32
- dict (resource = SelfTestsTestIdQuestionsId .as_view (), urls = ['/self/tests/<test_id>/questions/<id>' ], endpoint = 'self_tests_test_id_questions_id' ),
33
28
dict (resource = SelfTests .as_view (), urls = ['/self/tests' ], endpoint = 'self_tests' ),
34
- dict (resource = TestsIdQuestions .as_view (), urls = ['/tests/<id>/questions' ], endpoint = 'tests_id_questions' ),
35
- dict (resource = TestsBanner .as_view (), urls = ['/tests/banner' ], endpoint = 'tests_banner' ),
29
+ dict (resource = SelfTestsId .as_view (), urls = ['/self/tests/<id>' ], endpoint = 'self_tests_id' ),
36
30
dict (resource = SelfTestsIdPublish .as_view (), urls = ['/self/tests/<id>/publish' ], endpoint = 'self_tests_id_publish' ),
37
- dict (resource = TestsId .as_view (), urls = ['/tests/<id>' ], endpoint = 'tests_id' ),
38
31
dict (resource = SelfTestsIdQuestions .as_view (), urls = ['/self/tests/<id>/questions' ], endpoint = 'self_tests_id_questions' ),
39
- dict (resource = QcCosConfig .as_view (), urls = ['/qc_cos/config' ], endpoint = 'qc_cos_config' ),
32
+ dict (resource = SelfTestsTestIdQuestionsId .as_view (), urls = ['/self/tests/<test_id>/questions/<id>' ], endpoint = 'self_tests_test_id_questions_id' ),
33
+ dict (resource = SelfTestings .as_view (), urls = ['/self/testings' ], endpoint = 'self_testings' ),
34
+ dict (resource = TestsBanner .as_view (), urls = ['/tests/banner' ], endpoint = 'tests_banner' ),
40
35
dict (resource = TestsHandpick .as_view (), urls = ['/tests/handpick' ], endpoint = 'tests_handpick' ),
36
+ dict (resource = TestsId .as_view (), urls = ['/tests/<id>' ], endpoint = 'tests_id' ),
37
+ dict (resource = TestsIdQuestions .as_view (), urls = ['/tests/<id>/questions' ], endpoint = 'tests_id_questions' ),
38
+ dict (resource = TestsIdScore .as_view (), urls = ['/tests/<id>/score' ], endpoint = 'tests_id_score' ),
41
39
dict (resource = TestsIdAnswers .as_view (), urls = ['/tests/<id>/answers' ], endpoint = 'tests_id_answers' ),
40
+ dict (resource = TestsIdStatistics .as_view (), urls = ['/tests/<id>/statistics' ], endpoint = 'tests_id_statistics' ),
41
+ dict (resource = QcCosConfig .as_view (), urls = ['/qc_cos/config' ], endpoint = 'qc_cos_config' ),
42
42
]
0 commit comments