Marietje 4.1: Addition of Django REST framework, Swagger, Dark mode and updates to Django and Bootstrap

This commit is contained in:
Lars van Rhijn
2023-09-14 19:55:51 +02:00
parent 379ababcc0
commit d1a1be7e2e
124 changed files with 4835 additions and 3490 deletions

View File

@ -2,8 +2,9 @@ from django.core.management.base import BaseCommand
from stats.utils import recache_stats
class Command(BaseCommand):
help = 'Update the statistics cache'
help = "Update the statistics cache"
def handle(self, *args, **options):
recache_stats()

View File

@ -2,8 +2,9 @@ from django.core.management.base import BaseCommand
from stats.utils import recache_user_stats
class Command(BaseCommand):
help = 'Update the statistics cache'
help = "Update the statistics cache"
def handle(self, *args, **options):
recache_user_stats()