Page not found (404)

No structures found matching the query
Request Method: GET
Request URL: http://drugcentral.org/drugcard/3562/view
Raised by: django.views.generic.detail.DetailView

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

  1. ^$ [name='root-view']
  2. ^substructure$ [name='substructure-view']
  3. ^similarity$ [name='similarity-view']
  4. ^drugcard/(?P<slug>\d+)(?:/(?:view)?)?$ [name='drugcard-view']

The current path, drugcard/3562/view, 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.