Ver a proveniência

Fix: Fix argument name error caused by drf upgrade

pull/207/head
winkidney há 4 anos
ascendente
cometimento
c9adc0d59c
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      core/views.py
  2. +1
    -1
      users/views.py

+ 1
- 1
core/views.py Ver ficheiro

@@ -82,4 +82,4 @@ drf_router.register(r'pins', PinViewSet, basename="pin")
drf_router.register(r'images', ImageViewSet)
drf_router.register(r'boards', BoardViewSet, basename="board")
drf_router.register(r'tags-auto-complete', TagAutoCompleteViewSet)
drf_router.register(r'boards-auto-complete', BoardAutoCompleteViewSet, base_name="board")
drf_router.register(r'boards-auto-complete', BoardAutoCompleteViewSet, basename="board")

+ 1
- 1
users/views.py Ver ficheiro

@@ -86,4 +86,4 @@ def logout_user(request):


drf_router = routers.DefaultRouter()
drf_router.register(r'users', UserViewSet, base_name="user")
drf_router.register(r'users', UserViewSet, basename="user")

Carregando…
Cancelar
Guardar