<filename>rehber/admin.py<gh_stars>0
from django.contrib import admin
from rehber.models import Profil,Rehber


class ProfilAdmin(admin.ModelAdmin):
    list_display = ('id','user','sehir','kendiNo')

class RehberAdmin(admin.ModelAdmin):
    list_display = ('id','user_profil','isim','soyisim', 'telno' )
    
admin.site.register(Profil,ProfilAdmin)
admin.site.register(Rehber,RehberAdmin)
<filename>rehber/admin.py<gh_stars>0
from django.contrib import admin
from rehber.models import Profil,Rehber


class ProfilAdmin(admin.ModelAdmin):
    list_display = ('id','user','sehir','kendiNo')

class RehberAdmin(admin.ModelAdmin):
    list_display = ('id','user_profil','isim','soyisim', 'telno' )
    
admin.site.register(Profil,ProfilAdmin)
admin.site.register(Rehber,RehberAdmin)