diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 59cf74c..a1e7a09 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -20,10 +20,9 @@ env: GOOGLE_OAUTH_CLIENT_ID: 628308091838-nvfn455vabbq7j0odd797sls8itpplmr.apps.googleusercontent.com SECRET_KEY: 9%2e!&f6(ib^690y48z)&w6fczhwukzzp@3y*^*7u+7%4s-mie GOOGLE_OAUTH_CLIENT_SECRET: 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 - refresh_token: 1//0gCf5fxAgSqNcCgYIARAAGBASNwF-L9IrIWxWwqmboeJkEzVn0sqxbaeyWXODE5s24V7pSdiAzFM2cxOUC9XT_xp7t_60o3JMfOg - email_id: 200010030@iitdh.ac.in - s_email: 200010024@iitdh.ac.in - roll_no: 200010030 + REFRESH_TOKEN: 1//0gCf5fxAgSqNcCgYIARAAGBASNwF-L9IrIWxWwqmboeJkEzVn0sqxbaeyWXODE5s24V7pSdiAzFM2cxOUC9XT_xp7t_60o3JMfOg + EMAIL_ID: 200010030@iitdh.ac.in + ROLL_NO: 200010030 jobs: build: diff --git a/CDC_Backend/APIs/admin.py b/CDC_Backend/APIs/admin.py index e44b2ea..a14a7d9 100644 --- a/CDC_Backend/APIs/admin.py +++ b/CDC_Backend/APIs/admin.py @@ -149,8 +149,8 @@ class InternshipApplicationAdmin(ExportMixin, SimpleHistoryAdmin): @admin.register(PlacementApplication) class PlacementApplication(PlacementAdmin): list_display = ('id', 'Placement', 'Student', 'selected') - search_fields = ('id','Placement', 'Student') - ordering = ('id','Placement', 'Student') + search_fields = ('id',) + ordering = ('id',) list_filter = ('selected',) def Placement(self, obj): @@ -161,8 +161,8 @@ class PlacementApplication(PlacementAdmin): @admin.register(InternshipApplication) class InternshipApplication(InternshipApplicationAdmin): list_display = ('id', 'Internship', 'Student', 'selected') - search_fields = ('id', 'Internship', 'Student') - ordering = ('id', 'Internship', 'Student') + search_fields = ('id',) + ordering = ('id',) list_filter = ('selected',) def Internship(self, obj):