Page not found (404)

Request Method: GET
Request URL: https://swapi.dev/api/starships/22/&quot/

Using the URLconf defined in swapi.urls, Django tried these URL patterns, in this order:

  1. ^admin/
  2. ^$
  3. ^documentation$
  4. ^about$
  5. ^stats$
  6. ^stripe/donation
  7. ^api/people/schema$
  8. ^api/planets/schema$
  9. ^api/films/schema$
  10. ^api/species/schema$
  11. ^api/vehicles/schema$
  12. ^api/starships/schema$
  13. ^api/ ^$ [name='api-root']
  14. ^api/ ^\.(?P<format>[a-z0-9]+)$ [name='api-root']
  15. ^api/ ^people/$ [name='people-list']
  16. ^api/ ^people/\.(?P<format>[a-z0-9]+)$ [name='people-list']
  17. ^api/ ^people/(?P<pk>[^/.]+)/$ [name='people-detail']
  18. ^api/ ^people/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='people-detail']
  19. ^api/ ^planets/$ [name='planet-list']
  20. ^api/ ^planets/\.(?P<format>[a-z0-9]+)$ [name='planet-list']
  21. ^api/ ^planets/(?P<pk>[^/.]+)/$ [name='planet-detail']
  22. ^api/ ^planets/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='planet-detail']
  23. ^api/ ^films/$ [name='film-list']
  24. ^api/ ^films/\.(?P<format>[a-z0-9]+)$ [name='film-list']
  25. ^api/ ^films/(?P<pk>[^/.]+)/$ [name='film-detail']
  26. ^api/ ^films/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='film-detail']
  27. ^api/ ^species/$ [name='species-list']
  28. ^api/ ^species/\.(?P<format>[a-z0-9]+)$ [name='species-list']
  29. ^api/ ^species/(?P<pk>[^/.]+)/$ [name='species-detail']
  30. ^api/ ^species/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='species-detail']
  31. ^api/ ^vehicles/$ [name='vehicle-list']
  32. ^api/ ^vehicles/\.(?P<format>[a-z0-9]+)$ [name='vehicle-list']
  33. ^api/ ^vehicles/(?P<pk>[^/.]+)/$ [name='vehicle-detail']
  34. ^api/ ^vehicles/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='vehicle-detail']
  35. ^api/ ^starships/$ [name='starship-list']
  36. ^api/ ^starships/\.(?P<format>[a-z0-9]+)$ [name='starship-list']
  37. ^api/ ^starships/(?P<pk>[^/.]+)/$ [name='starship-detail']
  38. ^api/ ^starships/(?P<pk>[^/.]+)/\.(?P<format>[a-z0-9]+)$ [name='starship-detail']

The current URL, api/starships/22/&quot/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.