Django-Styleguide
django-db-queue
Django-Styleguide | django-db-queue | |
---|---|---|
29 | 5 | |
4,589 | 158 | |
1.7% | 0.0% | |
4.7 | 6.3 | |
9 days ago | 23 days ago | |
Python | Python | |
MIT License | BSD 2-clause "Simplified" License |
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-Styleguide
-
Django project structure
There are alternatives, such as HackSoft's Django style guide, but fat models, thin views is usually good enough.
-
Django Views – The Right Way
I think this is a great resource. The only comment I have is on the Thin Views chapter. Instead of attaching logic to the models, I like to make a services.py file in my app that has functions that satisfy all sorts of business logic.
Here's another opinionated Django guide: https://github.com/HackSoftware/Django-Styleguide if anyone's interested
-
Django github projects
you can follow the Django Style Guide by Hacksoft. They have awesome style guide for you on github https://github.com/HackSoftware/Django-Styleguide
- I'd like to look at well written Django projects.
-
DRF + React
I would also recommend taking a look at HackSoftware's django styleguide repo. I found applicable. You don't have to follow it religiously (or at all) but still brings up some good food for thought.
-
How do you Manage Orchestration in semi-complex apps?
I've read from Django Styleguide, Two Scoops of Django, Django for Startups, Still No Service, and a few threads even here in this subreddit (they largely reference above).
-
Learning Django as a non-beginner code/python
Perhaps the Django style guide is suitable? It definitely isn't a basic tutorial but perhaps it's too advanced? https://github.com/HackSoftware/Django-Styleguide
-
Has anybody implemented clean architecture in a Django application?
well Django encourages you to tightly couple your django code with your views but even I do not like that way of doing it. So what I had started following HackSoft's Django styleguide - https://github.com/HackSoftware/Django-Styleguide to write my Django code.
-
This Week In Python
Django-Styleguide – Django styleguide used in HackSoft projects
- Django Styleguide
django-db-queue
- Django Styleguide
-
Show HN: Chard – simple async/await background tasks for Django
I love the simplicity of this idea because for lots of sites the database works just fine as a queue backend and it reduces the amount of infrastructure needed. I currently use https://github.com/dabapps/django-db-queue for devmarks.io which also uses the database to store tasks instead of a dedicated queue infrastructure. `Django Q` also has an option to use the database, but I haven't tested it at all: https://django-q.readthedocs.io/en/latest/configure.html#orm. And if you are already running `redis` for your site, https://github.com/rq/django-rq is another option.
The one benefit of this package is that it is async-first which will be beneficial as Django continually adds in more async capabilities. Nice work! I'm looking forward to trying this out and seeing how it works!
-
Simple Task Queue system that works with Django 4 / Python 3.9?
https://github.com/rq/django-rq if you already have redis available or https://github.com/dabapps/django-db-queue for something even simpler. I’ve used both and vastly prefer them over celery.
-
Dealing with tasks that take longer than 30 seconds on Heroku
Check out https://github.com/dabapps/django-db-queue for example.
-
what are 3 django packages everyone should know about?
django-db-queue: queue without needing redis, celery, etc.
What are some alternatives?
very_good_cli - A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
django-q - A multiprocessing distributed task queue for Django
awesome-django - A curated list of awesome things related to Django
django-fsm - Django friendly finite state machine support
django-api-domains - A pragmatic styleguide for Django API Projects
django-constance - Dynamic Django settings.
spinach - Modern Redis task queue for Python 3
import-linter - Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
django-elasticsearch-dsl - This is a package that allows indexing of django models in elasticsearch with elasticsearch-dsl-py.
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.
django-rest-framework - Web APIs for Django. 🎸