Mocking Django inclusion tag in pytest

前端 未结 0 1051
耶瑟儿~
耶瑟儿~ 2021-02-14 01:26

I have an inclusion tag:

from django import template
from accounts.models import UserTracking
register = template.Library()

@register.simple_tag(takes_context=Tr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题