diff --git a/git_cs/__pycache__/__init__.cpython-36.pyc b/git_cs/__pycache__/__init__.cpython-36.pyc index f9bc28ed002a24c21ff9e10f832c527dd274ece3..1552053d110713790fa05b865ae7620448ac1759 100644 Binary files a/git_cs/__pycache__/__init__.cpython-36.pyc and b/git_cs/__pycache__/__init__.cpython-36.pyc differ diff --git a/git_cs/__pycache__/settings.cpython-36.pyc b/git_cs/__pycache__/settings.cpython-36.pyc index 3b4e18e771daaa9eaf02f6256adb744ba4e33c35..c391d6e677ca3db66f36ed49a1dd8ba02f4fe4ad 100644 Binary files a/git_cs/__pycache__/settings.cpython-36.pyc and b/git_cs/__pycache__/settings.cpython-36.pyc differ diff --git a/git_cs/__pycache__/urls.cpython-36.pyc b/git_cs/__pycache__/urls.cpython-36.pyc index 1ec19ee10c3cfa243663f169b5b9052e54bc0dc2..668d82caf835fc6c9f452f2341eeb09d98066c8d 100644 Binary files a/git_cs/__pycache__/urls.cpython-36.pyc and b/git_cs/__pycache__/urls.cpython-36.pyc differ diff --git a/git_cs/__pycache__/wsgi.cpython-36.pyc b/git_cs/__pycache__/wsgi.cpython-36.pyc index 42e149c13973d5923055bd5a7a8f464ffcb70119..4d380ea4c8dea65680bd7a436587d820c59fdaea 100644 Binary files a/git_cs/__pycache__/wsgi.cpython-36.pyc and b/git_cs/__pycache__/wsgi.cpython-36.pyc differ diff --git a/git_cs/settings.py b/git_cs/settings.py index 94f29d941d064548b18affd2c65d2f72cfcd15fa..4b64c2609b038c6ce84a35af4fad4d1c122040a5 100644 --- a/git_cs/settings.py +++ b/git_cs/settings.py @@ -37,6 +37,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'houjunjie' ] MIDDLEWARE = [ diff --git a/git_cs/urls.py b/git_cs/urls.py index ec77a28ffffa215462e7b2a7ee60095f54f54353..14a1e6a09ab1a29457125b4cdcfca34cfc87f300 100644 --- a/git_cs/urls.py +++ b/git_cs/urls.py @@ -17,4 +17,5 @@ from django.urls import path, include from django.views.generic.base import TemplateView urlpatterns = [ path('',TemplateView.as_view(template_name='index.html')), + path('houjunjie/', include('houjunjie.urls')) ] diff --git a/houjunjie/__init__.py b/houjunjie/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/houjunjie/__pycache__/__init__.cpython-36.pyc b/houjunjie/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f9a8dc8176ebe166eabc6d522ef3daeb52a0d788 Binary files /dev/null and b/houjunjie/__pycache__/__init__.cpython-36.pyc differ diff --git a/houjunjie/__pycache__/admin.cpython-36.pyc b/houjunjie/__pycache__/admin.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e89a93572e4fe33fc130d22eb5c068f82181e6cf Binary files /dev/null and b/houjunjie/__pycache__/admin.cpython-36.pyc differ diff --git a/houjunjie/__pycache__/models.cpython-36.pyc b/houjunjie/__pycache__/models.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7314a8382b4b1126bf2bf25154382de2c0c4fb7c Binary files /dev/null and b/houjunjie/__pycache__/models.cpython-36.pyc differ diff --git a/houjunjie/__pycache__/urls.cpython-36.pyc b/houjunjie/__pycache__/urls.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14120d8ea978f414adb103d408751d028631752b Binary files /dev/null and b/houjunjie/__pycache__/urls.cpython-36.pyc differ diff --git a/houjunjie/__pycache__/views.cpython-36.pyc b/houjunjie/__pycache__/views.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6d3d274f5faddce5b10336b40dc07d1ac2dd01a6 Binary files /dev/null and b/houjunjie/__pycache__/views.cpython-36.pyc differ diff --git a/houjunjie/admin.py b/houjunjie/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..8c38f3f3dad51e4585f3984282c2a4bec5349c1e --- /dev/null +++ b/houjunjie/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/houjunjie/apps.py b/houjunjie/apps.py new file mode 100644 index 0000000000000000000000000000000000000000..2bf6356cb68c042d5636dc038d9c35b85fddd758 --- /dev/null +++ b/houjunjie/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class HoujunjieConfig(AppConfig): + name = 'houjunjie' diff --git a/houjunjie/migrations/__init__.py b/houjunjie/migrations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/houjunjie/migrations/__pycache__/__init__.cpython-36.pyc b/houjunjie/migrations/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f8d5590eca1d43a3782d8f491082c46a858be376 Binary files /dev/null and b/houjunjie/migrations/__pycache__/__init__.cpython-36.pyc differ diff --git a/houjunjie/models.py b/houjunjie/models.py new file mode 100644 index 0000000000000000000000000000000000000000..71a836239075aa6e6e4ecb700e9c42c95c022d91 --- /dev/null +++ b/houjunjie/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/houjunjie/tests.py b/houjunjie/tests.py new file mode 100644 index 0000000000000000000000000000000000000000..7ce503c2dd97ba78597f6ff6e4393132753573f6 --- /dev/null +++ b/houjunjie/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/houjunjie/urls.py b/houjunjie/urls.py new file mode 100644 index 0000000000000000000000000000000000000000..5e413d9c162db2a34fa8ea8a3385ef92959e3bab --- /dev/null +++ b/houjunjie/urls.py @@ -0,0 +1,22 @@ +"""git_cs URL Configuration + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/2.2/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +app_name = 'houjunjie' + +from django.urls import path +from houjunjie import views +urlpatterns = [ + path('', views.houjunjie, name='houjunjie') +] diff --git a/houjunjie/views.py b/houjunjie/views.py new file mode 100644 index 0000000000000000000000000000000000000000..03bea923aea227056744db128a71450212f63e3b --- /dev/null +++ b/houjunjie/views.py @@ -0,0 +1,6 @@ +from django.shortcuts import render + +# Create your views here. + +def houjunjie(request): + return render(request, 'houjunjie.html') \ No newline at end of file diff --git a/templates/houjunjie.html b/templates/houjunjie.html new file mode 100644 index 0000000000000000000000000000000000000000..8eb158db593e959a9cbc46d9dab946c6985ad10c --- /dev/null +++ b/templates/houjunjie.html @@ -0,0 +1,10 @@ + + + + + 侯俊杰 + + +

侯俊杰

+ + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 34588fa33c3823615f7d5295a1875e5f3f91f73b..c6979058daaee48419e9b6da236e6c4c9025a85c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@

1807C Git 测试项目