.
This commit is contained in:
@@ -10,12 +10,12 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='long',
|
||||
name='condition',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='long',
|
||||
name='sign',
|
||||
),
|
||||
#migrations.RemoveField(
|
||||
# model_name='long',
|
||||
# name='condition',
|
||||
#),
|
||||
#migrations.RemoveField(
|
||||
# model_name='long',
|
||||
# name='sign',
|
||||
#),
|
||||
]
|
||||
|
||||
@@ -103,6 +103,9 @@ def cid_selector(request):
|
||||
def cid_scores_admin(request, cid):
|
||||
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user