Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
ixnur committed Aug 18, 2023
1 parent 8796b57 commit ebfd764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions envanter/envanter/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def component_detail(request, component_id):
component = get_object_or_404(Component, pk=component_id)
return render(request, 'component_detail_popup.html', {'component': component})
return render(request, 'Popup2', {'component': component})

def parca_ekle(request):
if request.method == 'POST':
Expand All @@ -20,7 +20,7 @@ def parca_ekle(request):
form = ComponentForm()
return render(request, 'index.html', {'form': form})

def Category
#def Category

def index(request):
search_model = request.GET.get('search_model')
Expand Down

0 comments on commit ebfd764

Please sign in to comment.