Django 1.7 And You

Django 1.7 And You

A talk I gave at the San Francisco Django Meetup group

077e9a0cb34fa3eba2699240c9509717?s=128

Andrew Godwin

April 30, 2014
Tweet

Transcript

  1. 2.

    Andrew Godwin Author of South migrations library Hi, I'm Author

    of 1.7 Django migrations Generally far too involved in Django
  2. 3.

    Django 1.7 Migrations Scheduled release: May 15th (we'll probably miss

    it) App loading refactor Checks framework select_related filters Custom lookups
  3. 5.

    The (second) Plan Django Schema backend ORM Hooks South 2

    Migration handling User interface Backport for 1.4 - 1.6
  4. 9.
  5. 11.

    Backwards Compatability Auto-applies first migration if tables exist Ignores South-style

    migrations South will start looking for south_migrations
  6. 17.
  7. 18.

    from django.db.models import Lookup class NotEqual(Lookup): lookup_name = 'ne' def

    as_sql(self, qn, connection): lhs, lhs_params = self.process_lhs(qn, connection) rhs, rhs_params = self.process_rhs(qn, connection) params = lhs_params + rhs_params return '%s <> %s' % (lhs, rhs), params