Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support Django >=4.2 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dj_elastictranscoder/admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.contrib import admin
from dj_elastictranscoder.models import EncodeJob

@admin.register(EncodeJob)
class EncodeJobAdmin(admin.ModelAdmin):
list_display = ('id', 'state', 'message')
list_filters = ('state',)
admin.site.register(EncodeJob, EncodeJobAdmin)
6 changes: 3 additions & 3 deletions dj_elastictranscoder/signals.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.dispatch import Signal

transcode_onprogress = Signal(providing_args=["job", "message"])
transcode_onerror = Signal(providing_args=["job", "message"])
transcode_oncomplete = Signal(providing_args=["job", "message"])
transcode_onprogress = Signal()
transcode_onerror = Signal()
transcode_oncomplete = Signal()
4 changes: 2 additions & 2 deletions dj_elastictranscoder/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.conf.urls import url
from django.urls import path

from dj_elastictranscoder.views import endpoint as transcoder_endpoint

urlpatterns = (url(r'^endpoint/$', transcoder_endpoint, name='transcoder_endpoint'),)
urlpatterns = (path('endpoint/', transcoder_endpoint, name='transcoder_endpoint'),)

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
include_package_data=True,
zip_safe=False,
install_requires=[
"django >= 1.8",
"django >= 4.2",
"boto3 >= 1.1",
],
classifiers=[
Expand Down