Last active
September 26, 2020 02:06
-
-
Save codetombomb/75a09fa69c3f773df7eba4b965229fa3 to your computer and use it in GitHub Desktop.
Adding path to views in app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from django.urls import path | |
import projects.views | |
urlpatterns = [ | |
path('admin/', admin.site.urls), | |
path('projects', projects.views.projects) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment