ZemarLi549 opened a new issue #4975:
URL: https://github.com/apache/skywalking/issues/4975


   Please answer these questions before submitting your issue.
   
   Why do you submit this issue?
    Question 
   ### Question
   class ArticleDetailView(DetailView):
       '''
       文章详情页面
       '''
       template_name = 'blog/article_detail.html'
       model = Article
       pk_url_kwarg = 'article_id'
       context_object_name = "article"
       @trace(op='get_object_detail')
       def get_object(self, queryset=None):
           obj = super(ArticleDetailView, self).get_object()
   I tried the skywalking-python agent in my django project,using the buried 
points to tracing data,
   There was a bug appears as follows  when calling this api,
   and i want to know if it‘s true that the skywalking-python only surport 
buried points style to tracing data for django projects?
   Will it  works when i only calling agent.start() in the manage.py file? Not 
using the context or trace decrator
   ### Bug
   
   '_thread._local' object has no attribute 'context'
   
   ### Requirement or improvement
   - Python django2.1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to