from django.contrib import admin

# Register your models here.

from django.contrib import admin

from .models import Notebook

class NotebookAdmin(admin.ModelAdmin):
    model = Notebook

admin.site.register(Notebook, NotebookAdmin)

Add Admin for Notebook model
Add Admin for Notebook model

  from django.contrib import admin
  
- # Register your models here.
+ from .models import Notebook
  
+ class NotebookAdmin(admin.ModelAdmin):
+     model = Notebook
+ 
+ admin.site.register(Notebook, NotebookAdmin)
+ 
Add Admin for Notebook model
## Code Before:
from django.contrib import admin

# Register your models here.

## Instruction:
Add Admin for Notebook model
## Code After:
from django.contrib import admin

from .models import Notebook

class NotebookAdmin(admin.ModelAdmin):
    model = Notebook

admin.site.register(Notebook, NotebookAdmin)
