Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
Using CasperJS to Scrape Website Data
CasperJS can be used for Navigation Scipting, Scraping and testing. In this Tutorial we will see how to scrape data from website using CasperJS and PhantomJS 1.9 -
Copy Text to ClipBoard Event using Javascript
Here you can learn about copy to clipboard using JavaScript. Copying content from a web form without needing to use the default browser functions. For this i am using ZeroClipboard functionality in the JavaScript. -
How to Use JQuery Mobile Touch Events
JQuery mobile touch events - Event is nothing but all possible and different actions of visitors that a webpage can respond to. We have the ability to create dynamic web pages by using events. In general, Events are actions that can be detected by our Web Application. -
How to Drag and Drop Multiple Files Using Dropzone.js
Dropzone is a free open source library which makes a HTML element as dropzone, which enables user to drag files on to that area and the files dragged will be uploaded using Ajax. -
Creating Django App
Django is a high-level, free and open-source Python Web framework that encourages rapid development. Django follows the model–view–controller (MVC) architectural pattern. Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and pluggability of components, rapid development. -
Django Forms Basics Explained
Django forms is powerful module to help django application development in rendering html from model, validate input from http request to model specifications. And we can extend the module to suit our exact need. Lets see basics of django forms. Forms are a collection of fields that knows how to validate itself,Form classes are created as subclasses of django.forms.Form -
Add Captcha to Django Web Page Using Python-reCaptcha
Python-reCaptcha is a pythonic and well-documented reCAPTCHA client that supports all the features of the remote API to generate and verify CAPTCHA challenges. To add into your django project, you need captcha public, private keys are required. -
Django Model Managers and Properties
Django model is the single, definitive source of data about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table. And an instance of that class represents a particular record in the database table. Django Manager is the interface through which database query operations are provided to Django models.By default, Django adds a Manager with the name "objects" to every Django model class. -
Basics of Django Templates
Django template engine comes as part of django framework and its very easy, extensible and handy to develop complex web applications with simplest efforts. Lets see basics of django template engine.Basics:A template is a text document, or a normal Python string, that is marked-up using the Django template language. Template system in Python can be used in the following way: -
Facebook Integration in your Website
Using Facebook integration, we can get the user verified email id, general information, friends, pages, groups and you can post on his profile, facebook pages, groups with out user entering a details in a less span of time. -
Django Raw Sql Queries
When your model query API don't go well or you want more performance, you can use raw sql queries in django. The Django Object Relational Mapper (ORM) helps bridge the gap between the database and our code Performing raw queries. -
Understanding Django Model Formsets in Detail and their Advanced Usage
Silmilar to the regular formsets, django also provide model formset that make it easy to work with django models. Django model formsets provide a way to edit or create multiple model instances within a single form. Model Formsets are created by factory method. The default factory method is modelformset_factory(). It wraps formset factory to model forms. -
Django REST Framework (Ep5 Replay)
DRF Google GroupDjangoCon 2018 Talk: Finally Understand User Authentication in DRFDRF Official Documents: Authenticationdjango-cors-header packageSwagger vs OpenAPIAPI StarStarletteGraphQL vs RESTSPONSORING OPTIONSDRF SponsorsDjango Software FoundationSupport the ShowThis podcast does not have any ads or sponsors. To support the show, please consider purchasing a book, signing up for Button, or reading the Django News newsletter. -
Basics of Django Messages Framework
In any web application we need to display notification messages to the end user after processing a form or some other types of his requests. To make this messaging system simple, django provided full support to cookie and session based messaging for both anonymous and authenticated users.This messages framework is capable of storing messages in one request and retrieving those messages in the subsequent request. Every message has a tag based on its priority(info,warning and error). -
Understanding 'GenericForeignKey' in Django
In some cases the we might want to store generic model object, rather a particular specific model as 'ForeignKey'. Generic model object means adding a foreign key from one of your own models to ContentType allows your model to effectively tie itself to another model class -
Django Custom Management Commands
In Django project, We could manage by executing some commands which could be invoked through the manage.py. -
Using Django's Built in Signals and Writing Custom Signals
Django has a beautiful feature of signals which will record all the actions performed on particular model. In the current blog post we’ll learn how to use django’s built in signals and how to create custom signal.Django has lot of built in signals like pre_save, post_save, pre_delete and post_delete and etc. Now we’ll learn how to use django’s pre_delete signal with a simple example. In the way we use pre_delete in the present blog post we can use other signals also in the same way. -
Django Subdomains to do Advanced Things
We always struggle to give users customization's even before they login to the system like abc.micropyramid.com and django don't know how to handle that out of the box.We can do it by writing simple middle ware. Django Middle ware have access to request and responses, so, we can get hold on to request and pass it on to django views for further process. Here we will add new property to request and can render pages by seeing at the subdomain property. -
How to Deploy Django Project into Docker Container
Docker, has captured the hearts and minds of the Devops community, with its platform for delivering distributed applications in containers. In this Blog Post, Lets look on how to deploy a sample django app into docker container. -
Setting up Reactjs Environment & First Reactjs App(Hello-World)
create your first react application hello-world from scratch. A step by step guide to understand and setup the reactjs environment. Understand the node package manager and the packages that we use while setting up the reactjs environment. -
Understanding Logstash Parsing Configurations and Options
In This Tutorial we will learn to customize Logstash to parse any type of Log Files. Logstash helps us to process logs and other event data from a variety of systems. It also Supports variable injection into elasticsearch and has 200+ plugins. -
Setting Up Gitlab Container Registry on own Domain
GitLab Container Registry is a secure and private registry for Docker images integrated completely in Gitlab. In this tutorial we will setup and use GitLab Container Registry. If you're using previous versions of Gitlab upgrade and then follow this tutorial. -
Django Generic Many to Many Field Implementation
Django application has a GM2MField that combines the features of the standard Django "ManyToManyField" and "GenericForeignKey". -
Clustering of Docker Containers using Docker Swarm
There are many available ways of Docker clustering. Kubernetes, Docker cloud, Docker Swarm etc., In this Tutorial we will learn setting up a cluster using Docker Swarm and launch a container on Node. -
Kubernetes Installation on BareMetal(Fedora)
Kubernetes manages containerized applications across multiple hosts. With years of experience in managing highly scalable products, google has released kubernetes an open source project which manages containerized applications across multiple hosts. Kubernetes is actively developed with more than 700 active developers. Kubernetes can be setup over any cloud platform any os. Its is based on etcd which is a key value store that provides shared configuration and service discovery for clusters.