cidc1121
tipBUG_FIX
prioritetP0 — Ivan zapeo nakon login-a
ivan_kazeUŠAO I OPET ZIDOVI 500 - /DOCUMENTS/ARHIVA/UPLOAD/
greška{
"log": "django.urls.exceptions.NoReverseMatch: 'sentinel' is not a registered namespace",
"uzrok": "Template form_toolbar.html koristi {% url 'sentinel:panic_button' %} ali sentinel namespace nije registriran u config/urls.py (samo u mrtvom core/urls_hr.py koji se ne uključuje)",
"lokacija_template": "/var/www/fenix-v4/templates/components/form_toolbar.html:148"
}
fix{
"datoteka": "/var/www/fenix-v4/config/urls.py",
"dodano_u_i18n_patterns": "path('sentinel/', include(('sentinel.urls', 'sentinel'), namespace='sentinel'))",
"lokacija": "Nakon documents/arhiva/ include"
}
test{
"prije": "HTTP 500 na /hr/documents/arhiva/upload/",
"poslije": "HTTP 302 (login redirect, nema vise NoReverseMatch)"
}
buduca_konsolidacijacore/urls_hr.py je mrtav fajl — ima rute koje nisu registrirane. Treba ili obrisati ili migrirati sve u config/urls.py
promatracCC (Claude Code)
statusDEPLOYED