In this post, I cover a couple of ways to flatten lists of lists or lists of mixed data in standard Python and 3rd party libraries such as Django, Pandas and Matplotlib.
Category: Python
How to use Postman to authenticate to Django Rest Framework
Authenticating with Django REST APIs using HTTP Client
How to use Django with multiple databases
Have you ever wondered if it is possible to connect Django to more than one database at a time? Read this post to find out how.
Dealing with the Type Error: ObjectId(”) is not JSON serializable error when working with MongoDB
Learn how to serialize MongoDB ObjectId data types in Python.
How to add CORS Headers to Django responses
How to add CORS headers to a Django Application
Django Templates
A brief introduction into the Django Template Language.
PyPI In a box: Using a Raspberry Pi as a portable PyPI server
We all use PyPI – here’s a way to ensure we always have access.
Bulawayo Python Meetup
Summary of the recent Python Bulawayo Meetup
User authentication in Django
The Django auth app makes authenticating users easy to do. Learn how to enable log in and logout functionality to a Django site.
PyCon Africa Recap
In August 2019 I attended PyCon Africa in Ghana. I enjoyed the…