small changes
ci/woodpecker/push/build Pipeline was successful Szczegóły
ci/woodpecker/pr/build Pipeline failed Szczegóły

feature/optionalization
mtyton 2023-09-24 09:53:21 +02:00
rodzic 8f4d3b1128
commit 05bc4e41db
3 zmienionych plików z 14 dodań i 3 usunięć

Wyświetl plik

@ -12,8 +12,6 @@ https://docs.djangoproject.com/en/4.1/ref/settings/
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
import json
PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = os.path.dirname(PROJECT_DIR)

Wyświetl plik

@ -0,0 +1,14 @@
from django.test import TestCase
from setup.models import ComfyConfig
class BaseComfyTestCaseMixin:
def setUp(self):
ComfyConfig.objects.create(
logo="images/logo.png",
navbar_position="left",
shop_enabled=True,
active=True,
)
super().setUp()

Wyświetl plik

@ -15,4 +15,3 @@ easy_thumbnails==2.8.5
num2words==0.5.12
sentry-sdk==1.28.0
pandas==2.0.3
django-colorfield==0.9.0