Skip to content

Commit

Permalink
Fix django admin model registration
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Jun 20, 2021
1 parent 0d085f1 commit 8fd021b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 5 additions & 2 deletions src/ARte/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from django.contrib import admin
from core.models import Exhibit
from core.models import Exhibit, Artwork, Object, Marker

admin.site.register(Exhibit)
admin.site.register(Exhibit)
admin.site.register(Object)
admin.site.register(Marker)
admin.site.register(Artwork)
5 changes: 1 addition & 4 deletions src/ARte/users/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from django.contrib import admin
from users.models import Profile
from core.models import Artwork, Object

admin.site.register(Artwork)
admin.site.register(Profile)
admin.site.register(Object)
admin.site.register(Profile)

0 comments on commit 8fd021b

Please sign in to comment.