Refactor database models to majorly increase queries needed and decrease load times of home from 30 secs to 5 sec (we will be caching the rest to decrease even further via background tasks)
This commit is contained in:
parent
f7a9b2f823
commit
86c7eba10a
25 changed files with 1941 additions and 1560 deletions
|
|
@ -1,9 +1,7 @@
|
|||
from django.contrib import admin
|
||||
from .models import CardSet, Deck, Card, Rarity, DeckNameTranslation, CardNameTranslation
|
||||
from .models import Deck, Card, DeckNameTranslation, CardNameTranslation
|
||||
|
||||
admin.site.register(CardSet)
|
||||
admin.site.register(Deck)
|
||||
admin.site.register(Card)
|
||||
admin.site.register(Rarity)
|
||||
admin.site.register(DeckNameTranslation)
|
||||
admin.site.register(CardNameTranslation)
|
||||
Loading…
Add table
Add a link
Reference in a new issue