Skip to content

Commit

Permalink
Merge pull request #1454 from TimOsahenru/register-models
Browse files Browse the repository at this point in the history
Closes #1419 Registered unregistered models
  • Loading branch information
brylie authored Oct 27, 2022
2 parents 87d9a28 + dd6a705 commit b0e1c1c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
1 change: 0 additions & 1 deletion project/accounts/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

# Register your models here.
admin.site.register(Profile)

admin.site.register(User)
5 changes: 5 additions & 0 deletions project/categories/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin

from .models import Category

admin.site.register(Category)
5 changes: 5 additions & 0 deletions project/notification/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin

from .models import Notification

admin.site.register(Notification)
21 changes: 21 additions & 0 deletions project/threads/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from django.contrib import admin

from .models import (
Activity,
Civi,
CiviImage,
Fact,
Rationale,
Rebuttal,
Response,
Thread,
)

admin.site.register(Fact)
admin.site.register(Thread)
admin.site.register(Civi)
admin.site.register(Response)
admin.site.register(CiviImage)
admin.site.register(Activity)
admin.site.register(Rebuttal)
admin.site.register(Rationale)

0 comments on commit b0e1c1c

Please sign in to comment.