Skip to content

Commit e96dd51

Browse files
committed
add model in admin
1 parent 91712f7 commit e96dd51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hello/admin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from django.contrib import admin
22

3-
# Register your models here.
3+
from . import models
4+
5+
admin.site.register(models.LogMessage)

0 commit comments

Comments
 (0)