04.06.2018 - The example code requires Python 3 (Django 2.x requires Python 3.4 or higher) endpoints and it also renders the HTML container for the Angular front end app. .. The UserService's login() method sends the username and .