Skip to content

typeidea/blog/views.py 第18行的super()的父类是哪个,class中好像没有传入 #70

Description

@erbangzhu

typeidea/blog/views.py 第18行的super()的父类是哪个(super().get_context_data(**kwargs)),class CommonViewMixin 中好像没有传入父类

class CommonViewMixin:
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context.update({
'sidebars': self.get_sidebars(),
})
context.update(self.get_navs())
return context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions