dylanleigh / PriceAndNutritionTrackingSystem

PANTS is a self-hosted, open-source nutrition tracker and tool for nutritional data analysis of ingredients and recipes.
Apache License 2.0
115 stars 26 forks source link

TemplateSyntaxError at /wearpants/ #3

Closed glsdesign closed 4 years ago

glsdesign commented 4 years ago

Hi Dylan, your application really intrigues me, it can be the most complete I've ever seen. I followed your instructions but trying to access http://127.0.0.1:8000 it gives the following error in the rendered webpage:

TemplateSyntaxError at /wearpants/

'staticfiles' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_urls
cache
css_visuals
debugger_tags
highlighting
i18n
indent_text
l10n
log
static
syntax_color
truncate_letters
tz
widont

Any hint?

dylanleigh commented 4 years ago

Looks like "staticfiles" was deprecated and removed between Django 2.x and 3.x - I'll update to static

dylanleigh commented 4 years ago

Thanks for reporting this - I've updated the static library and bumped the minimum version to the latest LTS release of Django to catch any other deprecated things.

Fixed in commit 2c24966b78bf872c1e0c02e0e1b78274e1705fc0