Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
How to Create Custom User Model or Extend User Model in Django
Django provides built in authentication which is good for most of the cases, but you may have needs that are being served with the existing system. For Ex: You want 'email' for authentication purpose rather than Django's username field and you want an extra field called 'display_name' as full name for the logged in User. To meet the above requirements, we need to customize Django's built-in user model or substitute a completely customized model. -
Django Single Sign On(SSO) to Multiple Applications
Single sign on is a way for users to issue a security token for the first time login, login into multiple applications using one set of credentials i.e security token.Adding sso to an application will make things easier for users because they don't need to remember login credentials for multiple applications. User just needs to enter their login credentials for the first time instead of re-entering their credentials for every application login. -
Understanding Routers in Django-Rest-Framework
By using routers in django-rest-framework we can avoid writing of url patterns for different views. Routers will save a lot of time for developing the API for larger projects. Routers generates standardized url patterns for better maintenance of url structure. We can expect consistent behaviour from viewsets and routers. We can also avoid repetitive code in views. -
Preserve File Names with Sorl for Better SEO
We use sorl-thumbnail for scaling images by keeping the original one intact. Sorl proven to be great tool for generating different sized images throughout website. I presume that you know how to use sorl-thumbnail. Here we see how to preserve filename. Search Engines will give importance to image alt tag content but it definately have some impact on relevant image file name too. -
How to Pass Extra Context Data to Serializers in Django-Rest-Framework
Django rest-framework passes extra context data to serializers for the best design of rest applications. we can use "context" parameter in serializers to pass extra context. In viewsets, generic view simply override or overload the method get_serializer_context. -
Custom Password Less Authentication in Django
Authentication backends allow the ability to change what method checks your users credentials.For web services, ie Facebook authentication, you don't have access to user data like a password. Without password(not like random string) we can't create a user in django. Facebook connect provides you details of the currently authenticated user. -
Overriding Django Model Behaviour with Proxy Model
The main Usage of a proxy model is to override the main functionality of existing Model. It is a type of model inheritance without creating a new table in Database. It always queries on original model with overridden methods or managers. -
How to Filter a Django Queryset using Extra
Using SQL Queries in Django ORM - Filtering extra objects within in a single query, to reduce the number of queries. -
Django Acceptance Testing Automation with Robot Framework
Acceptance testing automation for django web and REST applications using a robot testing framework. -
Understanding Middleware Functionality in Django2.0
Understanding new style of middleware in Django2.0, the difference between old-style & new-style. How to write custom middlewares in new-style and upgrading from old-style middleware. -
How to Implement TokenBasedAuthentication in DjangoRestFramework
This blog explains 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. -
Customizing Django REST API Serializers
Customizing Django REST API Serializers -
Implementation of Single Sign on Using Auth0 in Django Application
As the no of applications increases, users need to create username & passwords, need to remember for each application. Users can't remember these details and, sometimes users use single username/password for all applications, then there may be a chance of hacking your accounts easily. To provide more flexibility for the users, we should provide sso login, which makes seamless authentication experience. -
What is Django CRM and it’s Advantages
Here in this blog you can find about CRM, Importance of CRM in sales, Types of CRM, How django crm helps for business and it’s advantages -
Is Django Best Framework for your Web Application Development
Is Django best framework for your web application development -
Live Chat with SalesForce Live Agent
Live chat with SalesForce Live Agent -
How to Share Data Across Salesforce Organizations using Salesforce to Salesforce Integration
Customers have their own organizations in a shared platform. Sometimes, one organization may require to fetch data from the other one. To share data between two organizations, there are some methods in salesforce, one of them is establishing Salesforce to Salesforce connection in both organizations. -
How to Backup and Restore Mysql, Postgresql and Mongodb Databases
Data loss can happen when we accidentally delete the files, or when server crashes or system fails, or when we applied migrations to the data that didn't work so we don't get previous data with the schema. In the production environment, it's mandatory to do database backup when we do changes in the code. -
How to Create Reminder or Automatic Reminder in Salesforce
In Salesforce Organization, by using salesforce Automated reminders & task reminder email you can manage all the leads who are helpful for the business that you won't miss anything on anyone. -
How to Set Up Email-to-Case and On-Demand Email-to-Case
In any Organization, Support is important to enhance good relationship with their customers. In Salesforce, whenever a customer mails any need of support or interaction with the organization, then the mail is automatically converted into case and assigned to the certain user based on the subject and information available in that mail. In this, we will look into Email-to-Case and On-Demand Email-to-Case. -
How to Use Custom Labels in Salesforce
Salesforce is used by many users whose native languages are different, If the application doesn't have any Multilanguage feature, it would be difficult for the users to use it. So, in Salesforce we have Custom Labels where multilanguage applications can be created. -
Letsencrypt Wildcard - Setup Wildcard Subdomain Using Letsencrypt and Certbot
To get wildcard supported certificates, we need to pass the challenge which requires adding TXT records in your dns records.To get certificates for single domains, there is no need to modify dns records. Check this link https://micropyramid.com/blog/configure-ssl-with-letsencrypt-and-nginx/ for more info. -
HTTP2 and SPDY Protocols - Make HTTP Faster and Safer
HTTP/2, next version of HTTP/1, http/1 can not handle the present web which has become more resource intensive, it cannot processes multiple requests in an efficient manner. HTTP/2 has got many techniques to harness the requirements of current web experience.SPDY is the core part of HTTP/2 protocol, many of the http/2 protocol techniques are part SPDY. -
Creating Custom Splash Page in Salesforce
In many websites, we come across a page displaying first and then redirecting to the main website page automatically or clicking on a button, which is known as splash page. In Salesforce, we can have splash pages for tabs(custom objects). Upon clicking on the tab, we can have a splash page first and then the regular tab as it is. -
Highlights of Salesforce Summer '18 Release Notes
Salesforce gets its CRM updated for every release. Generally, Salesforce has three releases per year(spring, summer, winter). In this we are going to look into updates and features of summer '18 release notes.