Django community: RSS
This page, updated regularly, aggregates Django links from the Django community.
-
TristanPerry/plagiarism-detection-software: Plagiarism detection software written in Python 3 and Django
-
Why I miss Rails | chanind.github.io
-
documentation · develop · briancaffey / verbose-equals-true · GitLab
-
I Miss Rails | Hacker News
-
Contributing to classiness (in Django)
A couple weeks ago I ran a poll on Twitter asking people whether they’d ever used, or considered using, the contribute_to_class() method to write something that attaches to or hooks into a Django ORM model class, and if so what their thoughts were. There was also a “don’t know what that is” option, which won by a large margin, and I promised I’d provide an explanation. Unfortunately, that was around the time I suffered a kitchen accident which left me without full use of my left hand for a bit. Full healing will take a little while longer, but it’s at the point where I can mostly type normally again, so it’s time to provide the explanation. First, though, I need to provide some explanation for the explanation. Stick with me, and hopefully it’ll make sense at the end. -
No need to use get_context_data, use {{ view.some_method }} - Reinout van Rees
The template then uses the automatic view variable to grab the list of books and the title: {{ view.title }} {% for book in view.books %} {{ book }} {% enfor %} Isn’t that wonderful? It fits Django’s philosophy perfectly: the templates should be dumb, the processing should happen inside the view. Now it is dead easy to “just add a method” to calculate something, the method will automatically be available in the template as view.your_quick_helper_method. -
Graphene-Python
-
The Dramatic Benefits of Django Subqueries and Annotations
If a web request is stretching into seconds, 99% of the time the database isn’t being used correctly. When using the ORM, its natural to want to think in Python. This mindset can be disastrous for your applications performance. Its possible to see 20–100x speedups for requests by switching to subqueries and annotations. The Django 1.11 release turned the framework into a serious way to express queries. More robust annotations and subqueries make the vast majority of SQL possible in stock Django. -
django-oauth-toolkit/oauth2_validators.py at master · jazzband/django-oauth-toolkit
-
Adding a lightweight dashboard to the Django admin
-
stphivos/django-mock-queries: A library for mocking django queryset functions in memory for testing
-
How to Implement Token Authentication using Django REST Framework
-
Quiet down ‘faker’ in pytests - Reinout van Rees
-
Top Tutorials To Learn Django Framework For Python Beginners
-
mysql - Django: Can you create a relationship with an auto-generated through table? - Stack Overflow
Here's a way to get a reference to the auto-generated "through" table that Django makes for a ManyToManyField. --- You can access the ManyToManyField intermediate model with the through attribute. So this should work: class MealDishEater(models.Model): meal_dish = models.ForeignKey(Meal.dishes.through, on_delete=models.CASCADE) -
Companies that use Django & Django Integrations | StackShare
-
Building Cursors for the Disqus API - David Cramer's Blog
-
Part 1 — Integrating Django and Vue.js with a webpack hot reload development server
-
My Favorite Django Packages in 2019 · vsupalov.com
-
My Favorite Django Packages in 2019 · vsupalov.com
Django packages which will make your project more fun to work on, take care of common tasks, and help you to get more done. -
My Favorite Django Packages in 2019 · vsupalov.com
-
How to Upload Files With Django
-
The Ultimate Guide to Django Redirects – Real Python
-
Django Class-Based-View Inspector -- Classy CBV
Flattened documentation view of each of Django's class-based views. -
SQLAlchemy and You | Armin Ronacher's Thoughts and Writings