Skip to content

Commit

Permalink
added foods
Browse files Browse the repository at this point in the history
  • Loading branch information
krishna-shah-07 committed Jan 2, 2025
1 parent 12ae2fc commit bc944e8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file modified db.sqlite3
Binary file not shown.
Binary file not shown.
Binary file added media/product_images/Miso-Chicken-Noodle.webp
Binary file not shown.
Binary file added media/product_images/potato-wedges-7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions products/templates/products/product_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<body>
<div class="container">
<h1 class="my-4">Food List</h1>
<a href="{% url 'product_add' %}" class="btn btn-primary mb-4">Add New Food Item</a>
<a href="{% url 'product_add' %}" class="btn btn-primary">Add New Food Item</a>
<div class="row">
{% for product in products %}
<div class="col-md-4">
<div class="col-md-4 mt-4">
<div class="card mb-4">
{% if product.image %}
<img src="{{ product.image.url }}" class="card-img-top" alt="{{ product.name }}">
Expand Down

0 comments on commit bc944e8

Please sign in to comment.