Загрузка...

Django Admin, SQLite Viewer & Model Customization (بايثون ديجانجو) #6

🚀 In this second part of our Databases series, we learn how to manage our data like a pro. We start by using SQLite Viewer to see inside our database file, and then we dive into the Django Admin to register our models and customize how data is displayed using the __str__ method.

📌 What we cover in this video:
✅ Installing and using SQLite Viewer in VS Code.
✅ Changing the Django project language (Arabic/English).
✅ Adding new fields to existing models and handling migrations.
✅ Registering models in admin.py to see them in the dashboard.
✅ Using the __str__ method to make your data human-readable.

GitHub (Source Code): https://github.com/rubada/Django-Tutorials
📺 Full Django Playlist: https://www.youtube.com/playlist?list=PLD06In0ejHWYPaw672_qPWLJwT6QokD7q

00:00 Channel Intro
00:14 Introduction: Reviewing the db.sqlite3 File
01:05 How to install and use SQLite Viewer in VS Code
01:40 Viewing Django Default Tables vs. Custom Tables
03:00 Changing Language Settings in settings.py (LANGUAGE_CODE)
03:47 Updating Models: CharField vs. TextField
04:40 Adding New Attributes & The Default Parameter
05:05 Handling Migration Messages for New Columns
06:30 Understanding the New Migration Files
07:35 Applying Changes with migrate
08:00 Registering Models in admin.py for the Admin Dashboard
09:30 Exploring the Admin Interface: Groups & Users
10:55 Adding Data: How Field Types Change the Admin UI
12:15 Adding a Title Column to the Model
13:45 Fixing the "Post Object" Label Problem
14:20 Using the __str__ Dunder Method for Readable Names
15:45 Preview: QuerySets & Customizing the Admin Page

#Django #Models #SQLite #admin #Intuidemy #python #webdevelopment #ORM

Видео Django Admin, SQLite Viewer & Model Customization (بايثون ديجانجو) #6 канала Intuidemy
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять