Skip to content

Commit

Permalink
swaps out deprecated PluginTemplateExtension class
Browse files Browse the repository at this point in the history
  • Loading branch information
Kircheneer committed Dec 9, 2024
1 parent 9ebb26f commit dfe4a2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/598.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Swapped out `nautobot.extras.plugins.PluginTemplateExtension` for `TemplateExtension`
4 changes: 2 additions & 2 deletions nautobot_ssot/template_content.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"""App template content extensions of base Nautobot views."""

from django.urls import reverse
from nautobot.extras.plugins import PluginTemplateExtension
from nautobot.extras.plugins import TemplateExtension

from nautobot_ssot.models import Sync

# pylint: disable=abstract-method


class JobResultSyncLink(PluginTemplateExtension):
class JobResultSyncLink(TemplateExtension):
"""Add button linking to Sync data for relevant JobResults."""

model = "extras.jobresult"
Expand Down

0 comments on commit dfe4a2e

Please sign in to comment.