I am a beginner in django and don't understand the meaning "/" in urlpatterns. Here is the urlpatterns in my project urls. My first app's name is first.
urlpatterns = [
path('admin/', admin.site.urls),
path('first', include("first.urls"))
]
I found that it didn't work unless I amended it to following:
urlpatterns = [
path('admin/', admin.site.urls),
path('first/', include("first.urls"))
]
I don't understand what the meaning of '/' is. I googled but did not find an answer. Could anyone help me on this?
Another question is that the double quotes and single quote could be used either way. But is there any convention or better practice that I can follow to use single or double quote? Thanks a lot.