a django app for generate and obtain invitation code