Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Django 5 for the Impatient

You're reading from   Django 5 for the Impatient Learn the core concepts of Django to develop Python web applications

Arrow left icon
Product type Paperback
Published in Sep 2024
Publisher Packt
ISBN-13 9781835461556
Length 228 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Greg Lim Greg Lim
Author Profile Icon Greg Lim
Greg Lim
Daniel Correa Daniel Correa
Author Profile Icon Daniel Correa
Daniel Correa
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Chapter 1: Installing Python and Django, and Introducing the Movies Store Application FREE CHAPTER 2. Chapter 2: Understanding the Project Structure and Creating Our First App 3. Chapter 3: Designing a Base Template 4. Chapter 4: Creating a Movies App with Dummy Data 5. Chapter 5: Working with Models 6. Chapter 6: Collecting and Displaying Data from the Database 7. Chapter 7: Understanding the Database 8. Chapter 8: Implementing User Signup and Login 9. Chapter 9: Letting Users Create, Read, Update, and Delete Movie Reviews 10. Chapter 10: Implementing a Shopping Cart System 11. Chapter 11: Implementing Order and Item Models 12. Chapter 12: Implementing the Purchase and Orders Pages 13. Chapter 13: Deploying the Application to the Cloud 14. Index 15. Other Books You May Enjoy

Setting up your web app

At this point, we need to be armed with three pieces of information:

  • The path to your Django project’s top folder (the folder that contains the manage.py file). For this project, it is commonly a combination of /home and /<pythonanywhere-user> and /<github-repo-name>. In our case, it was /home/danielgara/moviesstore.
  • The name of your main project folder (that’s the name of the folder that contains your settings.py file). In our case, it is moviesstore.
  • The name of your virtualenv. In our case it is moviesstoreenv.

Now, follow the next steps to setting up your web app:

  1. In your browser, open a new tab and go to the PythonAnywhere dashboard. Then, click on the Web tab and click Add a new web app (Figure 13.12):
Figure 13.12 – PythonAnywhere Web tab

Figure 13.12 – PythonAnywhere Web tab

  1. PythonAnywhere will ask you for Your web app’s domain name. Just click Next (Figure 13.13):
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime