Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.
Extract Data from PDF and all Microsoft Office Files in Python
The quick way to get/extract text from PDFs in Python is with the Python library "slate". Slate is a Python package that simplifies the process of extracting text. In this post, we will see how to get/extract from pdf's.
Google Plus API Integration with Django
Using GPlus integration by Django, we can get the user verified email id, general information, friends in a less span of time, and user can also share articles.
Integrate Django-Oscar-Accounts with Django-Oscar
This package uses double-entry bookkeeping where every transaction is recorded twice (once for the source and once for the destination). This ensures the books always balance and there is full audit trail of all transactional activity.
How to Customize Django Oscar Models, Views and URLs
In order to customize models, views and urls, you need to fork an Oscar core app in which model/view resides. Then you should be able to override any model/view classes.
Steps to fork/customize an app:
Python Memcached Implementation for Django Project
Memcache is a memory caching system that helps web applications and mobile app backends to improve performance and scalability. We should consider using Memcache when your pages are loading too slowly or your app is having scalability issues. In This Blog Post, Let's see how to use Memcached for server-side application caching.
Generic, Functional Based and Class Based Views in Django REST Framework
Writing Different Types of Views in Django-Rest-Framework.Writing Different Types of Views in Django-Rest-Framework. Django-Rest-Framework(DRF) supports three different types of views. They are Function Based Views, Class Based Views / Generic Views, ViewSets
Django Custom Template Tags And Filters
Django Template Tags are simple Python functions that accept a value, an optional argument, and return a value to be displayed on the page.
First, In your application folder, create a "templatetags" directory at the same level as the models and views.
You want this directory to be recognized as a Python package, so make sure you create an empty "__init__.py" file. Next, create the Python file that will hold your tags and name it something like app_tags.py.
Sending Emails Using Sendgrid on Heroku for a Django App
Integrate Sendgrid API to your Heroku app to deliver simplified emails like any notification emails, user signups etc.
Set Up Travis CI For Django Project
Travis CI is a continuous integration service used to build and test applications hosted at GitHub. Here are simple steps to add CI to you django project.
Get Count, Average, Min, Max Values from Model Field using Django Aggregate
To retrieve maximum, minimum or average values from group of rows we can use django Aggregation. For example to retrieve max price or avg price of product from catalogue.