Recently I saw an interesting stack overflow question that asks about changing the PWA icon dynamically based on the page url. Some of the comments are pointing in the right direction (serve the manifest dynamically) which increased my curiosity. Here is a sample APP I created just to try it...
Author: Jose Cherian
If you are switching from Brackets to VS Code for your AngularJS development, the first thing you are going to miss is the live preview option. VS Code does not have a built in server that can be easily activated. While there are 101 ways to run a local server,...
Last week saw an interesting announcement from Microsoft MSDN blog. It announced that Don Jayamanne, creator of the Python extension for Visual Studio Code joined Microsoft. I was always impressed with the simplicity and usefulness of this extension and already wrote a blog post on that. Don definitely deserve this recognition...
LDAP(Lightweight Directory Access Protocol) is a popular way to control access in enterprise environments. In this post, I will demonstrate how this can be used with django. Setup LDAP module – django-auth-ldap LDAP Server – Forum Systems LDAP Browser/editor(Optional) – Apache Directory Studio. Demo Project The demo project will...
Django admin is a very valuable tool for developers especially during the development phase. Normal way of registering a model to the admin is as below.
from myapp.models import MyModel
list_display = ['field1','field2', 'field3']
#any additional configurations
Four lines of code for a single model. Now consider the amount of repeated code required if you have 10 models in...
Starting from Version 1.11 (April 2017), Django ORM comes with Union, Intersection and Difference capabilities . While it was possible to implement this capability our own, it is nicer to have the ‘batteries included’. Lets examine this capability using a simple model.
name = models.CharField(max_length=1)
I have added some sample data so...
There are many reasons to host your email outside of your web host and there are entire blog posts discusses this topic. If you are hosting your emails externally, you can switch your web hosting provider easily without impacting your business. Futher more there are email hosting providers who provide...
Tableau allows to connect to a wide variety of database systems and most of the operations like joins, filtering and ordering can be done without writing a single line of SQL. But what can be done if the data required is not readily available in the database tables? There are...