Skip to content

Commit ae896fb

Browse files
author
Mark Gibbs
committed
Refactor access to stateless app locator
1 parent 5827f9a commit ae896fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

django_plotly_dash/templatetags/plotly_dash.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
register = template.Library()
55

6-
from django_plotly_dash.models import DashApp
7-
from django_plotly_dash.dash_wrapper import get_stateless_by_name
6+
from django_plotly_dash.models import DashApp, get_stateless_by_name
87

98
@register.inclusion_tag("django_plotly_dash/plotly_item.html", takes_context=True)
109
def plotly_app(context, name=None, slug=None, da=None, ratio=0.1, use_frameborder=False):

0 commit comments

Comments
 (0)