From 659b73e695c8e108250b783eea224f5a1ffcdcff Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 10 Feb 2023 07:20:36 +0000 Subject: [PATCH] Add mixins --- app/settings.py | 1 + core/views/accounts.py | 3 +++ requirements.txt | 1 + 3 files changed, 5 insertions(+) diff --git a/app/settings.py b/app/settings.py index 6a12366..768e261 100644 --- a/app/settings.py +++ b/app/settings.py @@ -52,6 +52,7 @@ INSTALLED_APPS = [ # "two_factor.plugins.email", # "two_factor.plugins.yubikey", # "otp_yubikey", + "mixins", ] CRISPY_TEMPLATE_PACK = "bulma" CRISPY_ALLOWED_TEMPLATE_PACKS = ("bulma",) diff --git a/core/views/accounts.py b/core/views/accounts.py index e6572d5..b08a418 100644 --- a/core/views/accounts.py +++ b/core/views/accounts.py @@ -6,6 +6,9 @@ from core.models import Account from core.util import logs from core.views import ObjectCreate, ObjectDelete, ObjectList, ObjectRead, ObjectUpdate +# from mixins.views import ObjectCreate, ObjectDelete, +# #ObjectList, ObjectRead, ObjectUpdate + log = logs.get_logger(__name__) diff --git a/requirements.txt b/requirements.txt index 7a83dd3..0ab1286 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,3 +21,4 @@ alpaca-py oandapyV20 glom elasticsearch +git+https://git.zm.is/XF/django-crud-mixins