mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-15 18:07:02 +00:00
jira-15 dashboard api profile, default image, top leaderboard API
This commit is contained in:
@ -2,8 +2,17 @@
|
||||
from django.contrib import admin
|
||||
|
||||
"""Import django app"""
|
||||
from .models import UserProfile, UserEmailOtp, UserPhoneOtp
|
||||
from .models import UserProfile, UserEmailOtp, UserPhoneOtp, DefaultTaskImages
|
||||
# Register your models here.
|
||||
|
||||
@admin.register(DefaultTaskImages)
|
||||
class DefaultTaskImagesAdmin(admin.ModelAdmin):
|
||||
"""User profile admin"""
|
||||
list_display = ['task_name', 'image_url']
|
||||
|
||||
def __str__(self):
|
||||
return self.image_url
|
||||
|
||||
@admin.register(UserProfile)
|
||||
class UserProfileAdmin(admin.ModelAdmin):
|
||||
"""User profile admin"""
|
||||
|
Reference in New Issue
Block a user