make the markov admin view URLs a bit better
This commit is contained in:
parent
d9f905c691
commit
a345f4567e
|
@ -78,6 +78,6 @@ def teach_line(request):
|
||||||
return render(request, 'teach_line.html', {'form': form})
|
return render(request, 'teach_line.html', {'form': form})
|
||||||
|
|
||||||
|
|
||||||
admin.site.register_view('markovimportfile/', "Markov - Import log file", view=import_file,
|
admin.site.register_view('markov/importfile/', "Markov - Import log file", view=import_file,
|
||||||
urlname='markov_import_file')
|
urlname='markov_import_file')
|
||||||
admin.site.register_view('markovteach/', "Markov - Teach line", view=teach_line, urlname='markov_teach_line')
|
admin.site.register_view('markov/teach/', "Markov - Teach line", view=teach_line, urlname='markov_teach_line')
|
||||||
|
|
Loading…
Reference in New Issue