Skip to content

Commit

Permalink
v 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmpgh-viewer committed May 14, 2020
1 parent c8ca193 commit 2f1489f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion templates/tracker/meal_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ <h1>{{ form_title }}</h1>
</div>
<div class="medium-3"></div>
</div>

{% endblock content %}
7 changes: 6 additions & 1 deletion tracker/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@ def add_meal(request):

@login_required
def get_meal_info(request, meal_id):

"""
Get the information about a meal
:param request:
:param meal_id:
:return:
"""
meal = get_object_or_404(CommonMeals, id=meal_id)

return JsonResponse(data={
Expand Down

0 comments on commit 2f1489f

Please sign in to comment.