Skip to content

Commit d280744

Browse files
committed
setup myapp
1 parent b2ccd96 commit d280744

File tree

13 files changed

+12
-3
lines changed

13 files changed

+12
-3
lines changed
Binary file not shown.
294 Bytes
Binary file not shown.
609 Bytes
Binary file not shown.
291 Bytes
Binary file not shown.
408 Bytes
Binary file not shown.
443 Bytes
Binary file not shown.
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.urls import path
2+
from . import views
3+
4+
urlpatterns = [
5+
path('', views.index),
6+
]
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
from django.shortcuts import render
1+
from django.http import HttpResponse
22

3-
# Create your views here.
3+
def index(request):
4+
return HttpResponse("View File")
Binary file not shown.

0 commit comments

Comments
 (0)