Django Index Page 1

django rest framework: type object 'Token' has no attribute 'objects'

When you are using auth token with Django rest framework and you get the error type object 'Token' has no attribute 'objects', this means that didn't add the auth token in the settings' INSTALLED_APPS.

Django Index Page 1

How to use postgresql jsonb type with django

Learn how to use PostgreSQL JSONB column by following this tutorial that explain how to use schemaless with django and postgresql

Django Index Page 1

Django SOLUTION: TEST_DATABASE_PREFIX TypeError: can only concatenate str (not "NoneType") to str

In this article we explain how to fix the error "TypeError: can only concatenate str (not "NoneType") to str", when you execute unit tests. You need to specify sqlite database engine! check here for the full solution

Django Index Page 1

Django 2.0+: AttributeError: 'module' object has no attribute 'lru_cache'

Django 2.0 installation throws -> AttributeError: 'module' object has no attribute 'lru_cache'. This means that you are using and old version of python. Read more for details

Django Index Page 1

How to serve Django application using uWSGI with Nginx

A tutorial that shows how to setup a Django app using uWSGI with Nginx.