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.5.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

django_nutrition-0.5.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_nutrition-0.5.0.tar.gz
  • Upload date:
  • Size: 32.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 172b70d4c9d720696530aa99da454624e3d6cde16fa57dbb549f9a8563f41d66
MD5 8fe52efa02c1944f737cd2e9c3d6a96d
BLAKE2b-256 e81fd68e2d9867b52d6db5178fcffb8a0a8f1b28cc28f0b45c60a6b9095f643f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_nutrition-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 beb82dc5c87ec633a9f8553ffd14db1e9a7648e22532aaa9bfd7ba44cee13aac
MD5 86b630966586a198111add5abfb96494
BLAKE2b-256 c25764ef19247cb132e8646f4681eb133c855e566669ccc2b43b3e8ee384603f

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