Page not found (404)

„/home/ikosma/profilegenerator/media/liludatings_3132262892685103317.jpg” nie istnieje
Request Method: GET
Request URL: http://ikosma.pythonanywhere.com/media/liludatings_3132262892685103317.jpg
Raised by: django.views.static.serve

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

  1. admin/
  2. reporting/
  3. [name='index']
  4. list/ [name='person_list']
  5. kod/ [name='kod']
  6. docs/ [name='docs']
  7. person/<int:pk>/ [name='person_detail']
  8. person/<int:pk>/images/ [name='person_images']
  9. person/
  10. ^media/(?P<path>.*)$

The current path, media/liludatings_3132262892685103317.jpg, 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.