Django Stronghold

screenshot of Django Stronghold

Get inside your stronghold and make all your Django views default login_required

Overview

Stronghold is a Django app designed to require login for all views by default. It provides a simple way to ensure that only authenticated users can access your Django project. While still in development, this tool offers easy installation and usage within Django projects, making it a convenient option for enhancing security.

Features

  • Default Login Requirement: All views in your Django project are set to require login by default.
  • Public View Option: Ability to make specific views public using the provided decorators.
  • Configuration Options: Customize settings with options like STRONGHOLD_DEFAULTS, STRONGHOLD_PUBLIC_URLS, STRONGHOLD_PUBLIC_NAMED_URLS, and STRONGHOLD_USER_TEST_FUNC.
  • Compatibility: Tested with various Django versions from 1.8.x to 2.2.x.