Skip to content

Instantly share code, notes, and snippets.

@jacobian
Created May 20, 2011 18:47
Show Gist options
  • Save jacobian/983524 to your computer and use it in GitHub Desktop.
Save jacobian/983524 to your computer and use it in GitHub Desktop.
[31] >>> CreateTicket.__mro__
[31] :
(<class 'tickets.views.CreateTicket'>,
<class 'tickets.views.LoginRequired'>,
<class 'django.views.generic.edit.CreateView'>,
<class 'django.views.generic.detail.SingleObjectTemplateResponseMixin'>,
<class 'django.views.generic.base.TemplateResponseMixin'>,
<class 'django.views.generic.edit.BaseCreateView'>,
<class 'django.views.generic.edit.ModelFormMixin'>,
<class 'django.views.generic.edit.FormMixin'>,
<class 'django.views.generic.detail.SingleObjectMixin'>,
<class 'django.views.generic.edit.ProcessFormView'>,
<class 'django.views.generic.base.View'>,
<type 'object'>)
@zyegfryed
Copy link

Hi Jacob,
Could you throw some light on what is mro ?
Regards,

@stefanw
Copy link

stefanw commented May 22, 2011

mro = method resolution order

@zyegfryed
Copy link

Thanks.
Documentation

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