Page not found (404)

No Portfolio Album found matching the query
Request Method: GET
Request URL: http://www.id-aleppo.com/en/portfolio/brandbook/candy_shop
Raised by: portfolio.views.AlbumView

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

  1. i18n/
  2. en/ bad/
  3. en/ django-admin/
  4. en/ id-admin/
  5. en/ portfolio/ ^(?P<slug>[-\w]+)/?$ [name='category_view']
  6. en/ portfolio/ ^(?P<category>[-\w]+)/(?P<slug>[-\w]+)/? [name='album_view']

The current path, en/portfolio/brandbook/candy_shop, 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.