What is Abstract Base Class in Django
django, python

What is Abstract Base Class in Django

What is Abstract Base Class in Django and how we can use it in our applications? Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. One of the principles of Python is “Do not repeat yourself”.  Abstract models in Django are meant to do exactly that. In Django normally Database tables are created from…

Continue Reading

django

Creating thumbnail in Django with using django-imagekit

Django-imagekit is an app for processing images. You can programmatically change images with imagekit. For this blog post, we will create thumbnails and look for its Django Rest Framework usage (DRF). 1. Installation of django-imagekit pip install pillow pip install django-imagekit INSTALLED_APPS = [ ‘imagekit’, ] 2. Creating thumbnail with django-imagekit For creating a thumbnail in Django from an image…

Continue Reading