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 »
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.
There are many websites which offer login using google instead of forcing you to create a new account over there website. You must also want to implement the same feature like that in your website so, you are at the right place. In this blog we will learn how to add Gmail Log-In in your… Continue Reading »
We all have visited the websites where we need to register or I can say signup to get access to the content of that site. The details that we fill up while registering are stored in the database with the help of forms in that particular website. A user can create a form manually for… Continue Reading »
Learn how to use the chart JS in Django. In this tutorial, you will learn how to use the Chart JS in Django with the dynamic data in the database. In this, we will pass the query set data to the HTML page context by converting it into a Data Frame. And this will let… Continue Reading »
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 »
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 »
Learn how to use the Django custom 404 error template page. In this tutorial, you will learn how to create a custom page for page not found errors. And learn how to handle errors in Django with built-in views. Handler 404 is the built-in view. This will allow us to handle the 404 error using… Continue Reading »
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 »
Learn how to use add Rich Text Field in Django. In this tutorial, you will learn how to add the rich text field in the Django project. In models, we will use the CK editor fields as Rich Text Field in Django. The CK editor is an external package for Django. This package will allow… Continue Reading »
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 »