.
This commit is contained in:
@@ -10,12 +10,12 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.RemoveField(
|
#migrations.RemoveField(
|
||||||
model_name='long',
|
# model_name='long',
|
||||||
name='condition',
|
# name='condition',
|
||||||
),
|
#),
|
||||||
migrations.RemoveField(
|
#migrations.RemoveField(
|
||||||
model_name='long',
|
# model_name='long',
|
||||||
name='sign',
|
# name='sign',
|
||||||
),
|
#),
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -103,6 +103,9 @@ def cid_selector(request):
|
|||||||
def cid_scores_admin(request, cid):
|
def cid_scores_admin(request, cid):
|
||||||
cid_user = CidUser.objects.filter(cid=cid).first()
|
cid_user = CidUser.objects.filter(cid=cid).first()
|
||||||
|
|
||||||
|
if not cid_user:
|
||||||
|
raise Http404("CID not found")
|
||||||
|
|
||||||
return cid_scores(request, cid_user.cid, cid_user.passcode)
|
return cid_scores(request, cid_user.cid, cid_user.passcode)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user