CI Python Linter
from django.contrib import admin from .models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ("user", ) admin.site.register(UserProfile, UserProfileAdmin)
Settings:
from django.contrib import admin from .models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ("user", ) admin.site.register(UserProfile, UserProfileAdmin)
Results:
All clear, no errors found