From dfc76ae976413be163da373518f08cb0e2463698 Mon Sep 17 00:00:00 2001 From: Pitanga Innovare Date: Tue, 25 Jun 2024 23:34:20 -0300 Subject: [PATCH] Corrige imports quebrados --- metrics/tests/test_models.py | 2 +- metrics/wagtail_hooks.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/metrics/tests/test_models.py b/metrics/tests/test_models.py index 9055beb..457bb17 100644 --- a/metrics/tests/test_models.py +++ b/metrics/tests/test_models.py @@ -2,7 +2,7 @@ from django.test import TestCase from core.models import User -from .models import Top100Articles +from metrics.models import Top100Articles class Top100ArticlesModelTestCase(TestCase): diff --git a/metrics/wagtail_hooks.py b/metrics/wagtail_hooks.py index 06a3838..6fc7d50 100644 --- a/metrics/wagtail_hooks.py +++ b/metrics/wagtail_hooks.py @@ -4,9 +4,7 @@ from config.menu import get_menu_order -from .models import ( - Top100Articles, -) +from metrics.models import Top100Articles class Top100Articles(SnippetViewSet):