Page not found (404)

No Card matches the given query.
Request Method: GET
Request URL: https://wesharescience.com/4/
Raised by: cards.views.details

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

  1. admin/
  2. [name='index']
  3. toggle_favorite [name='toggle_favorite']
  4. accounts/
  5. accounts/
  6. <int:card_id>/ [name='details']

The current path, 4/, matched the last one.

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.