Conversation
|
@dhruvhacks Can you please resolve the conflicts. |
|
@RishabhJain2018 Merge conflicts resolved and build failures fixed. Please review the PR. |
| from notices.models import Notice, BookmarkedNotice | ||
|
|
||
|
|
||
| class NoticeAdmin(ImportExportModelAdmin): |
There was a problem hiding this comment.
I think we shouldn't remove the ImportExportModelAdmin from Notice admin.
notices/admin.py
Outdated
| admin.site.register(Notice, NoticeAdmin) | ||
| admin.site.register(BookmarkedNotice, BookmarkedNoticeAdmin) | ||
| admin.site.register(TrendingInCollege, TrendingInCollegeAdmin) | ||
| # admin.site.register(TrendingInCollege, TrendingInCollegeAdmin) #Unused model |
There was a problem hiding this comment.
Well, this isn't the unused model. we display it on the landing page of Infoconnect. Please revert this.
| @@ -5,40 +5,50 @@ | |||
|
|
|||
There was a problem hiding this comment.
Also, I think your editor have screwed up the indentation. Can you please fix it.
| @@ -17,116 +17,128 @@ | |||
|
|
|||
There was a problem hiding this comment.
I don't think this file is a part of this PR. Can you please remove it.
| @@ -5,40 +5,50 @@ | |||
|
|
|||
|
|
|||
There was a problem hiding this comment.
I don't think this file is a part of this PR. Can you please remove it.
264290c to
eda12f2
Compare
|
@RishabhJain2018 All the requested changes have been reverted. |
notices/admin.py
Outdated
|
|
||
|
|
||
| class TrendingInCollegeAdmin(ImportExportModelAdmin): | ||
| class TrendingInCollegeAdmin(admin.ModelAdmin): |
There was a problem hiding this comment.
The admin class change isn't the part of this PR. We can have a separate PR for it. Can you please change it.
652d30c to
eda12f2
Compare
|
@RishabhJain2018 changes updated, Please review the PR. 🙂 |
|
Hey @dhruvhacks I checked it and found that it would not be a good way of displaying it, once the list populates with large number of users. Currently, we can add searching the Bookmarks admin. |
|
@dhruvhacks Any update on this?? |
@RishabhJain2018
We may set a limit (say 10) for no. of users to be displayed who bookmarked the specific notice. Sorry for the late reply. |
|
@dhruvhacks Feel free to merge this as well. |
|
@RishabhJain2018 Okay sir. Will update the PR and consider merging! |
Following PR fixes #52 and fixes #170

Notices bookmarked by users are listed at end of that specific notice now.
Admin Interface
displaying bookmarked notice section at the end of edit notice menu
