django-starter-template

Django 5+, Django Rest Framework, Redis/Celery and more

MIT License

Stars
23
django-starter-template - 0.1.2 Latest Release

Published by wilfredinni 5 days ago

πŸš€ Features

  • Add tests for abstract BaseModel.
  • Add tests for abstract SoftDeleteBaseModel.

πŸ› οΈ Refactors

  • Remove ordering for abstract BaseModel. Too much boilerplate to make it work.

🐞Fixes

  • Fix soft delete when deleting a queryset.
  • Fix Black formatter not being enabled by default.
  • Fix WhiteNoise STATIC_ROOT warning when running tests.
django-starter-template - 0.1.1

Published by wilfredinni 5 days ago

🐞 Fixes

  • Fish terminal throws an error when creating the Dev Container on Linux

πŸš€ Features

  • New TODO instructions for setting up the project (before creating the Container).
  • Added 404 and 500 error pages.

πŸ› οΈ Refactors

  • Comments on BaseModel.
  • README instructions and features.
django-starter-template - 0.1.0 - Django Starter Template

Published by wilfredinni 7 days ago

A comprehensive and easy-to-use starting point for your new API with Django and DRF.

  • πŸ§ͺ Fully tested with Pytest.
  • πŸš€ Enjoy the latest version of Django (5+) with all its features and improvements.
  • 🌐 Django Rest Framework for building APIs.
  • ⛃ Start your project with PostgreSQL without the need to install and configure it.
  • πŸ“¦ Redis caching out of the box.
  • πŸ”’ Login, Logout, Logout all, User profile and creation with Knox, an easy-to-use authentication for DRF.
  • πŸ‘€ Extended user model and a custom manager with the email as the unique identifier. Define your own fields and behaviors specific to your application's requirements.
  • πŸ”’ A custom BaseModel to easily add created_at and updated_at fields to your models.
  • πŸ”’ A custom SoftDeleteBaseModel to add soft delete functionality to the models you choose to.
  • πŸ•’ Fully configured asynchronous tasks with Celery. It also includes a reusable BaseTaskWithRetry.
  • πŸ•‘ django_celery_results enables Celery to store task results using Django's database backend.
  • πŸ“… django_celery_beat for periodic task scheduling using the Django admin interface.
  • πŸŒͺ️ django-filter add support for complex filtering of querysets in Django and DRF views.
  • Test your queries and code interactively with Jupyter Notebooks.
  • 🐞 Django Debug Toolbar for debugging and profiling and Django Extensions for custom management commands and model enhancements.
  • πŸ‘¨β€πŸ’» Develop with VS Code and Dev Containers. Get out of the box code formatting with Black, linting with Flake8 and test with Pytest.