Commit
·
8a6b560
1
Parent(s):
f7bf689
full model
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .idea/.gitignore +8 -0
- .idea/ams.iml +28 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/workspace.xml +85 -0
- __pycache__/manage.cpython-38.pyc +0 -0
- ams/__init__.py +0 -0
- ams/__pycache__/__init__.cpython-310.pyc +0 -0
- ams/__pycache__/__init__.cpython-311.pyc +0 -0
- ams/__pycache__/__init__.cpython-38.pyc +0 -0
- ams/__pycache__/settings.cpython-310.pyc +0 -0
- ams/__pycache__/settings.cpython-311.pyc +0 -0
- ams/__pycache__/settings.cpython-38.pyc +0 -0
- ams/__pycache__/urls.cpython-310.pyc +0 -0
- ams/__pycache__/urls.cpython-311.pyc +0 -0
- ams/__pycache__/urls.cpython-38.pyc +0 -0
- ams/__pycache__/wsgi.cpython-38.pyc +0 -0
- ams/settings.py +127 -0
- ams/urls.py +22 -0
- ams/wsgi.py +16 -0
- db.sqlite3 +0 -0
- manage.py +21 -0
- media/images/....PNG +0 -0
- media/images/1022.PNG +0 -0
- media/images/11_result.PNG +0 -0
- media/images/11_result_ZFiGJcw.PNG +0 -0
- media/images/11_result_kGUHYdg.PNG +0 -0
- media/images/11_result_vIafYgm.PNG +0 -0
- media/images/1zzzzzz.PNG +0 -0
- media/images/2.PNG +0 -0
- media/images/22222result.PNG +0 -0
- media/images/22222result_ENDGM5O.PNG +0 -0
- media/images/22222result_m5j6Feq.PNG +0 -0
- media/images/22222result_n0yRsIo.PNG +0 -0
- media/images/233.PNG +0 -0
- media/images/233_5Ns6rxj.PNG +0 -0
- media/images/233_BF0mWhq.PNG +0 -0
- media/images/233_qMmaL6B.PNG +0 -0
- media/images/2_4a9hoMp.PNG +0 -0
- media/images/2_OML0Nuc.PNG +0 -0
- media/images/2_UNE7Pmq.PNG +0 -0
- media/images/2_WYMiLaX.PNG +0 -0
- media/images/2_f60z0g5.PNG +0 -0
- media/images/2_gZUgaBb.PNG +0 -0
- media/images/2_jylMS6D.PNG +0 -0
- media/images/2_kmypXLt.PNG +0 -0
- media/images/2_o1IUV5E.PNG +0 -0
- media/images/2_p1WH2sk.PNG +0 -0
- media/images/2_xzwXhRZ.PNG +0 -0
.idea/.gitignore
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Default ignored files
|
| 2 |
+
/shelf/
|
| 3 |
+
/workspace.xml
|
| 4 |
+
# Editor-based HTTP Client requests
|
| 5 |
+
/httpRequests/
|
| 6 |
+
# Datasource local storage ignored files
|
| 7 |
+
/dataSources/
|
| 8 |
+
/dataSources.local.xml
|
.idea/ams.iml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<module type="PYTHON_MODULE" version="4">
|
| 3 |
+
<component name="FacetManager">
|
| 4 |
+
<facet type="django" name="Django">
|
| 5 |
+
<configuration>
|
| 6 |
+
<option name="rootFolder" value="$MODULE_DIR$" />
|
| 7 |
+
<option name="settingsModule" value="ams/settings.py" />
|
| 8 |
+
<option name="manageScript" value="$MODULE_DIR$/manage.py" />
|
| 9 |
+
<option name="environment" value="<map/>" />
|
| 10 |
+
<option name="doNotUseTestRunner" value="false" />
|
| 11 |
+
<option name="trackFilePattern" value="migrations" />
|
| 12 |
+
</configuration>
|
| 13 |
+
</facet>
|
| 14 |
+
</component>
|
| 15 |
+
<component name="NewModuleRootManager">
|
| 16 |
+
<content url="file://$MODULE_DIR$" />
|
| 17 |
+
<orderEntry type="inheritedJdk" />
|
| 18 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
| 19 |
+
</component>
|
| 20 |
+
<component name="TemplatesService">
|
| 21 |
+
<option name="TEMPLATE_CONFIGURATION" value="Django" />
|
| 22 |
+
<option name="TEMPLATE_FOLDERS">
|
| 23 |
+
<list>
|
| 24 |
+
<option value="$MODULE_DIR$/templates" />
|
| 25 |
+
</list>
|
| 26 |
+
</option>
|
| 27 |
+
</component>
|
| 28 |
+
</module>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<component name="InspectionProjectProfileManager">
|
| 2 |
+
<settings>
|
| 3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
| 4 |
+
<version value="1.0" />
|
| 5 |
+
</settings>
|
| 6 |
+
</component>
|
.idea/misc.xml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
|
| 4 |
+
</project>
|
.idea/modules.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="ProjectModuleManager">
|
| 4 |
+
<modules>
|
| 5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/ams.iml" filepath="$PROJECT_DIR$/.idea/ams.iml" />
|
| 6 |
+
</modules>
|
| 7 |
+
</component>
|
| 8 |
+
</project>
|
.idea/workspace.xml
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="AutoImportSettings">
|
| 4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
+
</component>
|
| 6 |
+
<component name="ChangeListManager">
|
| 7 |
+
<list default="true" id="c5bfb1b8-a522-4905-97bb-94bd61bab74c" name="Changes" comment="" />
|
| 8 |
+
<option name="SHOW_DIALOG" value="false" />
|
| 9 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
| 10 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
| 11 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
| 12 |
+
</component>
|
| 13 |
+
<component name="DjangoConsoleOptions" custom-start-script="import sys; print('Python %s on %s' % (sys.version, sys.platform)) import django; print('Django %s' % django.get_version()) sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS]) if 'setup' in dir(django): django.setup() import django_manage_shell; django_manage_shell.run(PROJECT_ROOT)">
|
| 14 |
+
<option name="myCustomStartScript" value="import sys; print('Python %s on %s' % (sys.version, sys.platform)) import django; print('Django %s' % django.get_version()) sys.path.extend([WORKING_DIR_AND_PYTHON_PATHS]) if 'setup' in dir(django): django.setup() import django_manage_shell; django_manage_shell.run(PROJECT_ROOT)" />
|
| 15 |
+
</component>
|
| 16 |
+
<component name="ProjectId" id="2aBKG9ysAwWV8qkkfYhkY5ubWJN" />
|
| 17 |
+
<component name="ProjectViewState">
|
| 18 |
+
<option name="hideEmptyMiddlePackages" value="true" />
|
| 19 |
+
<option name="showLibraryContents" value="true" />
|
| 20 |
+
</component>
|
| 21 |
+
<component name="PropertiesComponent">{
|
| 22 |
+
"keyToString": {
|
| 23 |
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
| 24 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
| 25 |
+
"WebServerToolWindowFactoryState": "false",
|
| 26 |
+
"node.js.detected.package.eslint": "true",
|
| 27 |
+
"node.js.detected.package.tslint": "true",
|
| 28 |
+
"node.js.selected.package.eslint": "(autodetect)",
|
| 29 |
+
"node.js.selected.package.tslint": "(autodetect)",
|
| 30 |
+
"vue.rearranger.settings.migration": "true"
|
| 31 |
+
}
|
| 32 |
+
}</component>
|
| 33 |
+
<component name="RunManager">
|
| 34 |
+
<configuration name="ams" type="Python.DjangoServer" factoryName="Django server">
|
| 35 |
+
<module name="ams" />
|
| 36 |
+
<option name="INTERPRETER_OPTIONS" value="" />
|
| 37 |
+
<option name="PARENT_ENVS" value="true" />
|
| 38 |
+
<envs>
|
| 39 |
+
<env name="PYTHONUNBUFFERED" value="1" />
|
| 40 |
+
</envs>
|
| 41 |
+
<option name="SDK_HOME" value="" />
|
| 42 |
+
<option name="WORKING_DIRECTORY" value="" />
|
| 43 |
+
<option name="IS_MODULE_SDK" value="false" />
|
| 44 |
+
<option name="ADD_CONTENT_ROOTS" value="true" />
|
| 45 |
+
<option name="ADD_SOURCE_ROOTS" value="true" />
|
| 46 |
+
<option name="launchJavascriptDebuger" value="false" />
|
| 47 |
+
<option name="port" value="8000" />
|
| 48 |
+
<option name="host" value="" />
|
| 49 |
+
<option name="additionalOptions" value="" />
|
| 50 |
+
<option name="browserUrl" value="" />
|
| 51 |
+
<option name="runTestServer" value="false" />
|
| 52 |
+
<option name="runNoReload" value="false" />
|
| 53 |
+
<option name="useCustomRunCommand" value="false" />
|
| 54 |
+
<option name="customRunCommand" value="" />
|
| 55 |
+
<method v="2" />
|
| 56 |
+
</configuration>
|
| 57 |
+
</component>
|
| 58 |
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
| 59 |
+
<component name="TaskManager">
|
| 60 |
+
<task active="true" id="Default" summary="Default task">
|
| 61 |
+
<changelist id="c5bfb1b8-a522-4905-97bb-94bd61bab74c" name="Changes" comment="" />
|
| 62 |
+
<created>1703786437739</created>
|
| 63 |
+
<option name="number" value="Default" />
|
| 64 |
+
<option name="presentableId" value="Default" />
|
| 65 |
+
<updated>1703786437739</updated>
|
| 66 |
+
<workItem from="1703786441745" duration="3213000" />
|
| 67 |
+
<workItem from="1703792494579" duration="726000" />
|
| 68 |
+
<workItem from="1703794017526" duration="404000" />
|
| 69 |
+
<workItem from="1703923968465" duration="3646000" />
|
| 70 |
+
<workItem from="1703927821191" duration="749000" />
|
| 71 |
+
<workItem from="1703943629925" duration="9000" />
|
| 72 |
+
<workItem from="1704128050281" duration="8590000" />
|
| 73 |
+
<workItem from="1704137702876" duration="11386000" />
|
| 74 |
+
<workItem from="1704183902539" duration="1458000" />
|
| 75 |
+
<workItem from="1704192497644" duration="15506000" />
|
| 76 |
+
<workItem from="1704217499304" duration="628000" />
|
| 77 |
+
<workItem from="1704377276986" duration="46000" />
|
| 78 |
+
<workItem from="1704377528922" duration="507000" />
|
| 79 |
+
</task>
|
| 80 |
+
<servers />
|
| 81 |
+
</component>
|
| 82 |
+
<component name="TypeScriptGeneratedFilesManager">
|
| 83 |
+
<option name="version" value="3" />
|
| 84 |
+
</component>
|
| 85 |
+
</project>
|
__pycache__/manage.cpython-38.pyc
ADDED
|
Binary file (788 Bytes). View file
|
|
|
ams/__init__.py
ADDED
|
File without changes
|
ams/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (179 Bytes). View file
|
|
|
ams/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (195 Bytes). View file
|
|
|
ams/__pycache__/__init__.cpython-38.pyc
ADDED
|
Binary file (139 Bytes). View file
|
|
|
ams/__pycache__/settings.cpython-310.pyc
ADDED
|
Binary file (2.34 kB). View file
|
|
|
ams/__pycache__/settings.cpython-311.pyc
ADDED
|
Binary file (2.83 kB). View file
|
|
|
ams/__pycache__/settings.cpython-38.pyc
ADDED
|
Binary file (2.4 kB). View file
|
|
|
ams/__pycache__/urls.cpython-310.pyc
ADDED
|
Binary file (1 kB). View file
|
|
|
ams/__pycache__/urls.cpython-311.pyc
ADDED
|
Binary file (1.17 kB). View file
|
|
|
ams/__pycache__/urls.cpython-38.pyc
ADDED
|
Binary file (963 Bytes). View file
|
|
|
ams/__pycache__/wsgi.cpython-38.pyc
ADDED
|
Binary file (534 Bytes). View file
|
|
|
ams/settings.py
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Django settings for ams project.
|
| 3 |
+
|
| 4 |
+
Generated by 'django-admin startproject' using Django 2.2.12.
|
| 5 |
+
|
| 6 |
+
For more information on this file, see
|
| 7 |
+
https://docs.djangoproject.com/en/2.2/topics/settings/
|
| 8 |
+
|
| 9 |
+
For the full list of settings and their values, see
|
| 10 |
+
https://docs.djangoproject.com/en/2.2/ref/settings/
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
import os
|
| 14 |
+
|
| 15 |
+
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
| 16 |
+
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# Quick-start development settings - unsuitable for production
|
| 20 |
+
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
|
| 21 |
+
|
| 22 |
+
# SECURITY WARNING: keep the secret key used in production secret!
|
| 23 |
+
SECRET_KEY = '(+a+y$0_b#0)c!i^oe*(b1azmlm=v50u6&9ise&d54io0&kig2'
|
| 24 |
+
|
| 25 |
+
# SECURITY WARNING: don't run with debug turned on in production!
|
| 26 |
+
DEBUG = True
|
| 27 |
+
|
| 28 |
+
ALLOWED_HOSTS = []
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
# Application definition
|
| 32 |
+
|
| 33 |
+
INSTALLED_APPS = [
|
| 34 |
+
'django.contrib.admin',
|
| 35 |
+
'django.contrib.auth',
|
| 36 |
+
'django.contrib.contenttypes',
|
| 37 |
+
'django.contrib.sessions',
|
| 38 |
+
'django.contrib.messages',
|
| 39 |
+
'django.contrib.staticfiles',
|
| 40 |
+
'prediction'
|
| 41 |
+
]
|
| 42 |
+
|
| 43 |
+
MIDDLEWARE = [
|
| 44 |
+
'django.middleware.security.SecurityMiddleware',
|
| 45 |
+
'django.contrib.sessions.middleware.SessionMiddleware',
|
| 46 |
+
'django.middleware.common.CommonMiddleware',
|
| 47 |
+
'django.middleware.csrf.CsrfViewMiddleware',
|
| 48 |
+
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
| 49 |
+
'django.contrib.messages.middleware.MessageMiddleware',
|
| 50 |
+
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
| 51 |
+
]
|
| 52 |
+
|
| 53 |
+
ROOT_URLCONF = 'ams.urls'
|
| 54 |
+
|
| 55 |
+
TEMPLATES = [
|
| 56 |
+
{
|
| 57 |
+
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
| 58 |
+
'DIRS': [BASE_DIR,'templates/'],
|
| 59 |
+
'APP_DIRS': True,
|
| 60 |
+
'OPTIONS': {
|
| 61 |
+
'context_processors': [
|
| 62 |
+
'django.template.context_processors.debug',
|
| 63 |
+
'django.template.context_processors.request',
|
| 64 |
+
'django.contrib.auth.context_processors.auth',
|
| 65 |
+
'django.contrib.messages.context_processors.messages',
|
| 66 |
+
],
|
| 67 |
+
},
|
| 68 |
+
},
|
| 69 |
+
]
|
| 70 |
+
|
| 71 |
+
WSGI_APPLICATION = 'ams.wsgi.application'
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
# Database
|
| 75 |
+
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
|
| 76 |
+
|
| 77 |
+
DATABASES = {
|
| 78 |
+
'default': {
|
| 79 |
+
'ENGINE': 'django.db.backends.sqlite3',
|
| 80 |
+
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
# Password validation
|
| 86 |
+
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
|
| 87 |
+
|
| 88 |
+
AUTH_PASSWORD_VALIDATORS = [
|
| 89 |
+
{
|
| 90 |
+
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
| 100 |
+
},
|
| 101 |
+
]
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
# Internationalization
|
| 105 |
+
# https://docs.djangoproject.com/en/2.2/topics/i18n/
|
| 106 |
+
|
| 107 |
+
LANGUAGE_CODE = 'en-us'
|
| 108 |
+
|
| 109 |
+
TIME_ZONE = 'UTC'
|
| 110 |
+
|
| 111 |
+
USE_I18N = True
|
| 112 |
+
|
| 113 |
+
USE_L10N = True
|
| 114 |
+
|
| 115 |
+
USE_TZ = True
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
# Static files (CSS, JavaScript, Images)
|
| 119 |
+
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
| 120 |
+
|
| 121 |
+
STATIC_URL = '/static/'
|
| 122 |
+
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
MEDIA_URL = '/media/'
|
| 127 |
+
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
ams/urls.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""ams URL Configuration
|
| 2 |
+
|
| 3 |
+
The `urlpatterns` list routes URLs to views. For more information please see:
|
| 4 |
+
https://docs.djangoproject.com/en/2.2/topics/http/urls/
|
| 5 |
+
Examples:
|
| 6 |
+
Function views
|
| 7 |
+
1. Add an import: from my_app import views
|
| 8 |
+
2. Add a URL to urlpatterns: path('', views.home, name='home')
|
| 9 |
+
Class-based views
|
| 10 |
+
1. Add an import: from other_app.views import Home
|
| 11 |
+
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
|
| 12 |
+
Including another URLconf
|
| 13 |
+
1. Import the include() function: from django.urls import include, path
|
| 14 |
+
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
| 15 |
+
"""
|
| 16 |
+
from django.contrib import admin
|
| 17 |
+
from django.urls import path,include
|
| 18 |
+
|
| 19 |
+
urlpatterns = [
|
| 20 |
+
path('admin/', admin.site.urls),
|
| 21 |
+
path('',include('prediction.urls'))
|
| 22 |
+
]
|
ams/wsgi.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
WSGI config for ams project.
|
| 3 |
+
|
| 4 |
+
It exposes the WSGI callable as a module-level variable named ``application``.
|
| 5 |
+
|
| 6 |
+
For more information on this file, see
|
| 7 |
+
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
import os
|
| 11 |
+
|
| 12 |
+
from django.core.wsgi import get_wsgi_application
|
| 13 |
+
|
| 14 |
+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ams.settings')
|
| 15 |
+
|
| 16 |
+
application = get_wsgi_application()
|
db.sqlite3
ADDED
|
Binary file (143 kB). View file
|
|
|
manage.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Django's command-line utility for administrative tasks."""
|
| 3 |
+
import os
|
| 4 |
+
import sys
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def main():
|
| 8 |
+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ams.settings')
|
| 9 |
+
try:
|
| 10 |
+
from django.core.management import execute_from_command_line
|
| 11 |
+
except ImportError as exc:
|
| 12 |
+
raise ImportError(
|
| 13 |
+
"Couldn't import Django. Are you sure it's installed and "
|
| 14 |
+
"available on your PYTHONPATH environment variable? Did you "
|
| 15 |
+
"forget to activate a virtual environment?"
|
| 16 |
+
) from exc
|
| 17 |
+
execute_from_command_line(sys.argv)
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
if __name__ == '__main__':
|
| 21 |
+
main()
|
media/images/....PNG
ADDED
|
|
media/images/1022.PNG
ADDED
|
|
media/images/11_result.PNG
ADDED
|
|
media/images/11_result_ZFiGJcw.PNG
ADDED
|
|
media/images/11_result_kGUHYdg.PNG
ADDED
|
|
media/images/11_result_vIafYgm.PNG
ADDED
|
|
media/images/1zzzzzz.PNG
ADDED
|
|
media/images/2.PNG
ADDED
|
|
media/images/22222result.PNG
ADDED
|
|
media/images/22222result_ENDGM5O.PNG
ADDED
|
|
media/images/22222result_m5j6Feq.PNG
ADDED
|
|
media/images/22222result_n0yRsIo.PNG
ADDED
|
|
media/images/233.PNG
ADDED
|
|
media/images/233_5Ns6rxj.PNG
ADDED
|
|
media/images/233_BF0mWhq.PNG
ADDED
|
|
media/images/233_qMmaL6B.PNG
ADDED
|
|
media/images/2_4a9hoMp.PNG
ADDED
|
|
media/images/2_OML0Nuc.PNG
ADDED
|
|
media/images/2_UNE7Pmq.PNG
ADDED
|
|
media/images/2_WYMiLaX.PNG
ADDED
|
|
media/images/2_f60z0g5.PNG
ADDED
|
|
media/images/2_gZUgaBb.PNG
ADDED
|
|
media/images/2_jylMS6D.PNG
ADDED
|
|
media/images/2_kmypXLt.PNG
ADDED
|
|
media/images/2_o1IUV5E.PNG
ADDED
|
|
media/images/2_p1WH2sk.PNG
ADDED
|
|
media/images/2_xzwXhRZ.PNG
ADDED
|
|