We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df2e57e + 929d298 commit 4f2af52Copy full SHA for 4f2af52
session/admin.py
@@ -27,7 +27,8 @@ class SessionAdmin(ImportExportModelAdmin):
27
list_display = [
28
"id",
29
"title",
30
- "user",
+ "host_profile_image",
31
+ "host_name",
32
"difficulty",
33
"duration",
34
"language",
session/serializers.py
@@ -69,7 +69,7 @@ class Meta:
69
70
@staticmethod
71
def get_profile_img(obj: Session):
72
- return obj.user.userext.profile_img
+ return obj.host_profile_image
73
74
75
def get_category_name(obj: Session):
0 commit comments