Giter Club home page Giter Club logo

todo_app's Introduction

Django Todo List

This folder contains project code for the Real Python step-by-step project for building a to-do app with Django.

Setup Instructions

These instructions have been tested in Ubuntu Linux and macOS. They should also work in Windows, but note that you'll need to use a different command to activate your virtual environment as described in Step 3. Please consult the venv documentation for greater detail on the use of virtual environments.

  1. Navigate into the project directory (source_code/).
  2. Create a virtual environment in a venv/ folder by typing python -m venv venv in your console.
  3. Activate the venv using source venv/bin/activate (Linux, MacOS) or venv\Scripts\activate.bat (Windows).
  4. Install the dependencies with python -m pip install -r requirements.txt
  5. Generate the empty SQLite database and tables using python manage.py migrate
  6. Run the app with python manage.py runserver
  7. Browse to the app home page to see the list of todo lists, which will initially be empty.

You can now start using the UI to add your to-do lists and to-do items to the database. The data will be stored in a new db.sqlite3 file in the root of your project directory.

You can also use Django's auto-generated admin interface at http://localhost:8000/admin/ to view, add, and edit the data.

todo_app's People

Contributors

tmacinc avatar

Watchers

 avatar

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.