diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..582c58f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "public"] + path = public + url = https://github.com/fengyuexingzi/web.git diff --git a/mysite/__pycache__/views.cpython-37.pyc b/mysite/__pycache__/views.cpython-37.pyc index dfca686..d615fdd 100644 Binary files a/mysite/__pycache__/views.cpython-37.pyc and b/mysite/__pycache__/views.cpython-37.pyc differ diff --git a/mysite/views.py b/mysite/views.py index 4252716..3d82ecf 100644 --- a/mysite/views.py +++ b/mysite/views.py @@ -6,7 +6,7 @@ from django.http import HttpResponse def hello(request): print(request.GET.get('name')) - context = {'hello': '!Hello World!'} + context = {'hello': 'Hello World!'} return render(request, 'hello.html', context) diff --git a/public b/public new file mode 160000 index 0000000..4028bc4 --- /dev/null +++ b/public @@ -0,0 +1 @@ +Subproject commit 4028bc4d5bbe6c1198277c75322c1a518c884133