<filename>p_api/admin.py
from django.contrib import admin
from p_api import models


admin.site.register(models.UserProfile) # enable django admin




<filename>p_api/admin.py
from django.contrib import admin
from p_api import models


admin.site.register(models.UserProfile) # enable django admin




# enable django admin