From e1a0e3678d51e4bae15c908992e1f8d36e364832 Mon Sep 17 00:00:00 2001 From: aqua6191 Date: Wed, 11 May 2022 00:10:13 +0900 Subject: [PATCH] =?UTF-8?q?05/11..=EA=B3=BC=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jwproject/Jwapp/__init__.py | 0 .../Jwapp/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 151 bytes .../Jwapp/__pycache__/admin.cpython-39.pyc | Bin 0 -> 192 bytes .../Jwapp/__pycache__/apps.cpython-39.pyc | Bin 0 -> 426 bytes .../Jwapp/__pycache__/models.cpython-39.pyc | Bin 0 -> 189 bytes Jwproject/Jwapp/admin.py | 3 + Jwproject/Jwapp/apps.py | 6 + Jwproject/Jwapp/migrations/__init__.py | 0 .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 162 bytes Jwproject/Jwapp/models.py | 3 + Jwproject/Jwapp/templates/home.html | 48 +++++++ Jwproject/Jwapp/tests.py | 3 + Jwproject/Jwapp/views.py | 3 + Jwproject/Jwproject/__init__.py | 0 .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 155 bytes .../__pycache__/settings.cpython-39.pyc | Bin 0 -> 2309 bytes .../Jwproject/__pycache__/urls.cpython-39.pyc | Bin 0 -> 1019 bytes .../Jwproject/__pycache__/wsgi.cpython-39.pyc | Bin 0 -> 562 bytes Jwproject/Jwproject/asgi.py | 16 +++ Jwproject/Jwproject/settings.py | 125 ++++++++++++++++++ Jwproject/Jwproject/urls.py | 24 ++++ Jwproject/Jwproject/wsgi.py | 16 +++ Jwproject/db.sqlite3 | 0 Jwproject/manage.py | 22 +++ 24 files changed, 269 insertions(+) create mode 100644 Jwproject/Jwapp/__init__.py create mode 100644 Jwproject/Jwapp/__pycache__/__init__.cpython-39.pyc create mode 100644 Jwproject/Jwapp/__pycache__/admin.cpython-39.pyc create mode 100644 Jwproject/Jwapp/__pycache__/apps.cpython-39.pyc create mode 100644 Jwproject/Jwapp/__pycache__/models.cpython-39.pyc create mode 100644 Jwproject/Jwapp/admin.py create mode 100644 Jwproject/Jwapp/apps.py create mode 100644 Jwproject/Jwapp/migrations/__init__.py create mode 100644 Jwproject/Jwapp/migrations/__pycache__/__init__.cpython-39.pyc create mode 100644 Jwproject/Jwapp/models.py create mode 100644 Jwproject/Jwapp/templates/home.html create mode 100644 Jwproject/Jwapp/tests.py create mode 100644 Jwproject/Jwapp/views.py create mode 100644 Jwproject/Jwproject/__init__.py create mode 100644 Jwproject/Jwproject/__pycache__/__init__.cpython-39.pyc create mode 100644 Jwproject/Jwproject/__pycache__/settings.cpython-39.pyc create mode 100644 Jwproject/Jwproject/__pycache__/urls.cpython-39.pyc create mode 100644 Jwproject/Jwproject/__pycache__/wsgi.cpython-39.pyc create mode 100644 Jwproject/Jwproject/asgi.py create mode 100644 Jwproject/Jwproject/settings.py create mode 100644 Jwproject/Jwproject/urls.py create mode 100644 Jwproject/Jwproject/wsgi.py create mode 100644 Jwproject/db.sqlite3 create mode 100644 Jwproject/manage.py diff --git a/Jwproject/Jwapp/__init__.py b/Jwproject/Jwapp/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Jwproject/Jwapp/__pycache__/__init__.cpython-39.pyc b/Jwproject/Jwapp/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a422556d95a06a3e7f1ccf007967ba582fa6e07d GIT binary patch literal 151 zcmYe~<>g`k0*A7yBoO@=L?8o3AjbiSi&=m~3PUi1CZpdI zV_{@yU>@U=TAW>yUl0?Sn3wLA8J?dP<5gZzl%JKFTmobz78Jz9$7kkcmc+;F6;$5h Su*uC&Da}c>1DX06h#3F_eg`k0*A7yBqt#K7{oyaOhAqU5Elyoi4=wu#vF!R#wbQch7_h?22JLdKv4!w z##^k3DY=<>ews{Cd?{IpdFlCj$@zIDMVU!OAOlu16fpxSF!9UM*(xTqIJKxa#=^+Z zz&yq!wK%&ZzaS2KczG$)s7Kp J+GikU000DNE~5Yd literal 0 HcmV?d00001 diff --git a/Jwproject/Jwapp/__pycache__/apps.cpython-39.pyc b/Jwproject/Jwapp/__pycache__/apps.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b87921a9d8b9c1d7dbf72ace2dec8d655d6c0601 GIT binary patch literal 426 zcmYjNy-ve05Vqq)3jJ9SD-vs#2w12PLM=rgW$1zsB8p_WJvT~8;}9oQbcILYC3q#T zOuPaU=d_5Pbf53%^XK!4e!oM|hA->s2cBOx*)C z-&pK`dq)EA8(AcvW^YuMV^z$vbY?5NMll(p>jMNyVhRLr)0lx1yTDMzHQi_>{sh*C zun-2X>6Q5S2*zt~KFX?LY9x5s_~CCq57 literal 0 HcmV?d00001 diff --git a/Jwproject/Jwapp/__pycache__/models.cpython-39.pyc b/Jwproject/Jwapp/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7830ae28a8c724b5cf62ba6d37355a3961e433a2 GIT binary patch literal 189 zcmYe~<>g`k0*A7yBpV?87{oyaOhAqU5Elyoi4=wu#vF!R#wbQch7_h?22JLdKv4!w z##?N;`6;P6#eSMhw>VR>67$mY^-_|GK$=%F6tMs)F!9UE*(xTqIJKxa#=^+Zz&yq! zwK%&ZzaSg`k0*A7yBoO@=L?8o3AjbiSi&=m~3PUi1CZpdI zV_{@yU>@U=TAW>yUl0?Sn3wLA8J?dP<5gZzl%JKFTmobz78JzfW~LV + + + + Document + + + +
+

기숙사 룸메이트 평가 서비스

+

본인의 직전 학기 룸메이트가 객관적으로 본인에 대한 평가를 작성하는 서비스

+
+

주제선정 동기

+

기숙사 생활을 하면 어떤 룸메이트를 만나는지에 따라 생활에 영향을 받게 되는데,
+ 자신과 비슷한 특징을 가진 룸메이트를 만나는 데 도움을 주기 위해 선정했다.

+

기대효과

+

자신과 비슷한 특징을 가진 룸메이트를 만날 수 있기 때문에, +
룸메이트에 대한 불만이 적어 생활 도중 룸메이트 변경 요청이 줄어들 것으로 보인다. +
제3자(직전학기 룸메이트)가 평가하기 때문에 정보의 객관성이 높다.

+

핵심타켓&핵심기능

+

핵심타켓: 숙명여자대학교 외부 기숙사 트윈시티 거주생
+ 핵심기능: 제3자에 의해 객관적으로 평가된 특징이기 때문에 룸메이트로 만나게 될 +
사람이 어떤 사람인지 판단이 가능하며 취침,기상 시간대/ 잠버릇/ 생활패턴 등을 +
고려하여 룸메이트를 정할 수 있다.

+
+
+ + \ No newline at end of file diff --git a/Jwproject/Jwapp/tests.py b/Jwproject/Jwapp/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/Jwproject/Jwapp/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/Jwproject/Jwapp/views.py b/Jwproject/Jwapp/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/Jwproject/Jwapp/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/Jwproject/Jwproject/__init__.py b/Jwproject/Jwproject/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Jwproject/Jwproject/__pycache__/__init__.cpython-39.pyc b/Jwproject/Jwproject/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bb6623eaa4cf261afd6d0448f7918b468e994780 GIT binary patch literal 155 zcmYe~<>g`k0^YK!BoO@=L?8o3AjbiSi&=m~3PUi1CZpdI zV_{@yU>@U=TAW>yUl0?Sn3wLA8J?dP<5gZzl%JKFT!O@kkI&4@EQycTE2zB1VUwGm PQks)$2Qv9H5HkP(h=nBG literal 0 HcmV?d00001 diff --git a/Jwproject/Jwproject/__pycache__/settings.cpython-39.pyc b/Jwproject/Jwproject/__pycache__/settings.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..32214cfbf9633a13e998499c00f48dc4473df73b GIT binary patch literal 2309 zcmb7FOK;mo5GEz+Va0MBJFg}v%Aze2#Wj`KZsP_;8d{_sIeNjQ;)XCvP}-He3Li3e z8O6NjZ{*PC)=Pg7uRZk-^iULahm>p!a)7#`xZK^D`DXUpnO&<`EO799_crW&Q{=ec z4kw+P0uFn~T zK8La&c;gCubMT!kTD;4lYwuHpHx|(n zS_YjZbUkTrB<)SY_XXn`x@9b(+r~0@yAJOS^oem3-7#*Vw8oY0S`yE31!Z8leNUvA zG2-^A*z27aTYiBc3b5pB)l#No@QzM1Tv2j1B3Nav6DDDvf=dM$q+~GIq-V zSZ3akbZPlC<;0P06d}G-GrvJy6k9$*&{(x=fN_-@= zEOyukw7wzwE3GM!ogHS8F|g#oc^^j(+mO?~d>TylJin z2>1Ps&wB%`mvZ6tF^tspT;`LGl&~5u&&~$yFuXf68Jl32vEw18;jI}V#gqci7X=Oo ztUg%WnYCcBGu?PUXq4FnXB2tqam zoz{e;B;}`1#MD?y^588qp<22Smgm!w5Z<4Kxu_)}+zI;OgG*@o_y}r;g)0-?vuuqy z{Rnc*b+|sGe8%HP3{GVwA5V$)4ALW;FuWcXU~$b^%Gpv0Zjrr4KRT)6?m8gYni#U=4_tl|0L)5{{&iA$WosbROz4$tj>xUBuS zR9cf5&jFrY7N8M0*eBhK2pR0I2GmHm^-7q7^Bzj39DX{11tuL2VVg=@qz@(KZ4+#x z((Nc`nsAbvW|SMkd1;f5p8{t6G&E7(G~;t77W$Za_8S~!hj6yI%*b!ani}tSRM6DQ zo~oNK)K^hPQMcMVQBkhdn)|9^K5uHe7A;g8nhsMi0ZF1og?d#{YU;kcr$+O8&8BX) z_iB}9V>_DD)q1NY>#7zl?rS^MSie@S$ZB}Ltq+cn(; zr~m+X7)!CA6T^-ixp zX?PsvzlRM7Z2S~%bdK&qBh1h9`SfB=NDC<;lP}~8f{^0jN###ce+wtVqL7Qn*?*v4 T6i!mY)cdEf3|8@z6*B(<7?>88 literal 0 HcmV?d00001 diff --git a/Jwproject/Jwproject/__pycache__/urls.cpython-39.pyc b/Jwproject/Jwproject/__pycache__/urls.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f202818115e1408c6792cb79de972d84c2173e2a GIT binary patch literal 1019 zcma)5U2EGg6qOw(Y20+(PtaRx$n3TZHbOTxx|KDQ!9L1Z2&9UoBu*{KNXq*0y5~Lb zH|#I@bx->XdlOX$VQ`AjU5##YEtY7gCu4#xo^3<~I{k6jicT ze^}K!$snMn5Pk)*i@jd2U+G#%&iYso&Ytyb+>65FoM`=M3c_d&^?xj+SukaZ#LlP< zoi~8x*x!?lt&fSGSdhKwA4aDl%~v!Nb1=d6v(i$y%#A;%&KL|-;CgH=+l%n5vU0Gt zYkeKDHGD&|s_i>d?#*_Z%XtC@ZaVdB!r}I!DEtM3j3TdW63R0HL0}!XiQyHvblYXIIFrffLB$m$8kJ4$Afs}-CP2YkLS^S}x>aD$fzAvo1FNuX zy4z6peU;m_3HX83F67+y`{;NuKG#g?@zcYD{U_sBOkcuqjz7cT4zo{EjPE+sB8wjv dH|5q5mvoi0=Nb_N9r=8$7m$N{}fLfuJgw z251|K7L92mAP_8@-ws4m9DJwfHNKGPp`a7eJ>2{ZFD8Q_%Z#4OoXt(eM(eUNOUNAi zXQMD2ItHIhW5F`F0JclvO7Tktj9bQ8VZ^n9rwUe}*os$j8`8W0!DcgFmP%&aNuy^o ztoI&q3R3}-8X=2qfEkU&rDb!e;0dz;;ljDn9>uXRnT^Df>)ib3l$jz19lwZr@xrW~ zi3OC(+!UZ)ytcWF!{0a%GVTWcQ4TJx-_kuA{&9cwc04#uCnslT!|`B}emw1;e>mAZ zyzM`-;GERC?Y4X?O_4;JdTOkHu%i-X*g;emt|&tJ7U-3%jP@ZW3Yhb2<^0_}%patx zKXa@89KSnC&Mj0ndG-8R?`6^ld*w`-e8MhA^1|rkmdM_%MvKZD-#*?A{59?bv29e% LJ8gQ8-lu;7v$C(3 literal 0 HcmV?d00001 diff --git a/Jwproject/Jwproject/asgi.py b/Jwproject/Jwproject/asgi.py new file mode 100644 index 0000000..9611a00 --- /dev/null +++ b/Jwproject/Jwproject/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for Jwproject project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Jwproject.settings') + +application = get_asgi_application() diff --git a/Jwproject/Jwproject/settings.py b/Jwproject/Jwproject/settings.py new file mode 100644 index 0000000..154c254 --- /dev/null +++ b/Jwproject/Jwproject/settings.py @@ -0,0 +1,125 @@ +""" +Django settings for Jwproject project. + +Generated by 'django-admin startproject' using Django 4.0.4. + +For more information on this file, see +https://docs.djangoproject.com/en/4.0/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/4.0/ref/settings/ +""" + +from pathlib import Path +import Jwapp + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-(272m+#ns8s$b+jwf3j%2fr+n8vdq^oz9qe*e8_3udegr4!fje' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'Jwapp', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'Jwproject.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'Jwproject.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/4.0/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} + + +# Password validation +# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/4.0/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/4.0/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/Jwproject/Jwproject/urls.py b/Jwproject/Jwproject/urls.py new file mode 100644 index 0000000..ff60664 --- /dev/null +++ b/Jwproject/Jwproject/urls.py @@ -0,0 +1,24 @@ +"""Jwproject URL Configuration + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/4.0/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')) +""" +from django.contrib import admin +from django.urls import path + +from Jwproject import Jwapp + +urlpatterns = [ + path('admin/', admin.site.urls), + path('', Jwapp.views.home, name="home"), +] diff --git a/Jwproject/Jwproject/wsgi.py b/Jwproject/Jwproject/wsgi.py new file mode 100644 index 0000000..bce3296 --- /dev/null +++ b/Jwproject/Jwproject/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for Jwproject project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Jwproject.settings') + +application = get_wsgi_application() diff --git a/Jwproject/db.sqlite3 b/Jwproject/db.sqlite3 new file mode 100644 index 0000000..e69de29 diff --git a/Jwproject/manage.py b/Jwproject/manage.py new file mode 100644 index 0000000..fb3b203 --- /dev/null +++ b/Jwproject/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Jwproject.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main()