Django

Learn how to integrate Wristband with your Django application.

This quickstart guide will walk you through the process of integrating your Django application with Wristband.

Goals

After completing this guide, you will have learned to do the following:

  • Integrate your Django backend with Wristband, utilizing Wristband's Django Auth SDK.
  • Implement encrypted cookie-based session management with your Django backend.
  • Create authentication endpoints (login, callback, logout).
  • Protect your Django views and templates with session-based authentication.

Prerequisites

  • Python (version 3.10 or later)
  • Django (version 4.2 or later)
  • Your preferred package manager (pip, poetry, uv, etc.)

Set Up Django

If you are starting your app from scratch, you will need to set up a Django project by following their installation documentation.



What’s Next

After your Django project is set up, you'll need to install the Wristband Auth SDK.