from django.contrib import admin
from .models import Notes,UserProfile

# Register your models here.
class NotesAdmin(admin.ModelAdmin):
	list_display=('title','user','content','publish','updated_at')
	prepopulated_fields={'slug':('title',)} 

class ProfileAdmin(admin.ModelAdmin):
	list_display=('first_name','last_name','birthday','bio','profilepic','hobby')


admin.site.register(Notes,NotesAdmin)
admin.site.register(UserProfile,ProfileAdmin)
a1e85373fa6ae6b336964f177e44b7d3e67b5e18
<mask token>


class NotesAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


class ProfileAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday', 'bio',
        'profilepic', 'hobby')


<mask token>

<mask token>


class NotesAdmin(admin.ModelAdmin):
    list_display = 'title', 'user', 'content', 'publish', 'updated_at'
    prepopulated_fields = {'slug': ('title',)}


class ProfileAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday', 'bio',
        'profilepic', 'hobby')


<mask token>

<mask token>


class NotesAdmin(admin.ModelAdmin):
    list_display = 'title', 'user', 'content', 'publish', 'updated_at'
    prepopulated_fields = {'slug': ('title',)}


class ProfileAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday', 'bio',
        'profilepic', 'hobby')


admin.site.register(Notes, NotesAdmin)
admin.site.register(UserProfile, ProfileAdmin)

from django.contrib import admin
from .models import Notes, UserProfile


class NotesAdmin(admin.ModelAdmin):
    list_display = 'title', 'user', 'content', 'publish', 'updated_at'
    prepopulated_fields = {'slug': ('title',)}


class ProfileAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'birthday', 'bio',
        'profilepic', 'hobby')


admin.site.register(Notes, NotesAdmin)
admin.site.register(UserProfile, ProfileAdmin)

from django.contrib import admin
from .models import Notes,UserProfile

# Register your models here.
class NotesAdmin(admin.ModelAdmin):
	list_display=('title','user','content','publish','updated_at')
	prepopulated_fields={'slug':('title',)} 

class ProfileAdmin(admin.ModelAdmin):
	list_display=('first_name','last_name','birthday','bio','profilepic','hobby')


admin.site.register(Notes,NotesAdmin)
admin.site.register(UserProfile,ProfileAdmin)