More batteries to Django
Project description
df_site
A single Django app that contains many features and tools to create a website. It offers a template based on Bootstrap5 with the required views for:
- login/logout (with Django-allauth and all its methods like passkeys)
- a profile management view
- a dark mode
- a cookie consent banner (with DjangoCookieConsent)
- a message app between users (django-postman)
- a connection to websockets (django-channels and df_websockets) for pushing data to the client
- a configurable object lists with sorting, pagination and filters (similar to the Django admin list views) integrable in any template
- a configurable object detail view similar to the Django admin detail view
Frontend
- SCSS: Bootstrap uses SCSS
- pnpm: easy to use, most efficient than npm and yarn
- Bootstrap: the only CSS framework with a Django package
- TypeScript
- Webpack
- Node.js: used by webpack
- Font-awesome
- Dark Mode
- Htmx
- Select2: still use jQuery in 2024 and no real plan to remove it
- Javascript editor
Excluded
- Vite: created SPA
- Material-UI: no Django package
- TailwindCSS: no Django package
- npm: replaced by pnpm
- yarn: replaced by pnpm
- AlpineJS: hard to comply with a strong CSP
- React
- Better-nice-Select
Backend
- Django
- Django-pipeline
- Django debug toolbar
- Poetry
- Python3.12
- DjangoCookieConsent
- Django-postman
- Django-allauth
- Django Rest Framework
- Django Channels
- Gunicorn
- Hypercorn
- Celery
- Django-auto-complete-light
- Django-htmX
- Django-components
- Django-recaptcha
- django-ckeditor-5
- Complete solution for ListView,
- Complete solution for DetailView
- CreateView, UpdateView, DeleteView
- alert messages when the site is offline (maintenance mode)
- wait for the database to be ready
- display global messages and banners
- Error templates
- Smileys in the Editor
Excluded
- Django-select2: django-auto-complete-light is better
WYSIWYG editor
- CKEditor with django-ckeditor-5: GPL license
- TinyMCE with django-tinymce: cannot use a strong CSP (unsafe-inline styles are required)
- Trix with django-prose: use nonce for inline styles
- summernote with django-summernote: still use jQuery and cannot use a strong CSP
- Froala: expensive
- ACE: code editor
- Django-RichtextField: use CKEditor or TinyMCE
Specific URLs
HTML and web server
- Nginx
- Apache
- HTTP/2
- Mozilla observatory
- OpenGraph meta tags
- Performances
- Generate a favicon
- Favicon validation
- HTML validation
- OpenGraph validation
- Structured data validation
- Webhint
- Lighthouse
- SSL validation
- XML site map
- Schema.org CSS Validator, Link Checker, JS Validator
DevOps
- git
- Precommit
- Docker
- Docker Compose
- SonarQube
- Pytest
- Jest
- Playwright
- editorconfig
- Copyright checking
- Monitoring and alerting
- django-probes
- Django-prometheus
Code analysis and formatting
- Dockerfile
- HTML DjHTML
- ini
- JavaScript: ESlint
- JSON
- Markdown
- Python: Ruff
- SCSS StyleLint
- TOML
- TypeScript: ESlint
- YAML
Excluded tools
- JSHint: replaced by ESLint
- JSLint: replaced by ESLint
- JSCS: replaced by ESLint and limited to code style
- Pylint: replaced by Ruff
- Flake8: replaced by Ruff
- Black: replaced by Ruff
- isort: replaced by Ruff
- PyDocStyle: replaced by Ruff
- PyUpgrade: replaced by Ruff
- Autoflake: replaced by Ruff
- SassLint: no longer maintained
Database and storage
Technologies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
df_site-0.1.9.tar.gz
(3.8 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file df_site-0.1.9.tar.gz.
File metadata
- Download URL: df_site-0.1.9.tar.gz
- Upload date:
- Size: 3.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bd8fd58c58bc3e8f9853efeb3244564309243e16194ace89f2f5f1ff5f1984b
|
|
| MD5 |
00cca84ef26b5726d78aeff0fe0a49ff
|
|
| BLAKE2b-256 |
d71e73e07a4fc509f3df95181cbfcfa3ca4b0b63d0abf3015613234e9fb61494
|
File details
Details for the file df_site-0.1.9-py3-none-any.whl.
File metadata
- Download URL: df_site-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6621daf71b330eecff54ae15e7cdf24b65e6842af4d6f1dca3a851f4b08db2cd
|
|
| MD5 |
365d2b233f3206afe024bdcedab35114
|
|
| BLAKE2b-256 |
411b3c6495c7c6d8673eb6af662f4014d1c435c866ca60c3962cf0c461bb50b5
|