Correcting DJANGO_DIR for related fields patch