Skip to content

Commit

Permalink
fix base_name error
Browse files Browse the repository at this point in the history
  • Loading branch information
jperelli committed Jun 27, 2024
1 parent 34d3bd1 commit 7fcaa26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/api3/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
router.register(r'geocoder', views.GeocoderViewSet, "geocoder")
router.register(r'geocoder/suggest', views.GeocoderSuggestViewSet, "geocoder/suggest"),
router.register(r'geocoder/reverse', views.ReverseGeocoderView, "geocoder/reverse")
router.register(r'me', views.UserViewSet, base_name='me')
router.register(r'importerlog', views.ImporterLogViewSet, base_name='importerlog')
router.register(r'me', views.UserViewSet, basename='me')
router.register(r'importerlog', views.ImporterLogViewSet, basename='importerlog')

urlpatterns = [
url(r'^auth/', include('rest_framework.urls', namespace='rest_framework')),
url(r'^recorridos-por-ciudad/(?P<ciudad_id>\d+)/$', views.RecorridosPorCiudad.as_view({'get': 'list'})),
url(r'^recorridos-best-matches/(?P<ciudad_id>\d+)/$', views.best_matches),
url(r'^match-recorridos/(?P<recorrido_id>\d+)/$', views.match_recorridos),
Expand Down

0 comments on commit 7fcaa26

Please sign in to comment.