- return render_to_response('base.html', {'sandwiches': sandwiches, 'all': allsandwiches,})
-
-
-def sandwich_month(request, year, month):
+ return render_to_response('allsandwiches.html', {'allsandwiches': ms,}, context_instance=RequestContext(request))
+
+def current_home(request):
+ temp = Sandwich.objects.order_by('-date_made')[0]
+ curr_month = temp.date_made.month
+ curr_year = temp.date_made.year