Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
OpenCV & Python: Face Recognition and Identification
I'm really starting to enjoy w... -
How to add a watermark with overlays using OpenCV & Python
Creating a watermark with Open... -
3rd Party Haar Cascades in OpenCV
Building on [face recognition ... -
Create a Timelapse with Python & OpenCV
Learn how to create timelapses... -
How to Apply Image Filters in OpenCV with Python
Add your own image filters on ... -
Staging Django for Production & Local Development
## How do you have different s... -
Django Channels 2.0 to Production Environment
Learn how to deploy a Django C... -
Reactify Django
# Reactify Django is Here Bui... -
Install Jupyter Notebooks in a Virtual Environment
Let's install Jupyter for a di... -
Setup React
Below is a reference we made t... -
A few JavaScript Functions for Images and Files
> This post will be updated as... -
Changing Default Python 3 in Terminal for Mac OS
Sometimes Python gets upgraded... -
Pipenv Virtual Environments for Python
`Pipenv` is an **amazing** rep... -
Deep Learning Acronym Cheatsheet
Below as a list I'm working on... -
Dataset Resources for Machine Learning
In our [Machine Learning](/cou... -
Serverless Django with Zappa on AWS Lambda
Going serverless with Django a... -
RDS Database for Serverless Django + Zappa on AWS Lambda
This is a critical piece of ha... -
Prepare AWS IAM User, Role, and Policies for Zappa and Serverless Python
This is [Zappa](https://www.za... -
Custom Domains for Zappa Projects
For web applications, a custom... -
Terminal Prompt Formatting
When you open up `Terminal` fo... -
Create a Blank Django Project
#### A how-to guide for creati... -
Django CRUD: Python 3.7 & Generic Class-Based Views
Throughout this tutorial, you'll create a Django CRUD example application using generic class based views. You will be using the latest Python 3.7 version. You'll learn to quickly create CRUD views by using the Django built-in generic views such as ListView, DetailView, CreateView, UpdateView and DeleteView. CRUD stands for create, read, update and delete and it simply refers to a set of common operations that are used in most web applications to interact with data from a database. It basically provides a CRUD interface that allows your users to create, read, update and delete data in your application database like MySQL, PostgreSQL or Oracle etc. Prerequisites You'll need to have the following prerequisites: A development machine with Python 3.7, pip and venv installed, A basic knowledge of Python, A working knowledge of Django. In this tutorial, you'll learn about: Django class based views, Creating and activating a virtual environment using venv, Installing Django using pip and creating a new project using django-admin.py, Creating a new Django application using manage.py, Creating a Django ORM model, Enabling the admin Interface, Creating the class based views, Creating the templates, Adding the URLs. Creating and Activating a Virtual Environment When working with new Python … -
How to implement TokenBasedAuthentication in DjangoRestFramework?
If you are new to Django REST framework, then you can go through below blog posts to understand how to develop RESTful API with Django REST framework. How to develop RESTful webservice in Django using Django REST framework Introduction to API development with Django REST framework Generic, Functional based and Class based views in Django REST Framework REST framework provides a number of authentication methods and also allows us to implement custom methods. This blog shows you how to use Token Authentication to authenticate users within a Django Application. Token Authentication is a way to authorize users by using an Auth Token. First, you have to add 'rest_framework.authtoken' to your INSTALLED_APPS setting as Token Authentication uses a special model called Token, which is used to store your user authentication tokens. INSTALLED_APPS = ( ... 'rest_framework', 'rest_framework.authtoken' ) Then you must configure the authentication scheme to include 'TokenAuthentication' using the 'DEFAULT_AUTHENTICATION_CLASSES' setting like below REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework.authentication.TokenAuthentication', ), 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ) } Now you must run 'python manage.py migrate' after adding above settings to update the database with new Token model. You can create tokens for existing users like below from rest_framework.authtoken.models import Token token = Token.objects.create(user=) … -
Talk Python Podcast Interview - Teaching Django
An interview with Michael Kennedy on learning and teaching Django. -
Distillery Developer Is a Driving Force in Building Kodi’s Open Source Software
Think about the last time you were frustrated by a computer software problem. Now, imagine that you could simply elect to fix the problem yourself. Back in 2014, that’s exactly what happened to Distillery Full Stack Developer Anton Fedchin (afedchin). The post Distillery Developer Is a Driving Force in Building Kodi’s Open Source Software appeared first on Distillery.