Category: Django Tutorial

Welcome to Django Tutorial for beginners and experts, an approach to learning web-development with Django Web Framework. In this tutorial, you will be progressively building more advanced and complex web applications and API’s. This tutorial will help you to get deep knowledge of Django Framework and Python Programming Language. You will be becoming an expert to make your own custom model, email integration in Django, foreign keys, authorization, permissions, middleware, templates, forms, views, and much more stuff. You will be also learning Django ORM to play with Database like MySQL, SQLite, PostgreSQL with even no knowledge of SQL queries.

By the end of this tutorial, you should feel confident creating your own Django Projects from scratch and even start your own startup and personal projects.

How to render a model to Django Admin

In this blog, let’s see how to render a model in django admin.The admin is enabled in the default project template used by startproject. For example, let us consider project- admin_model to demonstrate this. We start the Django project by typing this in the terminal. Let’s go inside the newly created admin_model directory. Typing the following:… Continue Reading »

How to use Django with MongoDB Engine

Learn Django with Mongo DB. In this tutorial, you will learn how to integrate the Mongo DB database. Configuration in Django. And the migration of Django Provided tables into the Database of MongoDB. Like other databases such as MySQL and Oracle. However, the Mongo DB is no SQL Database. Requirements : pip install django pip… Continue Reading »

Django Style the Forms – Model Form

Learn Django style the forms created by model forms. In this tutorial, you learn how to add Django stylings to the model forms which doesn’t have the Html code, i.e. class for the input fields in the HTML form using the forms.py file. Requirements : pip install django This command will install Django on your… Continue Reading »

Django custom 500 error template page

Learn how to use the Django custom 500 error template page. In this tutorial, you will learn how to create a custom page for internal server errors. And learn how to handle errors in Django with built-in views. Handler 500 is the built-in view. This will allow us to handle the 500 internal server errors… Continue Reading »

Django with Tinymce Text Editor Integration

Learn Django tinymce text editor. In this tutorial, you will learn Django tiny MCE editor. We use the editor in the admin page of Django to add data into our database models using the Tiny MCE editor. Like RichTextFeild. Requirements : The tinymce package for the django is available here pip install django This command… Continue Reading »