modified mode spec for django files