feat: login view
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
from shop.views import index
|
||||
|
||||
app_name = "shop"
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("", index, name="index"),
|
||||
]
|
||||
@@ -1,3 +1,7 @@
|
||||
from django.http.response import HttpResponse
|
||||
from django.shortcuts import render
|
||||
|
||||
|
||||
# Create your views here.
|
||||
def index(request, *args, **kwargs):
|
||||
return HttpResponse("Hello there")
|
||||
|
||||
Reference in New Issue
Block a user