markov: point admin forms at templates properly
This commit is contained in:
parent
81339a4f16
commit
c9f73f44e2
@ -58,7 +58,7 @@ def import_file(request):
|
||||
else:
|
||||
form = LogUploadForm()
|
||||
|
||||
return render(request, 'import_file.html', {'form': form})
|
||||
return render(request, 'markov/import_file.html', {'form': form})
|
||||
|
||||
|
||||
@permission_required('teach_line', raise_exception=True)
|
||||
@ -77,7 +77,7 @@ def teach_line(request):
|
||||
else:
|
||||
form = TeachLineForm()
|
||||
|
||||
return render(request, 'teach_line.html', {'form': form})
|
||||
return render(request, 'markov/teach_line.html', {'form': form})
|
||||
|
||||
|
||||
admin.site.register_view('markov/importfile/', "Markov - Import log file", view=import_file,
|
||||
|
Loading…
Reference in New Issue
Block a user