This is the code repository for Django 4 for the Impatient, published by Packt.
Learn the core concepts of Python web development with Django over a weekend
First Paragraph from the Long Description
This book covers the following exciting features: <First 5 What you'll learn points>
- Understand and implement Django Apps’ basic structure, including URLs, views, templates, and models
- Add bootstrap to improve the aesthetics of the site
- Create your own custom pages and have different URLs to route to them
- Navigate between pages by adding a header bar to all pages
- Work with databases and models
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'moviereviews.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
Following is what you need for this book: This book is for Python developers at any level of experience with Python programming who want to build full-stack Python web applications using Django. The book is for absolute Django beginners..
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
Chapter | Software required | OS required |
---|---|---|
1-12 | Python 3.8+ | Windows, Mac OS X, and Linux (Any) |
1-12 | pip | Windows, Mac OS X, and Linux (Any) |
1-12 | Visual Studio Code | Windows, Mac OS X, and Linux (Any) |
1-12 | Git | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Greg Lim is a technologist and the author of several books on programming. He has taught programming in tertiary institutions for many years and places a strong emphasis on learning by doing.
Daniel Correa is a researcher, a software developer, and author of programming books. He has a Ph.D. in Computer Science. He is a professor at Universidad EAFIT in Colombia. He is interested in software architectures, frameworks (such as Laravel, Nest, Django, Express, Vue, React, Angular, and many more), web development, and clean code.