django-api-domains
rapidpro
django-api-domains | rapidpro | |
---|---|---|
6 | 1 | |
692 | 37 | |
- | - | |
3.0 | 0.0 | |
6 months ago | 5 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-api-domains
- Django Styleguide
-
This Week In Python 🎅
Django API Domain Driven Design Style Guide
-
Django monolith best practices
For more, you can google up Django DDD, and most of these approaches somehow do separate the ORM from the rest of the application. https://phalt.github.io/django-api-domains/ takes up this matter in a similar fashion.
-
Where should I put code that calls external API to perform calculations on model fields?
Look into DDD
- Como desenvolver algo mais robusto?
- Como avançar no conhecimento?
rapidpro
-
Django Styleguide
Maybe you need to turn this into an article because over the last decade of working with Django, we've learnt the same lessons, sometimes the hard way. Learning to never import real models into data migrations was a big one.
I recently wanted to move a model between apps and ended up going the route of create new table, copy all rows over, delete old table. It was annoying, but the only way to make it work with regular migrations.
We ended up writing our own script[1] to squash migrations, and I'd love to know if there's a better way. We needed something that works for clean installs or existing installs that already have the current migrations installed - so it generates empty migrations which get applied on existing installs, and then they get replaced with real initial migrations on clean installs starting from a new release.
1. https://github.com/nyaruka/rapidpro/blob/main/tools/squash_m...
What are some alternatives?
Django-Styleguide - Django styleguide used in HackSoft projects
spinach - Modern Redis task queue for Python 3
graphene-django-plus - Tools to easily create permissioned CRUD endpoints in graphene.
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.
vhdl-style-guide - Style guide enforcement for VHDL
dramatiq - A fast and reliable background task processing library for Python 3.
django-db-queue - Simple database-backed job queue
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Sentry - Developer-first error tracking and performance monitoring
awesome-django - A curated list of awesome things related to Django