예제 #1
0
파일: views.py 프로젝트: strogo/ediary
 def get_context_data(self, **kwargs):
     context = super(ShowArticle, self).get_context_data(**kwargs)
     context = dict(context, **get_common_context())
     return context
예제 #2
0
파일: views.py 프로젝트: strogo/ediary
 def get_context_data(self, **kwargs):
     context = super(ArticlesList, self).get_context_data(**kwargs)
     return dict(context, **get_common_context())