Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Endpointleri DRF dokümantasyonuna ekleme #8

Open
emir opened this issue Jun 2, 2020 · 1 comment
Open

Endpointleri DRF dokümantasyonuna ekleme #8

emir opened this issue Jun 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@emir
Copy link
Member

emir commented Jun 2, 2020

router = routers.DefaultRouter()

urlpatterns = [
    path('tags/', views.TagsView.as_view()),
    path('companies/', views.CompaniesView.as_view()),
    path('posts/', views.PostsView.as_view()),
    path('locations/', views.FindLocationAction.as_view()),
    path('', include(router.urls)),
    path('admin/', admin.site.urls),
]

ListAPIView kullandığımız için DRF dokümantasyonunda resources ve itemlar gözükmüyor. Bunları da nasıl ekleyeceğimizi çözelim.

@emir emir added the enhancement New feature or request label Jun 2, 2020
@tamert
Copy link
Contributor

tamert commented Jun 14, 2020

resolve GH-10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants