Skip to content

Commit 7af4bd1

Browse files
adamchainzjpic
authored andcommitted
Fix Python string escape warning
1 parent 16b11e0 commit 7af4bd1

File tree

1 file changed

+1
-1
lines changed
  • test_project/select2_one_to_one

1 file changed

+1
-1
lines changed

test_project/select2_one_to_one/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
name='select2_one_to_one_autocomplete',
1919
),
2020
url(
21-
'test/(?P<pk>\d+)/$',
21+
r'test/(?P<pk>\d+)/$',
2222
generic.UpdateView.as_view(
2323
model=TModel,
2424
form_class=TForm,

0 commit comments

Comments
 (0)