Skip to content

Instantly share code, notes, and snippets.

@akash-ch2812
Last active September 1, 2020 13:25
Show Gist options
  • Save akash-ch2812/c0b925e8d819cc51d22483d72962a4df to your computer and use it in GitHub Desktop.
Save akash-ch2812/c0b925e8d819cc51d22483d72962a4df to your computer and use it in GitHub Desktop.
# default present
from django.contrib import admin
from django.urls import path
# add this to import our views file
from Titanic_Survial_Prediction_Web import views
urlpatterns = [
path('admin/', admin.site.urls),
# add these to configure our home page (default view) and result web page
path('', views.home, name='home'),
path('result/', views.result, name='result'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment