Commit 50eafb5a authored by Sylvain Coulange's avatar Sylvain Coulange 🌼
Browse files

redir app/

parent e525d9b3
......@@ -11,7 +11,7 @@ nlp = spacy.load('fr')
logFile = "../logs/dico_frwiktionary-20200301_v2.log"
def redirApp(request):
return HttpResponseRedirect('/app/')
return HttpResponseRedirect('/')
def main(request):
if request.POST.get('inText'):
......@@ -19,8 +19,8 @@ from colorapp.views import main, dicoView, editEntry, redirApp, main0, dicoReq,
urlpatterns = [
path('', redirApp),
path('app/', main),
path('app/', redirApp),
path('', main),
path('app/0', main0),
path('app/dico/', dicoView),
path('dicoSearch/', dicoReq),
......@@ -21,7 +21,7 @@
<div class="inputDiv">
<form action="/app/" method="post">{% csrf_token %}
<form action="/" method="post">{% csrf_token %}
<div class="param">
<input id="swcolor" type="radio" name="colorType" value="sw" {%if data.colorType == "sw" %}checked{% endif %}> <label for="swcolor">Silent Way</label><br/>
<input id="bicolor" type="radio" name="colorType" value="bi" {%if data.colorType == "bi" %}checked{% endif %}> <label for="bicolor">Bicolore</label>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment