Added filter for setting variables in django template