Hi
I have this url in Pythonanywhere: http://karanasoskostas.pythonanywhere.com/damage/damage/list_dates/20_09_2018/20_09_2018///
which return error Page not found (404) Using the URLconf defined in deya.urls, Django tried these URL patterns, in this order:
^$ [name='frontpage']
^admin/
^damage/ ^test/$ [name='test']
^damage/ ^testpdf/$ [name='testpdf']
^damage/ ^guest/$ [name='index']
^damage/ ^damagetype_add/$ [name='damagetype_add']
^damage/ ^hometest/$ [name='hometest']
^damage/ ^map/$ [name='map']
^damage/ damagetype/add/$ [name='damagetype-add']
^damage/ damage/add/$ [name='damage-add']
^damage/ damage/list_dates/(?P<pfromdate>[-\w]+)/(?P<ptodate>[-\w]+)/(?P<pdamagestatus>.*)/(?P<pdamagetype>.*)/$ [name='damage-list-dates']
^damage/ damage/list/(?P<pk>[0-9]+)/$ [name='damage-by-id']
^damage/ damage/list/criteria/$ [name='damage-list-criteria']
^damage/ damage/markers/(?P<pfromdate>[-\w]+)/(?P<ptodate>[-\w]+)/(?P<pdamagestatus>.*)/(?P<pdamagetype>.*)/$ [name='damage-list-markers']
^damage/ damage/contact/(?P<pfromdate>[-\w]+)/(?P<ptodate>[-\w]+)/$ [name='contact-list-dates']
^damage/ contact/list/criteria/$ [name='contact-list-criteria']
^frontpage/ [name='frontpage']
^contact/ [name='contact']
^deyausers/$ [name='index-deya']
accounts/
The current path, damage/damage/list_dates/20_09_2018/20_09_2018/, didn't match any of these.
But locally this url : http://127.0.0.1:8000/damage/damage/list_dates/20_09_2018/20_09_2018///
works fine.
Can someone help me , find why this is happen ?
Thanks in advanced
Kostas