summaryrefslogtreecommitdiff
path: root/yaksh/admin.py
diff options
context:
space:
mode:
authormaheshgudi2017-01-30 16:36:34 +0530
committermaheshgudi2017-01-30 16:36:34 +0530
commit146c6c351e4921bc8cacf46d1092619a10bc6e8f (patch)
treed9e95f2b4a76be0a174fd9170b12ec55018fbb63 /yaksh/admin.py
parentac549e9cc3064d0a83661b01e9ad71f72c8c2077 (diff)
downloadonline_test-146c6c351e4921bc8cacf46d1092619a10bc6e8f.tar.gz
online_test-146c6c351e4921bc8cacf46d1092619a10bc6e8f.tar.bz2
online_test-146c6c351e4921bc8cacf46d1092619a10bc6e8f.zip
added ip search in admin.
Diffstat (limited to 'yaksh/admin.py')
-rw-r--r--yaksh/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/admin.py b/yaksh/admin.py
index 72496b2..79d4930 100644
--- a/yaksh/admin.py
+++ b/yaksh/admin.py
@@ -6,7 +6,7 @@ from django.contrib import admin
class AnswerPaperAdmin(admin.ModelAdmin):
search_fields = ['user__first_name', 'user__last_name','user__username',
- "question_paper__quiz__description" ]
+ "question_paper__quiz__description","user_ip" ]
admin.site.register(Question)