Skip to content

Commit 48adff4

Browse files
committed
changed the link in href
1 parent 0604d81 commit 48adff4

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

website/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h4>1. How do I know my OSCN Case Number?</h4>
110110
</div>
111111
<div class="col-sm-6">
112112
<h4>2. What if I still can't find my case number?</h4>
113-
<p>Check with your public defender or search your name online at <a href="http://{{oscnRedirect}}">www.oscn.net/dockets/search.aspx </a>
113+
<p>Check with your public defender or search your name online at <a href="https://www.oscn.net/dockets/search.aspx">www.oscn.net/dockets/search.aspx </a>
114114
</p>
115115
</div>
116116

website/views.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from datetime import datetime, timedelta
33
import re
44

5-
from django.http import JsonResponse, HttpResponse, HttpResponseRedirect
5+
from django.http import JsonResponse, HttpResponse
66
from django.shortcuts import render
77
from django.views.decorators.csrf import csrf_exempt
88
from django.contrib import messages
@@ -12,8 +12,6 @@
1212

1313
from alerts.models import Alert
1414

15-
def oscnRedirect(request):
16-
return HttpResponseRedirect("www.oscn.net/dockets/search.aspx")
1715

1816
def index(request):
1917
# """View function for home page of site."""
@@ -76,5 +74,3 @@ def schedule_reminders(request):
7674
messages.info(request, another_reminder_message)
7775
return redirect('/#form')
7876

79-
#def oscnRedirect(request):
80-
#return redirect("www.oscn.net/dockets/search.aspx")

0 commit comments

Comments
 (0)