Generate a django project from the fuzzy-couscous template.
Project description
fuzzy-couscous
✨📚✨ Read the full documentation
My highly opinionated django project template based on django's startproject --template. This project is heavily inspired by cookiecutter-django but is meant to be a lighter version. This template also comes with a cli tool with additional commands to hopefully improve your django development experience.
Features
- Django 4+
- Python 3.10+
- Frontend: htmx with editor support using web-types
- Template fragment with django-render-block
- Secure production settings, https only.
- Settings using django-environ
- Login / signup via django-allauth
- Custom user model based on django-improved-user
- Login using email instead of username
- Automatically reload your browser in development via django-browser-reload
- Better development experience with django-fastdev
- Amazon SES for production email via Anymail
- Docker ready for production
- Optional production cache settings using the
CACHE_URLorREDIS_URLenvironment variables. captain-definitionfor deploying to caprover- Sentry for performance/error monitoring
- Serve static files with Whitenoise
- Default integration with pre-commit for identifying simple issues before submission to code review
- Integrated task runner with poethepoet
- Dependency management using poetry (can be replaced by virtualenv using the
remove-poetrycommand)
Templates
I use github branches to create variations of the base template.
- main: The base template
- tailwind: The base template + tailwindcss via pytailwindcss
- bootstrap: The base template + bootstrap5 via django-bootstrap5
Quickstart
Install the latest version of the package
pip install fuzzy-couscous --upgrade
Initialize a new project
cuzzy make project_name
Development
Poetry is required (not really, you can set up the environment however you want and install the requirements manually) to set up a virtualenv, install it then run the following:
poetry install
pre-commit install --install-hooks
Tests can then be run quickly in that environment:
pytest
Feedback
If you have any feedback, please reach out to me at tobidegnon@proton.me or open a discussion.
Contributors
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
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 fuzzy_couscous-2.2.0.tar.gz.
File metadata
- Download URL: fuzzy_couscous-2.2.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f3eeb15d76fe58b86d74dc27e81ceb84c6afed2bd2385af99771636043e365
|
|
| MD5 |
f70bf8b82c2dd71581be39ba20bbcdb2
|
|
| BLAKE2b-256 |
3ff07ca14cee10e6d7b35f5118743604bf59fda206154d3fdc4d2789dac350a8
|
File details
Details for the file fuzzy_couscous-2.2.0-py3-none-any.whl.
File metadata
- Download URL: fuzzy_couscous-2.2.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.2 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88ac3733568ac6719aa4965329ce40b3b9cc1e26ee8d7ea46347bf1814b4d559
|
|
| MD5 |
ffd9f29421f0f71a726dcb474d74ee47
|
|
| BLAKE2b-256 |
78876a76b876e34d7ceae10335dfbedeeea011ec09c8b751cfcf423ceea1c592
|