Skip to main content

A Django app to track meals and calories.

Project description

django-nutrition

django-nutrition is a Django app to track calories

Quick start

  1. Add "nutrition" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        "django_nutrition",
    ]
    
  2. Include the nutrition URLconf in your project urls.py like this

    path("nutrition/", include("django_nutrition.urls")),
    
  3. Run python manage.py migrate to create the models.

  4. Start the development server and create one or more users.

  5. Visit the /nutrition/ URL to manage nutrition information.

Dev Notes

to update the style bundle, from within the django_nutrition directory:

npm install
npm run build:css

then commit django_nutrition/state/nutrition/styles.css

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_nutrition-0.4.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

django_nutrition-0.4.0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file django_nutrition-0.4.0.tar.gz.

File metadata

  • Download URL: django_nutrition-0.4.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for django_nutrition-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ee9a39bfaf2de492b33245669aa7085abf8c688eaa002f0ef905c4f0c4c9fa84
MD5 e5f8ad5759054c7675deda18de25740d
BLAKE2b-256 b697932b4dabf64d4add728347b066e68ae4339c9510d82ca66b1aa6cd2440cd

See more details on using hashes here.

File details

Details for the file django_nutrition-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_nutrition-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfa8542b832bd1e73109c897517f2debc7485785a0c583245b8ae8f96ede4351
MD5 7cfb4a29735fdf0b13bab30e284666a0
BLAKE2b-256 5fe2e8123a128d62390e8d2923023be9f5795ba6803ea52260e803afa3507454

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page