Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
simhnna committed Oct 31, 2024
1 parent 69f35e4 commit db2a72d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions deploy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'allauth.account.middleware.AccountMiddleware',
]

ROOT_URLCONF = 'urls'
Expand Down
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Django>=5.1.2
django-allauth>=65.1.0
django-cors-headers>=4.6.0
django-widgets-improved>=1.5.0
djangorestframework>=3.15.2
python-dateutil>=2.9.0.post0
pytz>=2024.2
3 changes: 2 additions & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data')
BASE_DIR = os.path.dirname(os.path.abspath(__file__))


# Quick-start development settings - unsuitable for production
Expand Down Expand Up @@ -60,6 +60,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'allauth.account.middleware.AccountMiddleware',
]

CORS_ORIGIN_WHITELIST = (
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ def get_version():
packages=['silverstrike'],
include_package_data=True,
install_requires=[
'django>=4.1',
'django>=5.1',
'djangorestframework>=3.12',
'django-widgets-improved',
'django-allauth>=0.40',
'django-allauth>=65.1',
'python-dateutil',
'pytz',
'django-cors-headers>=3.5',
'django-cors-headers>=4.6',
],
extras_require={
'OFX Importing': ['ofxparse'],
Expand Down

0 comments on commit db2a72d

Please sign in to comment.