fixing django digest sub ref