Skip to content

Commit

Permalink
Resolve RemovedInDjango40Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
supertom01 committed Jan 8, 2024
1 parent e7cdcaa commit 487274d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions amelie/calendar/participation_urls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from django.conf.urls import url
from django.urls import path

from amelie.calendar import views

app_name = 'calendar'

urlpatterns = [
url(r'^(?P<pk>\d+)/pay/', views.PayParticipationView.as_view(), name='pay_participation'),
path(r'<int:pk>/pay/', views.PayParticipationView.as_view(), name='pay_participation'),
]
2 changes: 1 addition & 1 deletion amelie/oauth/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django import forms
from django.forms import widgets
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _


class OAuth2RequestForm(forms.Form):
Expand Down

0 comments on commit 487274d

Please sign in to comment.