Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Django 5 for the Impatient
  • Table Of Contents Toc
Django 5 for the Impatient

Django 5 for the Impatient - Second Edition

By : Daniel Correa, Greg Lim
4 (1)
close
close
Django 5 for the Impatient

Django 5 for the Impatient

4 (1)
By: Daniel Correa, Greg Lim

Overview of this book

Learning Django can be a challenging and time-consuming activity without the right guidance. With hundreds of tutorials, loads of documentation, and unclear explanations out there, it’s easy to lose sight of what’s most important. This book stands out by teaching you how to use Django in just a few days with a focused approach. In this second edition, you’ll go on a fun, practical, and pragmatic journey to learning full-stack development with Django 5. You’ll start building your first Django app within minutes. As you progress, you’ll learn from concise explanations that will help you get to grips with some of the most important Django features, including URLs, views, templates, models, CSS inclusion, image storage, Django admin panel, and more. You’ll also understand how to design Django MVT (Model-View-Template) architectures and implement them. Additionally, you’ll use Django to develop a movie store application and deploy it to the internet. By the end of this book, you’ll be able to build and deploy your own Django web applications confidently.
Table of Contents (16 chapters)
close
close

Understanding the database viewer

Let’s take some time to understand how the database works. The objects are stored in the db.sqlite3 file. If you click on it, it is not very readable. However, you can view such SQLite files with a SQLite Viewer; just google SQLite Viewer for a list of them. One example is https://inloop.github.io/sqlite-viewer/.

Drag and drop your db.sqlite3 file into the previous link (over the SQLite Viewer), and you will see the different tables in the database (as shown in Figure 7.1):

Figure 7.1 – Opening db.sqlite3 in SQLite Viewer

Figure 7.1 – Opening db.sqlite3 in SQLite Viewer

You can see the table of the model we have created – that is, movie. Note that the actual name of the table is determined by combining the name of the app with the name of the model. For example, if your app is named movies and your model is named Movie, the corresponding table name would be movies_movie. This naming convention helps Django differentiate between tables belonging...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Django 5 for the Impatient
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon