0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Django】SNS app作成手順02-サインアップページ作成1

Posted at

----------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

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?