----------snsapp-urls.py----------
from xml.etree.ElementInclude import include
from django.contrib import admin
from django.urls import path
urlpatterns = [
path('admin/', admin.site.urls),
]
⏬
from xml.etree.ElementInclude import include
from django.contrib import admin
from django.urls import path
from .views import signupfanc
urlpatterns = [
path('signup/', sigunupfanc),
]
—————snsapp-views.py—————
def signupfanc(request):
return render(request,'signup.html',{})
—————snsフォルダ内にtemplates作成----------
—————templates内にsignup.htmml作成----------
—————サーバー立ち上げ----------
python3 manage.py runserver