Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python3-only Django project - the benefits

Python3-only Django project - the benefits

My lightning talk from EuroPython 2014.

Zbigniew Siciarz

July 23, 2014
Tweet

More Decks by Zbigniew Siciarz

Other Decks in Programming

Transcript

  1. class DocumentForm(forms.Form): def __init__(self, *args, **kwargs): super(DocumentForm, self).__init__(*args, **kwargs) #

    do stuff... class IndexView(TemplateView): def get_context_data(self, **kwargs): data = super(IndexView, self).get_context_data(**kwargs) data["foo"] = "bar" return data
  2. class DocumentForm(forms.Form): def __init__(self, *args, **kwargs): super(DocumentForm, self).__init__(*args, **kwargs) #

    do stuff... class IndexView(TemplateView): def get_context_data(self, **kwargs): data = super(IndexView, self).get_context_data(**kwargs) data["foo"] = "bar" return data