Base template pointing to new apps
This commit is contained in:
@@ -20,7 +20,7 @@ from django.urls import path, include
|
||||
admin.site.site_header = "Bus Portal Admin"
|
||||
|
||||
urlpatterns = [
|
||||
path('report/', include("coord.urls")),
|
||||
path('transport/', include("transport.urls")),
|
||||
path('auth/', include("custom_user.urls")),
|
||||
path('settings/', include('coord.urls_settings')),
|
||||
path('', admin.site.urls),
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from transport.views import emergency_contacts, bus_roll, bus_summary
|
||||
|
||||
app_name = 'transport'
|
||||
|
||||
urlpatterns = [
|
||||
path("contacts/", emergency_contacts, name="emergency_contacts"),
|
||||
path("roll/", bus_roll, name="bus_roll"),
|
||||
path("summary/", bus_summary, name="bus_summary"),
|
||||
]
|
||||
Reference in New Issue
Block a user