make the markov admin view URLs a bit better

This commit is contained in:
Brian S. Stephan 2015-06-13 13:08:14 -05:00
parent d9f905c691
commit a345f4567e
1 changed files with 2 additions and 2 deletions

View File

@ -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')