/dj5-starter

A starter project for Django 5 with HTMX and allauth

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

dj5-starter

pre-commit.ci status Code style: black Imports: isort

A starter project for Django 5 with allauth (formerly starter-fullstack)

Stack

  • Postgres
  • Python 3.12
  • Django 5.0.8
  • Bootstrap 5
  • HTMX
  • (check requirements.txt for actual installs)

Features

  • Authentication with allauth and socialaccount (Google)
  • Environs for storing secrets
  • User model with profile extension
  • Model translation ready
  • Django Filer ready
  • FlatPages with tinymce editor (start url with "/en/" if language is english, "/it/" if it's italian)
  • Interactive search bar with Hyperscript
  • Styled with Bootstrap 5
  • Some interaction with HTMX, avoiding full page reload
  • Incorporating Neapolitan with HTMX behaviour (use project.HxCRUDView)

Tests

Unittests, coverage 98%

Working on:

  • Hyperscript for local interactions