djangoproject.com
Django-Styleguide
djangoproject.com | Django-Styleguide | |
---|---|---|
6 | 29 | |
1,840 | 4,589 | |
0.5% | 1.7% | |
8.5 | 4.7 | |
3 days ago | 9 days ago | |
PostScript | Python | |
BSD 3-clause "New" or "Revised" License | MIT 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.
djangoproject.com
- I'd like to look at well written Django projects.
-
Is there a way to monitor a security advisory of a repository that you use?
Not every project uses Github's advisories - e.g. Django: https://github.com/django/djangoproject.com/security/advisories - but projects often publish advisories on their own site (e.g. https://docs.djangoproject.com/en/4.1/releases/security/) or you might find them elsewhere (e.g. https://www.cvedetails.com/vulnerability-list/vendor_id-10199/product_id-18211/Djangoproject-Django.html)
- django books on testing
-
Any enterprise level open source django project?
I am not sure if this fits the enterprise definition but djangoproject.com is open source https://github.com/django/djangoproject.com
-
Django well designed app.
Probably https://github.com/django/djangoproject.com
-
PHP maintains an enormous lead in server-side programming languages
Sure, but this is still going to be pretty limited when detecting non-PHP languages. How are you going to detect a language which puts no extra headers in HTTP response and has no associated extensions?
But, luckily for us, w3techs lets you check individual websites... and the data is often wrong or missing
github on server side is Javascript! https://w3techs.com/sites/info/github.com (it is actually Ruby)
Djagoproject.com on server side is unknown! https://w3techs.com/sites/info/djangoproject.com (it is actually Django, which is a Python web framework: https://github.com/django/djangoproject.com)
microsoft.com was using PHP and WordPress "unil recently" https://w3techs.com/sites/info/microsoft.com
gitlab.com is "ASP.NET, Python and Ruby (on subdomain) https://w3techs.com/sites/info/gitlab.com
google.com, youtube.com and amazon.com are unknown https://w3techs.com/sites/info/google.com etc..
========
I stand by my opinion that w3techs is junk when determining types of server-side language. The only reason there are so much PHP is because PHP is the biggest major language left which is easy to detect. And they hide the low quality of the results it by not including "unknown" category in the graph -- with that category, it would be much clearer how bad their detection works.
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
What are some alternatives?
koku - An open source solution for cost management of cloud and hybrid cloud environments.
very_good_cli - A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
nautobot - Network Source of Truth & Network Automation Platform
awesome-django - A curated list of awesome things related to Django
Saleor - Saleor Core: the high performance, composable, headless commerce API.
django-api-domains - A pragmatic styleguide for Django API Projects
PostHog - 🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
spinach - Modern Redis task queue for Python 3
horizon - OpenStack Dashboard (Horizon). Mirror of code maintained at opendev.org.
import-linter - Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
Read the Docs - The source code that powers readthedocs.org
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.