Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

django-parler - Python Meetup in Amsterdam (PUN)

django-parler - Python Meetup in Amsterdam (PUN)

Django model translations; letting users input content in multiple languages.

Diederik van der Boor

November 13, 2013
Tweet

More Decks by Diederik van der Boor

Other Decks in Programming

Transcript

  1. django-hvad Overrides all ORM methods! Lots of metaclass magic Mixing

    {,/\ un}translated objects == hard Can't be combined with other apps (mptt, polymorphic, shop) Doesn't call super()
  2. Package that! – Hack something directly in the CMS app

    – K.I.S.S – Manually create translated fields table – Manually assign descriptors – Hey that works!!