Page not found (404)

Не найден ни один Акция, соответствующий запросу
Request Method: GET
Request URL: http://artirk.ru/promotions/4/
Raised by: core.views.PromotionDetailView

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

  1. [name='index']
  2. articles/ [name='article_list']
  3. articles/<int:pk>/ [name='article_detail']
  4. contact/ [name='contact']
  5. employees/ [name='employee_list']
  6. employees/<int:pk>/ [name='employee_detail']
  7. services/ [name='service_list']
  8. services/<int:pk>/ [name='service_detail']
  9. promotions/ [name='promotion_list']
  10. promotions/<int:pk>/ [name='promotion_detail']

The current path, promotions/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.