andywar65 / dj5-starter

A starter project for Django 5 with HTMX and allauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.6
  • 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

About

A starter project for Django 5 with HTMX and allauth

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 60.3%Language:HTML 37.7%Language:PowerShell 1.0%Language:CSS 0.8%Language:Dockerfile 0.2%