Simple Django app built with vline.js
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

vLine Django Example

The vLine Django Example shows you how to create a Django app that is integrated with the vLine API.

Getting Started

  1. Sign up for a [vLine developer account] ( and create your vLine service.
  2. Make note of your API Secret on the Service Settings tab in the vLine Developer Console.
  3. Install Django and PyJWT (version 0.1.5 or newer): sudo pip install "Django" "PyJWT>=0.1.5"
  4. Clone this repository.
  5. Set up the database: python syncdb (create a superuser when prompted)
  6. Open vline_example/ and replace API_SECRET with the secret from the previous steps. Also replace SERVICE_ID with the name of your service.
  7. Run the server: python runserver 8080
  8. In your browser, go to http://localhost:8080/admin/
  9. Add at least one additional user.
  10. Open http://localhost:8080 in one regular browser window and one incognito window.
  11. Log in as different users in the two windows.
  12. Click on a username to call that user.