Skip to content

Commit

Permalink
Merge pull request #132 from peopledoc/fix-warning
Browse files Browse the repository at this point in the history
Fix `path` warnings
  • Loading branch information
nnachit authored Apr 21, 2022
2 parents d30ad8e + 7fd6c6a commit 15c0371
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions agnocomplete/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
from .views import AgnocompleteView, CatalogView

urlpatterns = [
path(
r'^(?P<klass>[-_\w]+)/$',
AgnocompleteView.as_view(),
name='agnocomplete'),
path(r'^$', CatalogView.as_view(), name='catalog'),
path('<klass>/', AgnocompleteView.as_view(), name='agnocomplete'),
path('', CatalogView.as_view(), name='catalog'),
]

0 comments on commit 15c0371

Please sign in to comment.