gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s

This commit is contained in:
2026-04-15 08:59:36 +02:00
commit ab73d05ecc
359 changed files with 14415 additions and 0 deletions

View File

@@ -0,0 +1 @@
from .core import * # noqa

View File

View File

@@ -0,0 +1,16 @@
"""
Clear cache command
"""
from django.core.cache import cache
from django.core.management import BaseCommand
from core.utils import console
class Command(BaseCommand):
help = "Clear all caches"
def handle(self, *args, **options):
cache.clear()
console.Console.success("Cache cleared successfully")

10
core/http/management/core.py Executable file
View File

@@ -0,0 +1,10 @@
from django.db.models.manager import BaseManager as BManager
from django.db.models.query import QuerySet
class BaseQuerySet(QuerySet):
pass
class BaseManager(BManager):
pass