Use app framework for initializing in Django 1.7