Skip to content

Commit

Permalink
Added Link to API
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuliia Hladyshkevych committed Jan 25, 2024
1 parent 6bebe60 commit 61d3a2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cryptocurrency/urls_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from django.urls import path

from .views import CryptocurrencyViewSet

urlpatterns = [
path(
"cryptocurrencies/",
CryptocurrencyViewSet.as_view({"get": "list"}),
name="cryptocurrency-list-api",
),
]

app_name = "cryptocurrency"

0 comments on commit 61d3a2f

Please sign in to comment.