Page not found (404)

No label found matching the query
Request Method: GET
Request URL: http://drugcentral.org/label/aa0796a0-2687-4cd6-b0d9-a5bf957c0d07/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']
  5. ^drug/(?P<slug>\d+)/image$ [name='drug-image']
  6. ^drug/(?P<slug>\d+)/molfile$ [name='drug-molfile']
  7. ^drug/(?P<slug>\d+)/inchi$ [name='drug-inchi']
  8. ^drug/(?P<slug>\d+)/smiles$ [name='drug-smiles']
  9. ^target/(?P<slug>[A-Z0-9_]+)(?:/(?:view)) [name='target-view']
  10. ^label/(?P<slug>[-A-Za-z0-9]+)/view$ [name='label-view']

The current path, label/aa0796a0-2687-4cd6-b0d9-a5bf957c0d07/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.