Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Adapting Interview Questions for Junior Candidates
Sébastien asks: “Would you say that your questions are equally applicable to junior and senior positions?” -
Setup PyCharm to use a Django project in docker
To be sure every developer work with the same controlled development environment, more and more teams use docker. That way every developer will work on the same environment, regardless of their operating system. Using docker as a development environm... -
Weeknotes (2021 week 12)
Weeknotes (2021 week 12) Not much open source work this week. The final thesis and presentation for the CAS in Interaction Design was due. I learned a lot but for now I’m just glad that it’s over. I’m looking forward to relearning how to do “nothing” on weekends. FeinCMS 1.20 Some FeinCMS 1.x ItemEditor element attributes clashed with new IDs introduced in Django 3.1. The new version of FeinCMS fixes this. feincms3 Fixed a few problems in the new inline CKEditor widget for the Django admin. An oversight made it impossible to add CKEditor instances with different configurations. Luckily enough this only affected beta/preview releases :-) -
“Fair” Doesn't Mean “Equal”
Some conversations about my previous piece brought me back to one of the earliest lessons I learned in my management career. It’s a realization that’s embarrassingly obvious in hindsight: treating people fairly doesn’t mean treating everyone the same. -
Cloudinary with django
Cloudinary provides a cloud-based image and video management services. It enables users to upload, store, manage, manipulate, and deliver images and video for websites and apps. the reason why i'm using cloudinary is because, i onced deployed my dja... -
How to download Pandas Dataframe as Excel or CSV in Django?
Implementation of downloading a file using Django and Pandas with information about HTTP Response. -
Phoenix vs Django - The battle of brave and wise
This is something I thought of on the toilet and decided to write about :D I'll also compare the two languages with JavaScript, but I won't compare the framework because, in my opinion, there's no Node framework that compares to their frameworks' fe... -
Django News - DRF 3.12.3, PyPI API tokens, articles, and more! - Mar 26th 2021
News Django REST framework 3.12.3 DRF 3.12.3 is out which includes a bunch of bugfixes. django-rest-framework.org The Python Package Index is now a GitHub secret scanning integrator GitHub and the Python Package Index (PyPI) are collaborating to help protect you from leaked PyPI API tokens. github.blog Sponsored Link Migrating from Django 1.7 to 3.1 is no small task. Learn how to successfully leapfrog a massive Django/Python upgrade. sixfeetup.com Articles Understand Django: Deploy a Site Live The 13th in a series of articles by Matt Laymn, the latest explains how and why to properly deploy a Django site. mattlayman.com Effectively Using Django REST Framework Serializers A look at how to use Django REST Framework (DRF) serializers more efficiently and effectively by example. Along the way, we'll dive into some advanced concepts like using the source keyword, passing context, validating data, and much more. testdriven.io How I built API for iOS Feeds in 10 minutes How to quickly add an API to an existing project. nemecek.be How managers should respond to defensiveness after feedback From Jacob Kaplan-Moss, some sage advice on managing developers. jacobian.org Carlton Gibson - Releasing Django 3.2rc1 Django Fellow Carlton Gibson's notes on the release process for Django 3.2 … -
Thoughts on Setting Up a Blog
This post was first sent to my newsletter on March 19th, 2021. You really ought to subscribe :) I blame Mahe for this post. Hey, Jason! Can you please write an article on how to build a website like yours, where I can post my blogs? Check out her blogs, here and here. Read more… (6 min remaining to read) -
The Complete Django Authentication System
This is the final step in making a basic Authentication system or App in Django. There are many other concepts that we will cover in our further tutorials. So in our previous section, we have successfully added models to admin and access them via the... -
Building Admin Dashboard Using Django Admin
In this section, we will learn what is Admin in Django and how to create a superuser account for your website and access the admin interface from the browser. So in our previous section, we have successfully created our URLs. Let's create a Post mode... -
What Are Django URLs?
In this section, we will learn what are URLs in Django and how to create them and link them with the view functions that we have created in views.py file. So in our previous section, we have successfully created our Templates. Let's create URLs for e... -
Understanding Templates In Django
In this section, we will learn what are Templates in Django and where to store templates or HTML pages in Django. Along with Templates, we will also see how to handle and store Static files in Django. Static files include Javascript, CSS, Images. So ... -
Python Web Conf 2021
The Python Web Conf is the most in-depth Python conference for web developers -
Effectively Using Django REST Framework Serializers
This article looks at how to use Django REST Framework (DRF) serializers more efficiently and effectively. -
What are Django Views?
In this section, we will learn what are Views in Django and how to use views.py to display webpage onto the browser on a web request. So in our previous section, we have successfully created our UserCreateForm form. Let's see what are Views in Django... -
What are Django Forms?
Django Forms In this tutorial, we will learn what are Forms in Django and how to use forms.py to connect with models to directly save the result into the database table. So in our previous section, we have successfully created our User model. Let's s... -
How I built API for iOS Feeds in 10 minutes
<![CDATA[ How I built API for iOS Feeds in 10 minutes Recently I added an API to my iOS Feeds project and I would like to share what it took to create it. Because I am mostly involved in the iOS development community I wanted to share a story from "the other side". If I had no experience with backends, I would think that these are always pretty complicated and involve a lot of moving parts.. So I want to show that that's not the case. If you select the right tools anyway. iOS Feeds runs on Django and it wouldn't be that hard to build the API without any packages. However since Django Rest Framework (DRF) exists and it is wonderful package, I decided go to with it. While I have a lot of experience with Django itself, DRF is different story. Anyway, let's see how I added the API. Django projects are usually separated into a smaller parts called "apps". So I created new API apps with this command: python3 manage.py startapp api And of course install the package: pip install djangorestframework This will do the basic scaffolding. Next I went by the DRF tutorial and created serializers.py … -
How managers should respond to defensiveness after feedback
I had a call a few weeks ago with a friend and fellow engineering manager, and we spent most of it talking about someone on her team who wasn’t responding well to feedback. He was performing several parts of his job pretty poorly, but when each time she told him that his work wasn’t acceptable, he pushed back. He argued, sometimes loudly, and refused to make the changes that she was asking for. My friend came to me pretty frustrated, not entirely sure how to respond to this guy. Most managers know this feeling: they’re doing their job as a manager, giving clear, specific, professional feedback but it’s going poorly. What should you do in a situation like this? -
Deploy A Site Live
In the previous Understand Django article, we looked at automated testing and how writing tests to check your Django project can be very valuable to save you time and make sure your site works for your users. Next, we’re going to look into how to share your site on the internet by understanding what it means to deploy a Django project. Deployment is the act of making your application live to your audience, and this article explains the actions you should consider to deploy effectively. -
Fluent in Django: First steps
Intro Knowing a language will only get you so far. If you have to build everything by yourself, you'll never get things done before the deadline. After you learned a programming language, it's smart to add a framework to your arsenal. Django is the m... -
Where do I begin? (repost)
This is a repost of an article I originally wrote for the Imaginary Realities e-zine, Volume 7, issue 3 back in 2015. It's not Evennia-specific but meant for a wider audience interested in making a text-based multiplayer game (MUD/MU*). Since IR is no longer active, I repost it here with only some minor cleanup. Where do I begin?by Griatch (image from deviantart.com/griatch-art)When a new user has everything installed and drops into Evennia’s IRC support chat or mailing list, there is one question that we regularly get in various variations: “Where do I begin?”How to actually start down that long road towards your own game is an important question. Unfortunately it has no one-size-fits-all answer. So it usually leads to a series of counter-questions. In this article I will try to (without being Evennia-specific) pose those questions in a way that would not fit in a chat window. What is your motivation for doing this?So you want to make a game. First you need to make a few things clear to yourself. Making a multiplayer online game is a big undertaking. You will (if you are like most of us) be doing it as a hobby, without getting paid. And you’ll be doing … -
Weeknotes (2021 week 11)
Weeknotes (2021 week 11) django-simple-redirects Django‘s built-in django.contrib.redirects app has a hard dependency on django.contrib.sites. I’m a big fan of NOT hardcoding the current site into the database or into settings except where absolutely necessary. Because of this I extracted the parts I liked into a standalone package with a questionable and needlessly derogatory name a few years ago. The old package is still around (no need to break setups) but the package has been renamed to django-simple-redirects, cleaned up for current versions of Python and Django and also been uploaded to PyPI. django-simple-redirects on PyPI django-simple-redirects on GitHub CKEditor instances in Django’s admin interface without IFRAMEs Currently incubating in feincms3. I have a strong dislike for scrollables inside scrollables, the proposed interface is much better. Of course I’m still thinking about reimplementing the whole editing interface using ProseMirror, but oh well… maybe another time, when I do not have any projects for months to come. -
How to download Pandas Dataframe as Excel or CSV in Django?
Implementation of downloading a file using Django and Pandas with information about HTTP Response. -
Django News - Django 3.2 rc1, DjangoCon(s) updates, and a whole lot more! - Mar 19th 2021
News Django 3.2 release candidate 1 released Django 3.2 release candidate 1 is the final opportunity for you to try out the mezcla of new features before Django 3.2 is released. djangoproject.com Django and Wagtail in Google's Summer of Code 2021 [volunteer opportunity] Django is a mentor organization for the 2021 Google Summer of Code. The project is looking for both Mentors and Students. djangoproject.com DjangoCon AU 2021? [volunteer opportunity] DjangoCon AU is looking for new organizers who are interesting in making the conference happen. djangocon.com.au Events DjangoCon Europe 2021 Early Bird tickets are on sale and will end on April 30. djangocon.eu Sponsored Link RSVP for the 3rd Annual Python Web Conference (Virtual) | March 22-26, 2021 50+ talks on hard Python problems including Machine Learning, AI, Big Data, Django, Plone, CI/CD, Containers, etc. Join JetBrains and Six Feet Up to discuss what the future holds. pythonwebconf.com Articles Show the timezone for datetimes in the Django admin by Simon Willison This is a nice tip to show timezone in the Django Admin. simonwillison.net Five Django Packages We Love at Monadical An overview of five popular 3rd party Django packages. monadical.com Dockerizing Wagtail App An article on Docker Compose and …