add product
This commit is contained in:
1 parent
423d4cf40e
commit
c8d45dd07c
58 files changed
+8309
-674
No files matched your search
@@ -102,7 +102,7 @@ ROOT_URLCONF = 'config.urls'
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
'apps.jwt_auth.authentication.SessionJWTAuthentication',
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
"""Isolated regression settings; production data and SMS are never used."""
|
||||
from .base import *
|
||||
|
||||
DATABASES = {'default': {'ENGINE': 'config.test_sqlite', 'NAME': ':memory:'}}
|
||||
SILENCED_SYSTEM_CHECKS = ['fields.E120'] # Existing PostgreSQL unbounded varchar.
|
||||
MIDDLEWARE = [item for item in MIDDLEWARE if not item.startswith('whitenoise.')]
|
||||
PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher']
|
||||
Reference in new issue
Block a user