w-a-r-m-inventory-system/Food-Pantry-Inventory

Rework forms, views and templates into more manageable "chunks"

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
There is a lot of "cruft" in the system -- especially in the code and templates.

Describe the solution you'd like

  • Unused code should be removed
  • Consider reorganizing views.py and forms.py where the view(s) and form(s) for a given topic are consolidated into separate python programs
  • Add consistent comments in each template showing the names for forms, views, and URL's for each template.
  • Add consistent header blocks to each template.

Describe alternatives you've considered
This is a first cut to improving the code. Further refinements or suggestions are welcome.

Additional context
Do this as time and energy are available.