Django Django access control using LDAP Nov 18, 2017 Jose CherianLDAP(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…
Django Django Unit Testing in VSCode Nov 11, 2017 Jose CherianWhile PyCharm Pro might be the most popular IDE for Python development, the community version supports neither Django nor JavaScript . VSCode is a free opensource alternative which has pretty…
Django Auto registering models in Django Admin Aug 13, 2017 Jose CherianDjango 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…
Django Django ORM Union, Intersection and Difference Aug 8, 2017 Jose CherianStarting 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…