Django – Vuyisile Ndlovu

Vuyisile Ndlovu

Primary Menu

  • Home
  • Projects
  • Articles
  • Contact Me
Search

Category: Django

How to flatten a list of lists in Python

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.

Continue reading “How to flatten a list of lists in Python”…
Posted on: 21 Dec 2020 Written by: Vuyisile Comments: Comments: 0

How to use Postman to authenticate to Django Rest Framework

Authenticating with Django REST APIs using HTTP Client

Continue reading “How to use Postman to authenticate to Django Rest Framework”…
Posted on: 14 Dec 2020 Written by: Vuyisile Comments: Comments: 0

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.

Continue reading “How to use Django with multiple databases”…
Posted on: 14 Sep 2020 Written by: Vuyisile Comments: Comments: 0

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.

Continue reading “Dealing with the Type Error: ObjectId(”) is not JSON serializable error when working with MongoDB”…
Posted on: 1 Sep 2020 Written by: Vuyisile Comments: Comments: 0

How to add CORS Headers to Django responses

How to add CORS headers to a Django Application

Continue reading “How to add CORS Headers to Django responses”…
Posted on: 24 Aug 2020 Written by: Vuyisile Comments: Comments: 2

Django Templates

A brief introduction into the Django Template Language.

Continue reading “Django Templates”…
Posted on: 6 Jul 2020 Written by: Vuyisile Comments: Comments: 2

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.

Continue reading “User authentication in Django”…
Posted on: 9 Dec 2019 Written by: Vuyisile Comments: Comments: 0
Django logo

Custom template tags in Django

Learn how you can extend the Django template engine by defining custom template tags using Python, and then make them available to your templates using the {% load %} tag.

Continue reading “Custom template tags in Django”…
Posted on: 28 Aug 2019 Written by: Vuyisile Comments: Comments: 0

Footer sidebar

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,695 other subscribers.

Social

  • View terrameijar’s profile on Twitter
  • View vuyisile-ndlovu-080b3891’s profile on LinkedIn
  • View terrameijar’s profile on GitHub
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
© 2021 Vuyisile Ndlovu | | Back to top ↑