Commit 9afb595
committed
fix(config): delegate all API routes through include('api.urls')
config/urls.py was manually importing TripPlanView and hardcoding
one path — api/urls.py was completely ignored by Django.
geocode/reverse/ returned 404 in production despite being correctly
registered in api/urls.py.
Fix: replace manual route with include() pattern so all current
and future api/ routes work automatically.1 parent 30b06d4 commit 9afb595
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
0 commit comments