Hacker GitHub

← All repos

django/django

View on GitHub ↗ ★ 91,713 Python

The Web framework for perfectionists with deadlines.

152 mentions on Hacker News by 134 people: 15 stories, 137 comments · first 2011-07-19 · latest 2026-07-27

Mentions per year 152 mentions · busiest year 2013 (16)
20082026
  1. …defaults to no threading [0], and just uses the plain WSGIServer instead of the threaded mixin. [0] https://github.com/django/django/blob/main/django/core/serve...
  2. …was using a VCS with branches before moving to git/github, and have a look at the repo history: https://github.com/django/django/commits/stable/6.0.x Yes, every commit is prefixed with the branch name. Because, unlike mercurial, git is…
    comment by ezst · 2026-04-14 · in GitHub Stacked PRs
  3. Has it been merged into the GitHub repo? I wasn't aware of that and I don't see it here: https://github.com/django/django/tree/main/django/tasks/back...
  4. …Martin von Löwis). In fact a limited shim layer was initially committed based on Vinay’s efforts: https://github.com/django/django/commit/5e6ded2e58597fa324c5... The team ultimately decided to use and re-export six for the convenience of…
    comment by masklinn · 2025-11-20 · in What Killed Perl?
  5. …get with git while most other VCSes (like Mercurial, my preference) got right from the start. ¹: https://github.com/django/django/commits/stable/6.0.x
  6. …implementation [2] and the easiest path there is (that I can think of) a Celery wrapper =) [1] https://github.com/django/django/blob/main/django/tasks/base... [2] https://github.com/django/django/blob/main/django/tasks/back...
    comment by proszkinasenne2 · 2025-09-18 · in Django 6.0 alpha 1 released
  7. "settings.py" is your local configuration. The global default is still Chicago: * https://github.com/django/django/blob/main/django/conf/globa...
    comment by throw0101a · 2025-08-13 · in The Factory Timezone
  8. ▲ 2
    Composite primary key support lands in Django
    story by eloh · 2024-12-01 · 1 comment
  9. There is an ongoing effort to include back the equivalent in core [here]( https://github.com/django/django/pull/17554 )
  10. …three years ago in a one-line change.[0] Presumably the fix was already in the training data. [0] https://github.com/django/django/pull/13933
  11. …2: https://www.twitch.tv/j_blow 3: https://www.youtube.com/watch?v=rysgxl35EGc 4: https://github.com/django/django/blob/main/django/db/models/... 5: https://docs.djangoproject.com/en/4.2/topics/db/aggregation/
  12. …easy, thanks to Django's built-in syndication library (a feature for over 18 years at this point https://github.com/django/django/commit/944de9e9e638bc239b03... )
    comment by simonw · 2023-08-19 · in Why your blog still needs RSS
  13. …though, it seems like the implementation supporting all this is around ~20,000 lines of Python: https://github.com/django/django/tree/main/django/db/models That doesn't strike me as a super lightweight. For comparison, all of Flask (a…
    comment by lelandbatey · 2023-08-14 · in Python: Just Write SQL
  14. …increase those periodically (the latter part that LastPass is struggling with, per the article). https://github.com/django/django/blob/650ce967825aa192222391...
    comment by 8organicbits · 2023-06-25 · in LastPass users locked out due to MFA resets
  15. …bcrypt, and a database library like psycopg2), but they are small and mostly self-contained. [0] https://github.com/django/django/blob/main/setup.cfg#L39-L42 [1] https://github.com/django/asgiref/blob/main/setup.cfg#L34-L3...
    comment by Kwpolska · 2023-04-07 · in Building GitHub with Ruby on Rails
  16. …the post, but Monkey Patching core Django files is not to be taken lightly in production code. [0] https://github.com/django/django/blob/main/django/db/models/...
    comment by irjustin · 2023-03-27 · in Ban 1+N in Django
  17. With the new GitHub code search, the first result is the DeleteView class: https://github.com/django/django/blob/bd366ca2aeffa869b7dbc0...
  18. …there are 0 code results. Zero. GitHub search is mystifyingly bad, I hope this is a LOT better. [0] https://github.com/django/django/search?q=DeleteView&type=co... [1] https://github.com/django/django/blob/main/django/views/gene...
  19. Django is an WebFramework, Meinheld is an WSGI Server framework. https://github.com/django/django https://github.com/mopemope/meinheld So django meinheld is basically saying that i used Django served by meinheld in that benchmark.
  20. …Django in a thread that can be restarted on code change [1] ; It does not keep the state in memory. https://github.com/django/django/blob/e34dfad0a310c616c7b62e...
  21. …> $ pip freeze | wc -l > 13 > $ pip install django psycopg2-binary > $ pip freeze | wc -l > 4 1. https://github.com/django/django/blob/60a7bd89860e504c0c33b0...
    comment by orf · 2022-11-28 · in Open Source and Saying “No”
  22. …legendary PR to the Django docs that fixed all kinds of words that "minimize difficulty involved": https://github.com/django/django/pull/11482
    comment by simonw · 2022-11-08 · in Just don’t
  23. GitHub says it's 97.1% python and doesn't list C. https://github.com/django/django
    comment by rascul · 2022-10-29 · in Rust Web Framework Comparison
  24. …fire in terms of code quality. Opening random file on github: django.core.serializers.python https://github.com/django/django/blob/main/django/core/seria... - function name doesn't match pep8 - name doesn't match its behavior - docstring…
  25. https://github.com/django/django Django's codebase is a pleasure to read. The directory structure is intuitive to navigate, and test coverage is great.
  26. …bug[1] referencing "for diversity reasons". Maybe there are scholarly papers on this issue? 0: https://github.com/django/django/pull/2692 1: https://bugs.python.org/issue34605
    comment by judge2020 · 2022-05-11 · in D1: Our SQL database
  27. …to do something with Django, I just read the code [1] and then everything is easy and clear. [1]: https://github.com/django/django
  28. ….com/django/deps/blob/main/accepted/0008-black... 1: https://news.ycombinator.com/item?id=30130316 2: https://github.com/django/django/pull/15387
    comment by samwillis · 2022-02-08 · in Django: Reformatted code with Black
  29. …doesn't support it but at least it's possible to have clients behave in a reasonable way. [1] https://github.com/django/django/pull/15387#issuecomment-103...
    comment by tempay · 2022-02-08 · in Django: Reformatted code with Black
  30. ▲ 19
    Django: Reformatted code with Black
    story by collinmanderson · 2022-02-08 · 4 comments
  31. ▲ 284
    Django: Reformatted code with Black
    story by tams · 2022-02-08 · 245 comments
  32. Very true, and I have been following this pull request implementing Async Queryset with interest: https://github.com/django/django/pull/14843 So far they are only going down the the queryset level, it then uses a thread pool for the db…
  33. …while trying to maintain backward-compatibility. Here's rough code (again, from 2015): https://github.com/django/django/pull/4553 Since 2015, Django now has class-based-indexes which should make things slightly easier:…
    comment by collinmanderson · 2021-11-22 · in Django 4.0 release candidate 1 released
  34. The API is being worked on: https://github.com/django/django/pull/14843
    comment by julienpalard · 2021-11-22 · in Django 4.0 release candidate 1 released
  35. …well written. Fun little tidbit, Django abuses the fact that bools are ints in it's partition util: https://github.com/django/django/blob/01bf679e59850bb7b3e639...
    comment by DangitBobby · 2021-10-10 · in Understanding Python through its builtins
  36. ▲ 130
    Django 4.0 will include a built-in Redis cache back end
    story by stanulilic · 2021-09-17 · 58 comments
  37. The patch was reverted later: https://github.com/django/django/pull/1653
  38. …to be hashed. Longer the password, longer the hashing takes. Django had to patch this back in 2013: https://github.com/django/django/commit/5ecc0f828ebe270cfc92...
  39. …Note this [1] recommends using zip files for speed, especially for larger repositories: pip install https://github.com/django/django/archive/master.zip pip install https://github.com/django/django/archive/stable/1.7.x.zip [1]…
    comment by stinos · 2021-04-08 · in How to make a Python package in 2021
  40. …a small audit of Seafile years ago and I don't think that argument flies. For example, they copied https://github.com/django/django/blob/23c612199a8aaef52c3c7e... to https://github.com/haiwen/seahub/blob/b6f8935c0f355cc70145f9... and…
  41. …create the Hstore extension for you [1] during migrate whenever you use a HStoreField [1] https://github.com/django/django/blob/f5e07601b233a50e6bcca4... Edit: I might've been mistaken here in thinking the above migration operation was…
  42. …//hakibenita.com/django-rest-framework-slow . If you weren't able to update to a 3.x version that has https://github.com/django/django/commit/a2c31e12da272acc76f3... , this might have bit you pretty hard.
  43. …debate at all, see for example the proposal to replace master/slave with leader/follower in django: https://github.com/django/django/pull/2692
  44. …because people have been killed and that makes some people sad when they think about it. [0] https://github.com/django/django/pull/2692
  45. …and Flask[3] implementations or my talk[4] for more details. 1. https://pypi.org/project/hupper/ 2. https://github.com/django/django/blob/master/django/utils/au... 3. https://github.com/pallets/werkzeug/blob/master/src/werkzeug... 4.…
    comment by orf · 2020-06-14 · in Hot-swapping Python 3 code
  46. …if you want to create a list of fields and pass it into BaseForm then go for it. Most don’t. 1. https://github.com/django/django/blob/5776a1660e54a951591644...
  47. …them from themselves. Your issue can be fixed with a linter, mine can't. Look at this python code: https://github.com/django/django/blob/master/django/core/mai... In my opinion, it's rather difficult to tell where one if/else block ends,…
  48. …tps://github.com/sourcegraph/sourcegraph Spectrum - https://github.com/withspectrum/spectrum Django - https://github.com/django/django
  49. Hard not to love Django and djangorestframework both have very readable code and great docs. https://github.com/django/django https://github.com/encode/django-rest-framework
  50. …Django, uses PBKDF2-SHA256 with 216000 iterations, for example https://github.com/django/django/blob/master/django/contrib/... Given Bitwarden allows almost 10x that, not sure I see the issue.