Page not found (404)

No Event matches the given query.
Request Method: GET
Request URL: https://www.modernrebelco.com/portfolio/a-modern-vow/
Raised by: event.views.detail

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

  1. __debug__/
  2. [name='home-index']
  3. admin/
  4. blog/category/<slug:category_slug>/ [name='blog-index-2']
  5. blog/<slug:article_slug>/ [name='blog-detail']
  6. blog/ [name='blog-index']
  7. contact/ [name='contact-index']
  8. pages/<slug:page_slug>/ [name='generic-detail']
  9. portfolio/<slug:event_slug>/<event_password>/ [name='event-detail-2']
  10. portfolio/<slug:event_slug>/ [name='event-detail']

The current path, portfolio/a-modern-vow/, 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.