Skip to content

Commit

Permalink
[Fixes #11821] Add apps.py and fix test import
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Jan 30, 2024
1 parent b26f04d commit 1f2a49c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion geonode/layers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def view_count_up(self, user, do_local=False):
if user == self.owner or user.is_superuser:
return
if not do_local:
from geonode.messaging import producer
from geonode.messaging.apps import producer

producer.viewing_dataset(str(user), str(self.owner), self.id)

Expand Down
2 changes: 1 addition & 1 deletion geonode/messaging/management/commands/runmessaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from django.core.management.base import BaseCommand

from geonode.messaging import connection
from geonode.messaging.apps import connection
from geonode.messaging.consumer import Consumer

logger = logging.getLogger(__package__)
Expand Down
2 changes: 1 addition & 1 deletion geonode/messaging/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from geonode.tests.base import GeoNodeBaseTestSupport

from geonode.messaging import connection
from geonode.messaging.apps import connection
from geonode.messaging.consumer import Consumer


Expand Down

0 comments on commit 1f2a49c

Please sign in to comment.