“django repos” Réponses codées

Installez le framework Django Rest

pip install djangorestframework
Virgin Programmer

django repos

pip install djangorestframework
pip install markdown       # Markdown support for the browsable API.
pip install django-filter  # Filtering support
Lazy Bum

Framework Django Rest

pip install djangorestframework


#Add 'rest_framework' to your INSTALLED_APPS setting.

INSTALLED_APPS = [
    ...
    'rest_framework',
]
#If you're intending to use the browsable API you'll probably also want to add REST framework's login and logout views. Add the following to your root urls.py file.

urlpatterns = [
    ...
    path('api-auth/', include('rest_framework.urls'))
]
Ahmed Shimul

Réponses similaires à “django repos”

Questions similaires à “django repos”

Plus de réponses similaires à “django repos” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code