compatibility with DJANGO POST requests