Skip to content

Commit

Permalink
Merge pull request #25 from dabapps/django-upgrade-4.2
Browse files Browse the repository at this point in the history
Django upgrade 4.2
  • Loading branch information
nvlaarhoven authored Oct 5, 2023
2 parents 2daf63f + 9f9cbd0 commit ba20e87
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 15 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ jobs:

strategy:
matrix:
python: ["3.8", "3.9", "3.10"]
django: ["3.2"]
python: ["3.8", "3.9", "3.10", "3.11"]
django: ["3.2", "4.0", "4.1", "4.2"]
exclude:
- python: "3.11"
django: "3.2"
- python: "3.11"
django: "4.0"

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
boto3==1.18.63
Django==3.2.8
django-fsm==2.8.0
boto3==1.28.57
Django==4.2.5
django-fsm==2.8.1
2 changes: 1 addition & 1 deletion s3_file_uploads/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.7'
__version__ = '0.0.8'
8 changes: 4 additions & 4 deletions s3_file_uploads/urls.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from django.conf.urls import url
from django.urls import re_path
from s3_file_uploads import views


app_name = 's3_file_uploads'


urlpatterns = [
url(r'^$', view=views.UploadedFileCreateView.as_view(), name='upload-file-create'),
url(r'^(?P<file_id>[0-9a-f-]+)/$', view=views.UploadedFileFetchView.as_view(), name='upload-file-fetch'),
url(r'^(?P<file_id>[0-9a-f-]+)/complete/$', view=views.UploadedFileUploadCompleteView.as_view(), name='upload-file-complete'),
re_path(r'^$', view=views.UploadedFileCreateView.as_view(), name='upload-file-create'),
re_path(r'^(?P<file_id>[0-9a-f-]+)/$', view=views.UploadedFileFetchView.as_view(), name='upload-file-fetch'),
re_path(r'^(?P<file_id>[0-9a-f-]+)/complete/$', view=views.UploadedFileUploadCompleteView.as_view(), name='upload-file-complete'),
]
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
author_email = '[email protected]'
license = 'BSD'
install_requires = [
'boto3==1.18.63',
'boto3==1.28.57',
'Django>=3.2',
'django-fsm==2.8.0'
'django-fsm==2.8.1'
]
long_description_content_type="text/markdown",
long_description = """
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r ../requirements.txt
djangorestframework==3.12.4
djangorestframework==3.14.0
model_mommy==2.0.0
5 changes: 3 additions & 2 deletions tests/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from django.conf.urls import include, url
from django.conf.urls import include
from django.urls import re_path


urlpatterns = [
url(r'^s3-file-uploads/', view=include('s3_file_uploads.urls')),
re_path(r'^s3-file-uploads/', view=include('s3_file_uploads.urls')),
]

0 comments on commit ba20e87

Please sign in to comment.