from django.urls import path, re_path
from api import views

urlpatterns = [
    path('pokemon/', views.PokemonList.as_view()),
    path('pokemon/<name_pokemon>', views.PokemonDetail.as_view()),
    #path('pokemon/strong/<int:fuerza_IV>', views.PokemonStrong.as_view()),
    re_path(r'^pokemon/strong/$', views.PokemonStrong.as_view()),
    re_path(r'^pokemon/attack/$', views.PokemonAttack.as_view()),
    #path('pokemon/defense/<int:defense>', views.PokemonDefense.as_view()),
    re_path(r'^pokemon/defense/$', views.PokemonDefense.as_view()),
    re_path(r'^pokemon/type/$', views.PokemonType.as_view()),
    re_path(r'^pokemon/predict/$', views.PokemonPredictLegendary.as_view()),
    re_path(r'^pokemon/legendary/$', views.PokemonLegendary.as_view()),
]



80a6aee5b595fe973fd256fa976e6e14ac77a8f9
<mask token>

<mask token>
urlpatterns = [path('pokemon/', views.PokemonList.as_view()), path(
    'pokemon/<name_pokemon>', views.PokemonDetail.as_view()), re_path(
    '^pokemon/strong/$', views.PokemonStrong.as_view()), re_path(
    '^pokemon/attack/$', views.PokemonAttack.as_view()), re_path(
    '^pokemon/defense/$', views.PokemonDefense.as_view()), re_path(
    '^pokemon/type/$', views.PokemonType.as_view()), re_path(
    '^pokemon/predict/$', views.PokemonPredictLegendary.as_view()), re_path
    ('^pokemon/legendary/$', views.PokemonLegendary.as_view())]

from django.urls import path, re_path
from api import views
urlpatterns = [path('pokemon/', views.PokemonList.as_view()), path(
    'pokemon/<name_pokemon>', views.PokemonDetail.as_view()), re_path(
    '^pokemon/strong/$', views.PokemonStrong.as_view()), re_path(
    '^pokemon/attack/$', views.PokemonAttack.as_view()), re_path(
    '^pokemon/defense/$', views.PokemonDefense.as_view()), re_path(
    '^pokemon/type/$', views.PokemonType.as_view()), re_path(
    '^pokemon/predict/$', views.PokemonPredictLegendary.as_view()), re_path
    ('^pokemon/legendary/$', views.PokemonLegendary.as_view())]

from django.urls import path, re_path
from api import views

urlpatterns = [
    path('pokemon/', views.PokemonList.as_view()),
    path('pokemon/<name_pokemon>', views.PokemonDetail.as_view()),
    #path('pokemon/strong/<int:fuerza_IV>', views.PokemonStrong.as_view()),
    re_path(r'^pokemon/strong/$', views.PokemonStrong.as_view()),
    re_path(r'^pokemon/attack/$', views.PokemonAttack.as_view()),
    #path('pokemon/defense/<int:defense>', views.PokemonDefense.as_view()),
    re_path(r'^pokemon/defense/$', views.PokemonDefense.as_view()),
    re_path(r'^pokemon/type/$', views.PokemonType.as_view()),
    re_path(r'^pokemon/predict/$', views.PokemonPredictLegendary.as_view()),
    re_path(r'^pokemon/legendary/$', views.PokemonLegendary.as_view()),
]


