dj-tracker
Wagtail
dj-tracker | Wagtail | |
---|---|---|
7 | 52 | |
72 | 17,241 | |
- | 1.0% | |
6.6 | 9.9 | |
6 months ago | 3 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
dj-tracker
-
Finding n + 1 problem on a local machine
I'd recommend dj-tracker. It can show you exactly which field your related queries come from and you'll easily be able to know when your N+1 problem is solved or not using the dashboard. See the Detect and resolve related queries page on the docs. (It comes with very little overhead compared to silk or debug-toolbar and it persists all the data in a database so you don't lose when you quit the server).
-
Queryset performance when joining tables?
You could try dj-tracker. It'll help you detect N+1 or any related queries but also apply the deferring optimisation suggested by eysidi.
-
A Django app that tracks your queries to help optimize them
That was the little story for dj-tracker and here is what it can do in summary: - Keep track of all fields accessed (allowing to use only or defer when some fields aren't used - Keep track of all attributes accessed (it can then give you a hint to use .values or .values_list) - Show how effective a queryset's cache is (and provide hints on using the .iterator optimisation) - Show all related queries in the same section and where they come from (making it super easy to detect N+1 queries) - Detailed traceback, SQL and template information for each query - Everything is persisted in a database so you can see how your application performs over time
- A Django app that helps monitor and improve your database queries
-
Django performance optimization techniques
For these reasons and many others (we lose the data as soon as we quit the session, it only keeps track of queries inside a request/response cycle i.e not in a background job for example...), I started building an app (dj-tracker) that can give you various insights into your queries but also hints on how to optimize them.
-
dj-tracker - A django app that tracks your queries and helps optimise them
Hmm, interesting. There is a Github action that builds wheels and uploads them to Pypi. That's why I didn't specify Cython in the project's dependencies. I guess I'll need to look at it more in-depth. I'll also update the documentation re urls.
Wagtail
-
Release Radar β’ February 2024 Edition
If you like Python π then check out this project. Wagtail is a popular CMS, combining Djangoβs powerful customization capabilities with a slick user interface. The newest update brings Django 5.0 support, a new searchable and filterable listing UI, the accessibility checker built into the admin interface, and a brand new 10-step tutorial for developers. This release marks Wagtail's 10th birthday π. Happy birthday to the team and all the best for the next ten years and beyond π₯³.
-
ππ 23 issues to grow yourself as an exceptional open-source Python expert π§βπ» π₯
Repo : https://github.com/wagtail/wagtail
-
How and why the Wagtail page editor is evolving
- The discussion thread we use to track all public feedback: https://github.com/wagtail/wagtail/discussions/9553. Comments very welcome.
-
A Django app that tracks your queries to help optimize them
Not so long ago, I submitted a Pull Request in wagtail to improve the admin performance, especially for non-superusers. Basically, it caches all the user's permissions on first access. However, I was pretty sure that this would load a lot of model fields that we never need but there isn't a tool that gives us that type of report. Therefore, I started building an app that keeps track of all fields accessed so you can easily know which ones haven't been used and apply the only/defer optimisation for Django querysets.
-
I want to add unit tests to my Django project but don't know where do i even start
Wagtail would be a good example https://github.com/wagtail/wagtail/tree/main/wagtail/tests
- Build Blog With Wagtail CMS (4.0.0) Released!
- Javascript is still the most used programming language in newly created repositories on GitHub
-
On mentoring for an an open-source internship
Paarth moving from no contributions to the 21st most contributions - https://github.com/wagtail/wagtail/graphs/contributors.
-
Ten tasty ingredients for a delicious pull request
Over the last few years, I have had the incredible opportunity to be a core team member of the Wagtail project. In that time, I have reviewed many new pull requests, and Iβve also had the chance to submit many of my own across Wagtail and many other projects.
-
Still stuck on Wagtail 2.15, how to move forward?
Wagtail 2.15 is the most recent LTS (Long Term Support) release, so itβs not a bad release to stick to at all, at least until February 2023.
What are some alternatives?
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
django-cms - The easy-to-use and developer-friendly enterprise CMS powered by Django
Cyberbrain - Python debugging, redefined.
Mezzanine - CMS framework for Django
python3-trepan - A gdb-like Python3 Debugger in the Trepan family
Strapi - π Strapi is the leading open-source headless CMS. Itβs 100% JavaScript/TypeScript, fully customizable and developer-first.
winpdb - Fork of the official winpdb with improvements
WordPress - WordPress, Git-ified. This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit pull requests to https://github.com/WordPress/wordpress-develop and patches to https://core.trac.wordpress.org/ instead.
pyringe - Debugger capable of attaching to and injecting code into python processes.
Plone - The core of the Plone content management system
wdb - An improbable web debugger through WebSockets
FeinCMS - A Django-based CMS with a focus on extensibility and concise code