Git Product home page Git Product logo

django-4-for-the-impatient's Introduction

Django 4 for the Impatient

Django 4 for the Impatient

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

What is this book about?

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!

https://www.packtpub.com/

Instructions and Navigations

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).

Software and Hardware List

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.

Related products

Errata

  • Page 64 (Code Snippet 3,line 2): python3 manage.py migrat should be python3 manage.py migrate
  • Page 64 (Code Snippet 4,line 2):python manage.py migr3te should be python manage.py migrate
  • Page 2 (line 4):There are other popular frameworks, such as Flash in Python and Express in JavaScript should be There are other popular frameworks, such as Flask in Python and Express in JavaScript

Get to Know the Authors

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.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803245836

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.