Nitin Raturi

Helping you learn web development, web scraping, data science with python.

Newsletter : Python Ecosystem

(Subscribe via LinkedIn: No email, No spam 🙏)

Django

Learn django: From installation and setup, running first web app to becoming a expert django developer

  1. 3 min read

    Python-Decouple: Manage Environment Variables In Django

    Learn to manage environment variables for multiple django settings: development, production, testing, stage, etc

  2. 3 min read

    Django-Taggit Tutorial (How To Add Tags In Django)

    Learn to add tags in django application: blog, article, post, tutorial.

  3. 5 min read

    How To Use/Integrate/Combine Django And React Together

    Using Webpack, we will make a react build that will be served by django itself.

  4. 5 min read

    Disqus Commenting System With Django

    How to integrate disqus commenting system with your django site or django powered blog

  5. 4 min read

    How To Install Tinymce Wysiwyg Editor In Django

    best wysiwyg editor for django is tinymce

  6. 3 min read

    Resetting Django Migrations

    How to reset django migrations

  7. 3 min read

    Django Minify Static Files - Html,Css And Js

    django-compressor will be used to compress css and js files and django-htmlmin for minifying html files

  8. 2 min read

    How To Create Custom Middleware In Django

    Middlewares are hooks to modify Django request or response object.The most important change you need to do when upgrading to Django 2.0 is to change MIDDLEWARE_CLASSES to MIDDLEWARE in settings.py file.

  9. 2 min read

    Convert A Django Queryset To List

    Use list(queryset) to convert a queryset to a list. Read more for alternate methods

  10. 3 min read

    Which Is The Best Database For Django

    Postgresql is the best database for django, as said in django's official documentation.

  11. 6 min read

    How To Structure A Django Project For Beginners

    Learn how to set up a django-structure from scratch: organizing apps, static and media files, settings, and optimizing the site.

  12. 3 min read

    How Do I Add Read Time To My Blog In Django

    Use this readtime tag in django templates to calculate content reading time and display it.

  13. 3 min read

    How To Extend User Model In Django ? Create A Custom User Model Using Abstractuser

    Implement and add extra fields to a custom user model in Django.

  14. 10 min read

    Stripe Payment Gateway Integration In Django

    To integrate stripe with django, first install pip install stripe and then follow the rest of the article to configure the webhook

  15. 2 min read

    How To Setup A Ssl Certificate On Nginx For A Django Application

    We will use Letsencrypt to get free ssl certificates and certbot for automatic setup. In a few minutes you can se https in your website.

  16. 2 min read

    How To Create Custom Mixin In Django Class Based Views

    A Mixin is a special kind of inheritance in Python (and other object-oriented languages) and it's starting to get a big rise in Django / Web Application Development. You can use a Mixin to allow classes in Python to share methods between any class.

  17. 12 min read

    Django Migrations - Tutorial

    Learn how Django’s ORM manages Django database migrations in this comprehensive guide.

  18. 22 min read

    Django Orm Tutorial

    In this guide you will learn about django querysets, model managers, field lookups, aggregate functions and query expressions.

  19. 10 min read

    Automatic Deployment Of Django App Via Github Actions

    Automatic Deployment of Django App using Heroku and Github action:-

  20. 3 min read

    Implement Facebook Messenger Customer Chat Plugin In Django

    How to implement facebook messenger customer chat plugin in a django application

  21. 4 min read

    How To Create Signals In Django

    The Django Signals is a strategy to allow decoupled applications to get notified when certain events occur.

  22. 8 min read

    Django Request Response Lifecycle

    How does django request response cycle work

  23. 4 min read

    Deploying Django Application With Nginx

    How to setup python3, django, nginx and gunicorn for production in unutu

  24. 6 min read

    Deploying Django Application With Nginx And Postgresql

    How to setup nginx,django and postgresql

  25. 2 min read

    Cookies In Django

    How to use set_cookie, delete_cookie in django - set, get and delete cookies in django

  26. 3 min read

    Introduce Custom User Model In Middle Of A Django Project

    How to implement custom user model in django in the middle of the project

  27. 2 min read

    How To Redirect To Another Page In Django

    The simplest way to do this is to use the function redirect() from the module django.shortcuts.

  28. 3 min read

    Django Urls Regex: Path And Re_Path

    How to use path in django urls and make regular expressions like a pro

Books (Affiliate)

  • django-for-apisdjango-for-apis
  • django-for-beginnersdjango-for-beginneres
  • django-for-professionalsdjango-for-professionals