Skip to content

Commit

Permalink
ghbjfjkniyuf
Browse files Browse the repository at this point in the history
  • Loading branch information
Dihfahsih1 committed Dec 16, 2021
1 parent 0857a82 commit af28da6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions r.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file modified requirements.txt
Binary file not shown.
9 changes: 3 additions & 6 deletions savings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'savingsapp/static'),
)
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'savingsapp/static'),)

DATE_INPUT_FORMATS = ['%Y-%-m-%d', ]
REST_FRAMEWORK = {
Expand All @@ -45,6 +43,7 @@
'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 100
}

AUTH_USER_MODEL = "savingsapp.CustomUser"
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
Expand Down Expand Up @@ -85,8 +84,7 @@
'PASSWORD':env("DB_PASSWORD"),
'HOST': env("DB_HOST"),
'PORT':env("DB_PORT"),
}
}
}}
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
Expand All @@ -107,7 +105,6 @@
USE_L10N = True
USE_TZ = True


MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
CRISPY_TEMPLATE_PACK = 'bootstrap4'
Expand Down

0 comments on commit af28da6

Please sign in to comment.