Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added details of contest in Admin Dashboard #160

Conversation

vaibhavsingh97
Copy link
Member

Checklist

  • My branch is up-to-date with the upstream develop branch.
  • I have added necessary documentation (if appropriate).

Which issue does this PR fix?: fixes #159

Why do we need this PR?:
Admin Dashboard does not show details of contest so admin have to click on each and every contest to get details of contests

Demo (optional):
image

@@ -9,6 +9,9 @@
class chatSessionAdmin(admin.ModelAdmin):
list_display = ('title', 'start_date')

class contestAdmin(admin.ModelAdmin):
list_display = ('name', 'link', 'description', 'start_date', 'end_date', 'approved')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (88 > 79 characters)

@@ -9,6 +9,9 @@
class chatSessionAdmin(admin.ModelAdmin):
list_display = ('title', 'start_date')

class contestAdmin(admin.ModelAdmin):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expected 2 blank lines, found 1

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 70.103% when pulling 60bd0af on vaibhavsingh97:Patch2/shodDeatilsAdmin into b709a40 on OpenSourceHelpCommunity:predev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 70.103% when pulling 60bd0af on vaibhavsingh97:Patch2/shodDeatilsAdmin into b709a40 on OpenSourceHelpCommunity:predev.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 70.103% when pulling f92f75d on vaibhavsingh97:Patch2/shodDeatilsAdmin into b709a40 on OpenSourceHelpCommunity:predev.

@@ -10,5 +10,9 @@ class chatSessionAdmin(admin.ModelAdmin):
list_display = ('title', 'start_date')


class contestAdmin(admin.ModelAdmin):
list_display = ('name', 'link', 'description', 'start_date', 'end_date', 'approved')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't enable inline edit. Admin still need to go inside the event and say approve/disapprove and save.

Copy link
Member

@tapaswenipathak tapaswenipathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we enable inline edit than it's cool!

@tapaswenipathak
Copy link
Member

Closed with 575c764.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable approve of contest from admin dashboard initial page [list of contests]
4 participants