diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..5518e60
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,10 @@
+.editorconfig
+.gitattributes
+.github
+.gitignore
+.gitlab-ci.yml
+.idea
+.pre-commit-config.yaml
+.readthedocs.yml
+.travis.yml
+venv
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6a9a5c4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,27 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{py,rst,ini}]
+indent_style = space
+indent_size = 4
+
+[*.{html,css,scss,json,yml,xml}]
+indent_style = space
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false
+
+[Makefile]
+indent_style = tab
+
+[nginx.conf]
+indent_style = space
+indent_size = 2
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..176a458
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto
diff --git a/.gitignore b/.gitignore
index 851f159..c5a66f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,37 +1,15 @@
-# Django #
-*.log
-*.pot
-*.pyc
-__pycache__
-*.sqlite3
-media
-/data
-
-# Backup files #
-*.bak
-
-# If you are using PyCharm #
-.idea/**/workspace.xml
-.idea/**/tasks.xml
-.idea/dictionaries
-.idea/**/dataSources/
-.idea/**/dataSources.ids
-.idea/**/dataSources.xml
-.idea/**/dataSources.local.xml
-.idea/**/sqlDataSources.xml
-.idea/**/dynamic.xml
-.idea/**/uiDesigner.xml
-.idea/**/gradle.xml
-.idea/**/libraries
-*.iws /out/
-.idea/
-
-# Python #
+### Python template
+# Byte-compiled / optimized / DLL files
+__pycache__/
*.py[cod]
*$py.class
+# C extensions
+*.so
+
# Distribution / packaging
-.Python build/
+.Python
+build/
develop-eggs/
dist/
downloads/
@@ -46,6 +24,10 @@ wheels/
*.egg-info/
.installed.cfg
*.egg
+
+# PyInstaller
+# Usually these files are written by a python script from a template
+# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
@@ -59,29 +41,36 @@ htmlcov/
.coverage
.coverage.*
.cache
-.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+staticfiles/
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
# pyenv
.python-version
-# celery
-celerybeat-schedule.*
-# SageMath parsed files
-*.sage.py
# Environments
-.env
.venv
-env/
venv/
ENV/
-env.bak/
-venv.bak/
+
+# Rope project settings
+.ropeproject
# mkdocs documentation
/site
@@ -89,7 +78,255 @@ venv.bak/
# mypy
.mypy_cache/
-scripts/
-/.idea/benchcoach.iml
-/db_back.sqlite3
-/benchcoachproject/fixtures/minimal.json
+
+### Node template
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# nyc test coverage
+.nyc_output
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# Typescript v1 declaration files
+typings/
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+
+### Linux template
+*~
+
+# temporary files which can be created if a process still has a handle open of a deleted file
+.fuse_hidden*
+
+# KDE directory preferences
+.directory
+
+# Linux trash folder which might appear on any partition or disk
+.Trash-*
+
+# .nfs files are created when an open file is removed but is still being accessed
+.nfs*
+
+
+### VisualStudioCode template
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
+
+# Provided default Pycharm Run/Debug Configurations should be tracked by git
+# In case of local modifications made by Pycharm, use update-index command
+# for each changed file, like this:
+# git update-index --assume-unchanged .idea/benchcoach.iml
+### JetBrains template
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff:
+.idea/**/workspace.xml
+.idea/**/tasks.xml
+.idea/dictionaries
+
+# Sensitive or high-churn files:
+.idea/**/dataSources/
+.idea/**/dataSources.ids
+.idea/**/dataSources.xml
+.idea/**/dataSources.local.xml
+.idea/**/sqlDataSources.xml
+.idea/**/dynamic.xml
+.idea/**/uiDesigner.xml
+
+# Gradle:
+.idea/**/gradle.xml
+.idea/**/libraries
+
+# CMake
+cmake-build-debug/
+
+# Mongo Explorer plugin:
+.idea/**/mongoSettings.xml
+
+## File-based project format:
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Cursive Clojure plugin
+.idea/replstate.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+
+
+### Windows template
+# Windows thumbnail cache files
+Thumbs.db
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+
+### macOS template
+# General
+*.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+
+### SublimeText template
+# Cache files for Sublime Text
+*.tmlanguage.cache
+*.tmPreferences.cache
+*.stTheme.cache
+
+# Workspace files are user-specific
+*.sublime-workspace
+
+# Project files should be checked into the repository, unless a significant
+# proportion of contributors will probably not be using Sublime Text
+# *.sublime-project
+
+# SFTP configuration file
+sftp-config.json
+
+# Package control specific files
+Package Control.last-run
+Package Control.ca-list
+Package Control.ca-bundle
+Package Control.system-ca-bundle
+Package Control.cache/
+Package Control.ca-certs/
+Package Control.merged-ca-bundle
+Package Control.user-ca-bundle
+oscrypto-ca-bundle.crt
+bh_unicode_properties.cache
+
+# Sublime-github package stores a github token in this file
+# https://packagecontrol.io/packages/sublime-github
+GitHub.sublime-settings
+
+
+### Vim template
+# Swap
+[._]*.s[a-v][a-z]
+[._]*.sw[a-p]
+[._]s[a-v][a-z]
+[._]sw[a-p]
+
+# Session
+Session.vim
+
+# Temporary
+.netrwhist
+
+# Auto-generated tag files
+tags
+
+### Project template
+benchcoach/media/
+
+.pytest_cache/
+.ipython/
+.env
+.envs/*
+/certs/
diff --git a/.idea/.gitignore b/.idea/.gitignore
index 5dd6870..73f69e0 100644
--- a/.idea/.gitignore
+++ b/.idea/.gitignore
@@ -1,90 +1,8 @@
-# Django #
-*.log
-*.pot
-*.pyc
-__pycache__
-db.sqlite3
-media
-
-# Backup files #
-*.bak
-
-# If you are using PyCharm #
-.idea/**/workspace.xml
-.idea/**/tasks.xml
-.idea/dictionaries
-.idea/**/dataSources/
-.idea/**/dataSources.ids
-.idea/**/dataSources.xml
-.idea/**/dataSources.local.xml
-.idea/**/sqlDataSources.xml
-.idea/**/dynamic.xml
-.idea/**/uiDesigner.xml
-.idea/**/gradle.xml
-.idea/**/libraries
-*.iws /out/
-
-# Python #
-*.py[cod]
-*$py.class
-
-# Distribution / packaging
-.Python build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-wheels/
-*.egg-info/
-.installed.cfg
-*.egg
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.coverage
-.coverage.*
-.cache
-.pytest_cache/
-nosetests.xml
-coverage.xml
-*.cover
-.hypothesis/
-
-# pyenv
-.python-version
-
-# celery
-celerybeat-schedule.*
-
-# SageMath parsed files
-*.sage.py
-
-# Environments
-.env
-.venv
-env/
-venv/
-ENV/
-env.bak/
-venv.bak/
-
-# mkdocs documentation
-/site
-
-# mypy
-.mypy_cache/
-
-scripts/
\ No newline at end of file
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/benchcoach.iml b/.idea/benchcoach.iml
new file mode 100644
index 0000000..018170f
--- /dev/null
+++ b/.idea/benchcoach.iml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..0289641
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..7e0e000
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..7057622
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/docker_compose_up_django.xml b/.idea/runConfigurations/docker_compose_up_django.xml
new file mode 100644
index 0000000..a0a02ac
--- /dev/null
+++ b/.idea/runConfigurations/docker_compose_up_django.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/docker_compose_up_docs.xml b/.idea/runConfigurations/docker_compose_up_docs.xml
new file mode 100644
index 0000000..0f77b28
--- /dev/null
+++ b/.idea/runConfigurations/docker_compose_up_docs.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/merge_production_dotenvs_in_dotenv.xml b/.idea/runConfigurations/merge_production_dotenvs_in_dotenv.xml
new file mode 100644
index 0000000..4d6a316
--- /dev/null
+++ b/.idea/runConfigurations/merge_production_dotenvs_in_dotenv.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/migrate.xml b/.idea/runConfigurations/migrate.xml
new file mode 100644
index 0000000..448a6eb
--- /dev/null
+++ b/.idea/runConfigurations/migrate.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/pytest___.xml b/.idea/runConfigurations/pytest___.xml
new file mode 100644
index 0000000..b13a9cc
--- /dev/null
+++ b/.idea/runConfigurations/pytest___.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/pytest__users.xml b/.idea/runConfigurations/pytest__users.xml
new file mode 100644
index 0000000..a20139b
--- /dev/null
+++ b/.idea/runConfigurations/pytest__users.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/runserver.xml b/.idea/runConfigurations/runserver.xml
new file mode 100644
index 0000000..c942c94
--- /dev/null
+++ b/.idea/runConfigurations/runserver.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/runserver_plus.xml b/.idea/runConfigurations/runserver_plus.xml
new file mode 100644
index 0000000..cae6ab1
--- /dev/null
+++ b/.idea/runConfigurations/runserver_plus.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..5ace414
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/.idea/webResources.xml b/.idea/webResources.xml
new file mode 100644
index 0000000..decb5c6
--- /dev/null
+++ b/.idea/webResources.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..5b22d0d
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,39 @@
+exclude: "^docs/|/migrations/"
+default_stages: [commit]
+
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.2.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+ - id: check-yaml
+
+ - repo: https://github.com/asottile/pyupgrade
+ rev: v2.32.1
+ hooks:
+ - id: pyupgrade
+ args: [--py39-plus]
+
+ - repo: https://github.com/psf/black
+ rev: 22.3.0
+ hooks:
+ - id: black
+
+ - repo: https://github.com/PyCQA/isort
+ rev: 5.10.1
+ hooks:
+ - id: isort
+
+ - repo: https://github.com/PyCQA/flake8
+ rev: 4.0.1
+ hooks:
+ - id: flake8
+ args: ["--config=setup.cfg"]
+ additional_dependencies: [flake8-isort]
+
+# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
+ci:
+ autoupdate_schedule: weekly
+ skip: []
+ submodules: false
diff --git a/.pylintrc b/.pylintrc
new file mode 100644
index 0000000..2d6bf13
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,14 @@
+[MASTER]
+load-plugins=pylint_django
+django-settings-module=config.settings.base
+[FORMAT]
+max-line-length=120
+
+[MESSAGES CONTROL]
+disable=missing-docstring,invalid-name
+
+[DESIGN]
+max-parents=13
+
+[TYPECHECK]
+generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",save,delete
diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644
index 0000000..b4cf0c0
--- /dev/null
+++ b/.readthedocs.yml
@@ -0,0 +1,12 @@
+version: 2
+
+sphinx:
+ configuration: docs/conf.py
+
+build:
+ image: testing
+
+python:
+ version: 3.9
+ install:
+ - requirements: requirements/local.txt
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
new file mode 100644
index 0000000..78ba54e
--- /dev/null
+++ b/CONTRIBUTORS.txt
@@ -0,0 +1 @@
+Anthony Correa
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..639a29a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,9 @@
+
+The MIT License (MIT)
+Copyright (c) 2022, Anthony Correa
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Procfile b/Procfile
deleted file mode 100644
index c6d5d2b..0000000
--- a/Procfile
+++ /dev/null
@@ -1 +0,0 @@
-web: gunicorn benchcoachproject.wsgi
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..38e2c83
--- /dev/null
+++ b/README.md
@@ -0,0 +1,54 @@
+# BenchCoach
+
+An assistant coach for TeamSnap
+
+[](https://github.com/cookiecutter/cookiecutter-django/)
+[](https://github.com/ambv/black)
+
+License: MIT
+
+## Settings
+
+Moved to [settings](http://cookiecutter-django.readthedocs.io/en/latest/settings.html).
+
+## Basic Commands
+
+### Setting Up Your Users
+
+- To create a **normal user account**, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
+
+- To create a **superuser account**, use this command:
+
+ $ python manage.py createsuperuser
+
+For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
+
+### Type checks
+
+Running type checks with mypy:
+
+ $ mypy benchcoach
+
+### Test coverage
+
+To run the tests, check your test coverage, and generate an HTML coverage report:
+
+ $ coverage run -m pytest
+ $ coverage html
+ $ open htmlcov/index.html
+
+#### Running tests with pytest
+
+ $ pytest
+
+### Live reloading and Sass CSS compilation
+
+Moved to [Live reloading and SASS compilation](https://cookiecutter-django.readthedocs.io/en/latest/developing-locally.html#sass-compilation-live-reloading).
+
+## Deployment
+
+The following details how to deploy this application.
+
+### Docker
+
+See detailed [cookiecutter-django Docker documentation](http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html).
diff --git a/benchcoach/__init__.py b/benchcoach/__init__.py
index e69de29..3da9e5f 100644
--- a/benchcoach/__init__.py
+++ b/benchcoach/__init__.py
@@ -0,0 +1,5 @@
+__version__ = "0.1.0"
+__version_info__ = tuple(
+ int(num) if num.isdigit() else num
+ for num in __version__.replace("-", ".", 1).split(".")
+)
diff --git a/benchcoach/admin.py b/benchcoach/admin.py
deleted file mode 100644
index 68e28a6..0000000
--- a/benchcoach/admin.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from django.contrib import admin
-from .models import Event, Availability, Positioning, Team, Venue, Player, StatLine
-
-# Register your models here.
-admin.site.register(Event)
-admin.site.register(Availability)
-admin.site.register(Positioning)
-admin.site.register(Team)
-admin.site.register(Venue)
-admin.site.register(Player)
-admin.site.register(StatLine)
\ No newline at end of file
diff --git a/benchcoach/apps.py b/benchcoach/apps.py
deleted file mode 100644
index 9e1633d..0000000
--- a/benchcoach/apps.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from django.apps import AppConfig
-
-
-class BenchcoachConfig(AppConfig):
- default_auto_field = 'django.db.models.BigAutoField'
- name = 'benchcoach'
diff --git a/benchcoach/conftest.py b/benchcoach/conftest.py
new file mode 100644
index 0000000..7a267b5
--- /dev/null
+++ b/benchcoach/conftest.py
@@ -0,0 +1,14 @@
+import pytest
+
+from benchcoach.users.models import User
+from benchcoach.users.tests.factories import UserFactory
+
+
+@pytest.fixture(autouse=True)
+def media_storage(settings, tmpdir):
+ settings.MEDIA_ROOT = tmpdir.strpath
+
+
+@pytest.fixture
+def user() -> User:
+ return UserFactory()
diff --git a/benchcoach/contrib/__init__.py b/benchcoach/contrib/__init__.py
new file mode 100644
index 0000000..1c7ecc8
--- /dev/null
+++ b/benchcoach/contrib/__init__.py
@@ -0,0 +1,5 @@
+"""
+To understand why this file is here, please read:
+
+http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django
+"""
diff --git a/benchcoach/contrib/sites/__init__.py b/benchcoach/contrib/sites/__init__.py
new file mode 100644
index 0000000..1c7ecc8
--- /dev/null
+++ b/benchcoach/contrib/sites/__init__.py
@@ -0,0 +1,5 @@
+"""
+To understand why this file is here, please read:
+
+http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django
+"""
diff --git a/benchcoach/contrib/sites/migrations/0001_initial.py b/benchcoach/contrib/sites/migrations/0001_initial.py
new file mode 100644
index 0000000..304cd6d
--- /dev/null
+++ b/benchcoach/contrib/sites/migrations/0001_initial.py
@@ -0,0 +1,42 @@
+import django.contrib.sites.models
+from django.contrib.sites.models import _simple_domain_name_validator
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = []
+
+ operations = [
+ migrations.CreateModel(
+ name="Site",
+ fields=[
+ (
+ "id",
+ models.AutoField(
+ verbose_name="ID",
+ serialize=False,
+ auto_created=True,
+ primary_key=True,
+ ),
+ ),
+ (
+ "domain",
+ models.CharField(
+ max_length=100,
+ verbose_name="domain name",
+ validators=[_simple_domain_name_validator],
+ ),
+ ),
+ ("name", models.CharField(max_length=50, verbose_name="display name")),
+ ],
+ options={
+ "ordering": ("domain",),
+ "db_table": "django_site",
+ "verbose_name": "site",
+ "verbose_name_plural": "sites",
+ },
+ bases=(models.Model,),
+ managers=[("objects", django.contrib.sites.models.SiteManager())],
+ )
+ ]
diff --git a/benchcoach/contrib/sites/migrations/0002_alter_domain_unique.py b/benchcoach/contrib/sites/migrations/0002_alter_domain_unique.py
new file mode 100644
index 0000000..2c8d6da
--- /dev/null
+++ b/benchcoach/contrib/sites/migrations/0002_alter_domain_unique.py
@@ -0,0 +1,20 @@
+import django.contrib.sites.models
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [("sites", "0001_initial")]
+
+ operations = [
+ migrations.AlterField(
+ model_name="site",
+ name="domain",
+ field=models.CharField(
+ max_length=100,
+ unique=True,
+ validators=[django.contrib.sites.models._simple_domain_name_validator],
+ verbose_name="domain name",
+ ),
+ )
+ ]
diff --git a/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py b/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py
new file mode 100644
index 0000000..f83474b
--- /dev/null
+++ b/benchcoach/contrib/sites/migrations/0003_set_site_domain_and_name.py
@@ -0,0 +1,63 @@
+"""
+To understand why this file is here, please read:
+
+http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django
+"""
+from django.conf import settings
+from django.db import migrations
+
+
+def _update_or_create_site_with_sequence(site_model, connection, domain, name):
+ """Update or create the site with default ID and keep the DB sequence in sync."""
+ site, created = site_model.objects.update_or_create(
+ id=settings.SITE_ID,
+ defaults={
+ "domain": domain,
+ "name": name,
+ },
+ )
+ if created:
+ # We provided the ID explicitly when creating the Site entry, therefore the DB
+ # sequence to auto-generate them wasn't used and is now out of sync. If we
+ # don't do anything, we'll get a unique constraint violation the next time a
+ # site is created.
+ # To avoid this, we need to manually update DB sequence and make sure it's
+ # greater than the maximum value.
+ max_id = site_model.objects.order_by('-id').first().id
+ with connection.cursor() as cursor:
+ cursor.execute("SELECT last_value from django_site_id_seq")
+ (current_id,) = cursor.fetchone()
+ if current_id <= max_id:
+ cursor.execute(
+ "alter sequence django_site_id_seq restart with %s",
+ [max_id + 1],
+ )
+
+
+def update_site_forward(apps, schema_editor):
+ """Set site domain and name."""
+ Site = apps.get_model("sites", "Site")
+ _update_or_create_site_with_sequence(
+ Site,
+ schema_editor.connection,
+ "benchcoach.ascorrea.com",
+ "BenchCoach",
+ )
+
+
+def update_site_backward(apps, schema_editor):
+ """Revert site domain and name to default."""
+ Site = apps.get_model("sites", "Site")
+ _update_or_create_site_with_sequence(
+ Site,
+ schema_editor.connection,
+ "example.com",
+ "example.com",
+ )
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [("sites", "0002_alter_domain_unique")]
+
+ operations = [migrations.RunPython(update_site_forward, update_site_backward)]
diff --git a/benchcoach/contrib/sites/migrations/0004_alter_options_ordering_domain.py b/benchcoach/contrib/sites/migrations/0004_alter_options_ordering_domain.py
new file mode 100644
index 0000000..f7118ca
--- /dev/null
+++ b/benchcoach/contrib/sites/migrations/0004_alter_options_ordering_domain.py
@@ -0,0 +1,21 @@
+# Generated by Django 3.1.7 on 2021-02-04 14:49
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("sites", "0003_set_site_domain_and_name"),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name="site",
+ options={
+ "ordering": ["domain"],
+ "verbose_name": "site",
+ "verbose_name_plural": "sites",
+ },
+ ),
+ ]
diff --git a/benchcoach/contrib/sites/migrations/__init__.py b/benchcoach/contrib/sites/migrations/__init__.py
new file mode 100644
index 0000000..1c7ecc8
--- /dev/null
+++ b/benchcoach/contrib/sites/migrations/__init__.py
@@ -0,0 +1,5 @@
+"""
+To understand why this file is here, please read:
+
+http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django
+"""
diff --git a/benchcoach/fixtures/2021cmba.json b/benchcoach/fixtures/2021cmba.json
deleted file mode 100644
index f4caee2..0000000
--- a/benchcoach/fixtures/2021cmba.json
+++ /dev/null
@@ -1,4215 +0,0 @@
-[
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-03-11 17:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-03-21 13:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 18,
- "away_team_id": 5,
- "home_team_id": null,
- "start": "2021-03-28 16:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 5,
- "home_team_id": 10,
- "start": "2021-04-03 12:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 18,
- "away_team_id": 5,
- "home_team_id": 10,
- "start": "2021-04-11 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 5,
- "home_team_id": 4,
- "start": "2021-04-17 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 5,
- "home_team_id": 8,
- "start": "2021-04-24 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-04-27 17:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 1,
- "home_team_id": 5,
- "start": "2021-05-01 12:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 7,
- "away_team_id": 7,
- "home_team_id": 5,
- "start": "2021-05-02 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 5,
- "home_team_id": 9,
- "start": "2021-05-06 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 8,
- "home_team_id": 5,
- "start": "2021-05-08 12:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 2,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-05-11 17:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 16,
- "away_team_id": 5,
- "home_team_id": 6,
- "start": "2021-05-16 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 5,
- "home_team_id": 3,
- "start": "2021-05-21 19:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 7,
- "away_team_id": 5,
- "home_team_id": 8,
- "start": "2021-05-22 12:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 5,
- "home_team_id": 7,
- "start": "2021-05-23 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 5,
- "home_team_id": 1,
- "start": "2021-05-30 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 2,
- "home_team_id": 5,
- "start": "2021-06-01 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 9,
- "home_team_id": 5,
- "start": "2021-06-03 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 7,
- "away_team_id": 5,
- "home_team_id": 9,
- "start": "2021-06-05 12:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 7,
- "home_team_id": 5,
- "start": "2021-06-06 10:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 5,
- "home_team_id": 4,
- "start": "2021-06-10 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 16,
- "away_team_id": 1,
- "home_team_id": 5,
- "start": "2021-06-13 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": 3,
- "home_team_id": 5,
- "start": "2021-06-15 19:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-06-18 20:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 21,
- "away_team_id": 10,
- "home_team_id": 5,
- "start": "2021-06-19 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 5,
- "home_team_id": 10,
- "start": "2021-06-19 12:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-06-23 20:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-06-25 19:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 1,
- "away_team_id": null,
- "home_team_id": null,
- "start": "2021-06-27 16:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 4,
- "away_team_id": 5,
- "home_team_id": 2,
- "start": "2021-07-08 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 2,
- "away_team_id": 4,
- "home_team_id": 5,
- "start": "2021-07-10 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 19,
- "away_team_id": 4,
- "home_team_id": 5,
- "start": "2021-07-11 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 16,
- "away_team_id": 10,
- "home_team_id": 5,
- "start": "2021-07-13 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 2,
- "away_team_id": 5,
- "home_team_id": 2,
- "start": "2021-07-15 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 20,
- "away_team_id": 5,
- "home_team_id": 6,
- "start": "2021-07-18 9:30:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 5,
- "away_team_id": 8,
- "home_team_id": 5,
- "start": "2021-07-21 20:00:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 3,
- "away_team_id": 5,
- "home_team_id": 3,
- "start": "2021-07-22 19:15:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 5,
- "away_team_id": 6,
- "home_team_id": 5,
- "start": "2021-07-29 17:50:00"
- }
- },
- {
- "model": "benchcoach.event",
- "pk": null,
- "fields": {
- "venue_id": 5,
- "away_team_id": 1,
- "home_team_id": 5,
- "start": "2021-07-31 9:30:00"
- }
- },
-
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Browns",
- "image": "images/browns.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "DegenerateX",
- "image": "images/ramriez.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Dodgers",
- "image": "images/dodgers.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Electrons",
- "image": "images/electrons.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Hounds",
- "image": "images/hounds.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Marlins",
- "image": "images/marlins.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Orioles",
- "image": "images/orioles.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Trojans",
- "image": "images/trojans.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "Vikings",
- "image": "images/vikings.svg"
- }
- },
- {
- "model": "benchcoach.team",
- "pk": null,
- "fields": {
- "name": "White Sox",
- "image": "images/whitesox.svg"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Tony",
- "jersey_number": 13,
- "last_name": "Correa"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Tim",
- "jersey_number": 8,
- "last_name": "Riggenbach"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Thomas",
- "jersey_number": 44,
- "last_name": "Feazelle"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Philip",
- "jersey_number": 25,
- "last_name": "Oweimrin"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Phil",
- "jersey_number": 21,
- "last_name": "Zelenka"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Nick",
- "jersey_number": 23,
- "last_name": "Schmidt"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Mike",
- "jersey_number": 28,
- "last_name": "DiCola"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Max",
- "jersey_number": 99,
- "last_name": "Kiefer"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Matthew",
- "jersey_number": 5,
- "last_name": "Steffens"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Matt",
- "jersey_number": 6,
- "last_name": "Burch"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Jules",
- "jersey_number": 34,
- "last_name": "Cantor"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "John",
- "jersey_number": 34,
- "last_name": "Lundgren"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Joe",
- "jersey_number": 17,
- "last_name": "Malafronte"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Hans",
- "jersey_number": 18,
- "last_name": "Hetrick"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Greg",
- "jersey_number": 19,
- "last_name": "Sells"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Garrett",
- "jersey_number": 17,
- "last_name": "Eddy"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Cole",
- "jersey_number": 24,
- "last_name": "Thompson"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Brian",
- "jersey_number": 2,
- "last_name": "Lehman"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Brent",
- "jersey_number": 27,
- "last_name": "Fukushima"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Brandon",
- "jersey_number": 3,
- "last_name": "Jessee"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Brad",
- "jersey_number": 15,
- "last_name": "Halperin"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Arron",
- "jersey_number": 11,
- "last_name": "Kruse"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Amanda",
- "jersey_number": 41,
- "last_name": "Mordacq"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Alec",
- "jersey_number": 14,
- "last_name": "Reinke"
- }
- },
- {
- "model": "benchcoach.player",
- "pk": null,
- "fields": {
- "first_name": "Adrien",
- "jersey_number": 45,
- "last_name": "Kelly"
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 1,
- "fields": {
- "player": 18,
- "event": 9,
- "position": "LF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 2,
- "fields": {
- "player": 19,
- "event": 9,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 3,
- "fields": {
- "player": 22,
- "event": 9,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 4,
- "fields": {
- "player": 10,
- "event": 9,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 5,
- "fields": {
- "player": 15,
- "event": 9,
- "position": "2B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 6,
- "fields": {
- "player": 5,
- "event": 9,
- "position": "RF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 7,
- "fields": {
- "player": 2,
- "event": 9,
- "position": "P",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 8,
- "fields": {
- "player": 20,
- "event": 9,
- "position": "CF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 9,
- "fields": {
- "player": 1,
- "event": 9,
- "position": "C",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 10,
- "fields": {
- "player": 11,
- "event": 9,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 11,
- "fields": {
- "player": 11,
- "event": 10,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 12,
- "fields": {
- "player": 18,
- "event": 10,
- "position": "CF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 13,
- "fields": {
- "player": 19,
- "event": 10,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 14,
- "fields": {
- "player": 22,
- "event": 10,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 15,
- "fields": {
- "player": 2,
- "event": 10,
- "position": "EH",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 16,
- "fields": {
- "player": 8,
- "event": 10,
- "position": "1B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 17,
- "fields": {
- "player": 5,
- "event": 10,
- "position": "LF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 18,
- "fields": {
- "player": 10,
- "event": 10,
- "position": "DH",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 19,
- "fields": {
- "player": 15,
- "event": 10,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 20,
- "fields": {
- "player": 14,
- "event": 10,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 21,
- "fields": {
- "player": 1,
- "event": 10,
- "position": "C",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 22,
- "fields": {
- "player": 4,
- "event": 10,
- "position": "RF",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 23,
- "fields": {
- "player": 7,
- "event": 11,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 24,
- "fields": {
- "player": 18,
- "event": 11,
- "position": "RF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 25,
- "fields": {
- "player": 16,
- "event": 11,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 26,
- "fields": {
- "player": 22,
- "event": 11,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 27,
- "fields": {
- "player": 2,
- "event": 11,
- "position": "LF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 28,
- "fields": {
- "player": 8,
- "event": 11,
- "position": "1B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 29,
- "fields": {
- "player": 15,
- "event": 11,
- "position": "SS",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 30,
- "fields": {
- "player": 13,
- "event": 11,
- "position": "2B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 31,
- "fields": {
- "player": 5,
- "event": 11,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 32,
- "fields": {
- "player": 1,
- "event": 11,
- "position": "C",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 33,
- "fields": {
- "player": 4,
- "event": 11,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 34,
- "fields": {
- "player": 11,
- "event": 12,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 35,
- "fields": {
- "player": 18,
- "event": 12,
- "position": "EH",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 36,
- "fields": {
- "player": 19,
- "event": 12,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 37,
- "fields": {
- "player": 22,
- "event": 12,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 38,
- "fields": {
- "player": 10,
- "event": 12,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 39,
- "fields": {
- "player": 2,
- "event": 12,
- "position": "EH",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 40,
- "fields": {
- "player": 5,
- "event": 12,
- "position": "LF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 41,
- "fields": {
- "player": 20,
- "event": 12,
- "position": "CF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 42,
- "fields": {
- "player": 3,
- "event": 12,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 43,
- "fields": {
- "player": 8,
- "event": 12,
- "position": "DH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 44,
- "fields": {
- "player": 1,
- "event": 12,
- "position": "C",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 45,
- "fields": {
- "player": 4,
- "event": 12,
- "position": "RF",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 46,
- "fields": {
- "player": 24,
- "event": 14,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 47,
- "fields": {
- "player": 18,
- "event": 14,
- "position": "2B",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 48,
- "fields": {
- "player": 6,
- "event": 14,
- "position": "DH",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 49,
- "fields": {
- "player": 19,
- "event": 14,
- "position": "SS",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 50,
- "fields": {
- "player": 22,
- "event": 14,
- "position": "3B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 51,
- "fields": {
- "player": 2,
- "event": 14,
- "position": "LF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 52,
- "fields": {
- "player": 13,
- "event": 14,
- "position": "RF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 53,
- "fields": {
- "player": 8,
- "event": 14,
- "position": "1B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 54,
- "fields": {
- "player": 20,
- "event": 14,
- "position": "CF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 55,
- "fields": {
- "player": 9,
- "event": 14,
- "position": "EH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 56,
- "fields": {
- "player": 1,
- "event": 14,
- "position": "C",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 57,
- "fields": {
- "player": 11,
- "event": 14,
- "position": "EH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 58,
- "fields": {
- "player": 7,
- "event": 15,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 59,
- "fields": {
- "player": 18,
- "event": 15,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 60,
- "fields": {
- "player": 19,
- "event": 15,
- "position": "EH",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 61,
- "fields": {
- "player": 22,
- "event": 15,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 62,
- "fields": {
- "player": 6,
- "event": 15,
- "position": "DH",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 63,
- "fields": {
- "player": 10,
- "event": 15,
- "position": "1B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 64,
- "fields": {
- "player": 2,
- "event": 15,
- "position": "LF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 65,
- "fields": {
- "player": 1,
- "event": 15,
- "position": "C",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 66,
- "fields": {
- "player": 20,
- "event": 15,
- "position": "CF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 67,
- "fields": {
- "player": 15,
- "event": 15,
- "position": "RF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 68,
- "fields": {
- "player": 12,
- "event": 15,
- "position": "2B",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 69,
- "fields": {
- "player": 14,
- "event": 15,
- "position": "EH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 70,
- "fields": {
- "player": 11,
- "event": 16,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 71,
- "fields": {
- "player": 16,
- "event": 16,
- "position": "CF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 72,
- "fields": {
- "player": 18,
- "event": 16,
- "position": "C",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 73,
- "fields": {
- "player": 19,
- "event": 16,
- "position": "SS",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 74,
- "fields": {
- "player": 22,
- "event": 16,
- "position": "EH",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 75,
- "fields": {
- "player": 10,
- "event": 16,
- "position": "EH",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 76,
- "fields": {
- "player": 13,
- "event": 16,
- "position": "3B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 77,
- "fields": {
- "player": 5,
- "event": 16,
- "position": "LF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 78,
- "fields": {
- "player": 12,
- "event": 16,
- "position": "DH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 79,
- "fields": {
- "player": 9,
- "event": 16,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 80,
- "fields": {
- "player": 17,
- "event": 16,
- "position": "RF",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 81,
- "fields": {
- "player": 24,
- "event": 16,
- "position": "1B",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 82,
- "fields": {
- "player": 2,
- "event": 17,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 83,
- "fields": {
- "player": 18,
- "event": 17,
- "position": "3B",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 84,
- "fields": {
- "player": 13,
- "event": 17,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 85,
- "fields": {
- "player": 22,
- "event": 17,
- "position": "EH",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 86,
- "fields": {
- "player": 6,
- "event": 17,
- "position": "CF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 87,
- "fields": {
- "player": 10,
- "event": 17,
- "position": "EH",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 88,
- "fields": {
- "player": 14,
- "event": 17,
- "position": "1B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 89,
- "fields": {
- "player": 1,
- "event": 17,
- "position": "C",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 90,
- "fields": {
- "player": 5,
- "event": 17,
- "position": "LF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 91,
- "fields": {
- "player": 3,
- "event": 17,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 92,
- "fields": {
- "player": 11,
- "event": 17,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 93,
- "fields": {
- "player": 4,
- "event": 17,
- "position": "RF",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 94,
- "fields": {
- "player": 24,
- "event": 18,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 95,
- "fields": {
- "player": 15,
- "event": 18,
- "position": "3B",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 96,
- "fields": {
- "player": 2,
- "event": 18,
- "position": "RF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 97,
- "fields": {
- "player": 19,
- "event": 18,
- "position": "SS",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 98,
- "fields": {
- "player": 10,
- "event": 18,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 99,
- "fields": {
- "player": 18,
- "event": 18,
- "position": "2B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 100,
- "fields": {
- "player": 20,
- "event": 18,
- "position": "CF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 101,
- "fields": {
- "player": 6,
- "event": 18,
- "position": "LF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 102,
- "fields": {
- "player": 1,
- "event": 18,
- "position": "C",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 103,
- "fields": {
- "player": 5,
- "event": 18,
- "position": "EH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 104,
- "fields": {
- "player": 7,
- "event": 18,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 105,
- "fields": {
- "player": 14,
- "event": 18,
- "position": "DH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 106,
- "fields": {
- "player": 7,
- "event": 19,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 107,
- "fields": {
- "player": 13,
- "event": 19,
- "position": "LF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 108,
- "fields": {
- "player": 2,
- "event": 19,
- "position": "C",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 109,
- "fields": {
- "player": 6,
- "event": 19,
- "position": "DH",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 110,
- "fields": {
- "player": 10,
- "event": 19,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 111,
- "fields": {
- "player": 5,
- "event": 19,
- "position": "CF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 112,
- "fields": {
- "player": 18,
- "event": 19,
- "position": "3B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 113,
- "fields": {
- "player": 22,
- "event": 19,
- "position": "SS",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 114,
- "fields": {
- "player": 15,
- "event": 19,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 115,
- "fields": {
- "player": 9,
- "event": 19,
- "position": "EH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 116,
- "fields": {
- "player": 17,
- "event": 19,
- "position": "RF",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 117,
- "fields": {
- "player": 23,
- "event": 19,
- "position": "2B",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 118,
- "fields": {
- "player": 2,
- "event": 20,
- "position": "P",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 119,
- "fields": {
- "player": 19,
- "event": 20,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 120,
- "fields": {
- "player": 22,
- "event": 20,
- "position": "3B",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 121,
- "fields": {
- "player": 5,
- "event": 20,
- "position": "RF",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 122,
- "fields": {
- "player": 18,
- "event": 20,
- "position": "EH",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 123,
- "fields": {
- "player": 1,
- "event": 20,
- "position": "C",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 124,
- "fields": {
- "player": 6,
- "event": 20,
- "position": "CF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 125,
- "fields": {
- "player": 8,
- "event": 20,
- "position": "1B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 126,
- "fields": {
- "player": 9,
- "event": 20,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 127,
- "fields": {
- "player": 4,
- "event": 20,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 128,
- "fields": {
- "player": 24,
- "event": 20,
- "position": "LF",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 129,
- "fields": {
- "player": 11,
- "event": 21,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 130,
- "fields": {
- "player": 2,
- "event": 21,
- "position": "EH",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 131,
- "fields": {
- "player": 22,
- "event": 21,
- "position": "DH",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 132,
- "fields": {
- "player": 18,
- "event": 21,
- "position": "SS",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 133,
- "fields": {
- "player": 15,
- "event": 21,
- "position": "3B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 134,
- "fields": {
- "player": 10,
- "event": 21,
- "position": "1B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 135,
- "fields": {
- "player": 5,
- "event": 21,
- "position": "LF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 136,
- "fields": {
- "player": 9,
- "event": 21,
- "position": "2B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 137,
- "fields": {
- "player": 6,
- "event": 21,
- "position": "CF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 138,
- "fields": {
- "player": 1,
- "event": 21,
- "position": "C",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 139,
- "fields": {
- "player": 4,
- "event": 21,
- "position": "RF",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 140,
- "fields": {
- "player": 15,
- "event": 23,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 141,
- "fields": {
- "player": 10,
- "event": 23,
- "position": "1B",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 142,
- "fields": {
- "player": 22,
- "event": 23,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 143,
- "fields": {
- "player": 18,
- "event": 23,
- "position": "LF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 144,
- "fields": {
- "player": 16,
- "event": 23,
- "position": "CF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 145,
- "fields": {
- "player": 5,
- "event": 23,
- "position": "RF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 146,
- "fields": {
- "player": 1,
- "event": 23,
- "position": "C",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 147,
- "fields": {
- "player": 9,
- "event": 23,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 148,
- "fields": {
- "player": 8,
- "event": 23,
- "position": "DH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 149,
- "fields": {
- "player": 14,
- "event": 23,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 150,
- "fields": {
- "player": 4,
- "event": 23,
- "position": "EH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 151,
- "fields": {
- "player": 11,
- "event": 24,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 152,
- "fields": {
- "player": 18,
- "event": 24,
- "position": "EH",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 153,
- "fields": {
- "player": 15,
- "event": 24,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 154,
- "fields": {
- "player": 22,
- "event": 24,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 155,
- "fields": {
- "player": 6,
- "event": 24,
- "position": "LF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 156,
- "fields": {
- "player": 1,
- "event": 24,
- "position": "C",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 157,
- "fields": {
- "player": 5,
- "event": 24,
- "position": "2B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 158,
- "fields": {
- "player": 14,
- "event": 24,
- "position": "1B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 159,
- "fields": {
- "player": 4,
- "event": 24,
- "position": "RF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 160,
- "fields": {
- "player": 20,
- "event": 24,
- "position": "CF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 161,
- "fields": {
- "player": 23,
- "event": 24,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 162,
- "fields": {
- "player": 2,
- "event": 25,
- "position": "P",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 163,
- "fields": {
- "player": 16,
- "event": 25,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 164,
- "fields": {
- "player": 22,
- "event": 25,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 165,
- "fields": {
- "player": 15,
- "event": 25,
- "position": "C",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 166,
- "fields": {
- "player": 13,
- "event": 25,
- "position": "2B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 167,
- "fields": {
- "player": 18,
- "event": 25,
- "position": "SS",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 168,
- "fields": {
- "player": 10,
- "event": 25,
- "position": "1B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 169,
- "fields": {
- "player": 5,
- "event": 25,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 170,
- "fields": {
- "player": 17,
- "event": 25,
- "position": "LF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 171,
- "fields": {
- "player": 4,
- "event": 25,
- "position": "RF",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 172,
- "fields": {
- "player": 12,
- "event": 25,
- "position": "EH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 173,
- "fields": {
- "player": 24,
- "event": 27,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 174,
- "fields": {
- "player": 18,
- "event": 27,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 175,
- "fields": {
- "player": 15,
- "event": 27,
- "position": "C",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 176,
- "fields": {
- "player": 2,
- "event": 27,
- "position": "EH",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 177,
- "fields": {
- "player": 16,
- "event": 27,
- "position": "CF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 178,
- "fields": {
- "player": 5,
- "event": 27,
- "position": "3B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 179,
- "fields": {
- "player": 8,
- "event": 27,
- "position": "1B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 180,
- "fields": {
- "player": 17,
- "event": 27,
- "position": "LF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 181,
- "fields": {
- "player": 4,
- "event": 27,
- "position": "RF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 182,
- "fields": {
- "player": 23,
- "event": 27,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 183,
- "fields": {
- "player": 25,
- "event": 27,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 184,
- "fields": {
- "player": 18,
- "event": 28,
- "position": "LF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 185,
- "fields": {
- "player": 15,
- "event": 28,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 186,
- "fields": {
- "player": 2,
- "event": 28,
- "position": "P",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 187,
- "fields": {
- "player": 5,
- "event": 28,
- "position": "C",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 188,
- "fields": {
- "player": 8,
- "event": 28,
- "position": "3B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 189,
- "fields": {
- "player": 17,
- "event": 28,
- "position": "CF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 190,
- "fields": {
- "player": 4,
- "event": 28,
- "position": "RF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 191,
- "fields": {
- "player": 25,
- "event": 28,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 192,
- "fields": {
- "player": 23,
- "event": 28,
- "position": "EH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 193,
- "fields": {
- "player": 24,
- "event": 28,
- "position": "1B",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 194,
- "fields": {
- "player": 25,
- "event": 32,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 195,
- "fields": {
- "player": 15,
- "event": 32,
- "position": "C",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 196,
- "fields": {
- "player": 16,
- "event": 32,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 197,
- "fields": {
- "player": 22,
- "event": 32,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 198,
- "fields": {
- "player": 19,
- "event": 32,
- "position": "SS",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 199,
- "fields": {
- "player": 18,
- "event": 32,
- "position": "LF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 200,
- "fields": {
- "player": 13,
- "event": 32,
- "position": "RF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 201,
- "fields": {
- "player": 5,
- "event": 32,
- "position": "2B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 202,
- "fields": {
- "player": 17,
- "event": 32,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 203,
- "fields": {
- "player": 8,
- "event": 32,
- "position": "1B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 204,
- "fields": {
- "player": 2,
- "event": 32,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 205,
- "fields": {
- "player": 4,
- "event": 32,
- "position": "DH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 206,
- "fields": {
- "player": 19,
- "event": 33,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 207,
- "fields": {
- "player": 16,
- "event": 33,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 208,
- "fields": {
- "player": 22,
- "event": 33,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 209,
- "fields": {
- "player": 2,
- "event": 33,
- "position": "RF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 210,
- "fields": {
- "player": 18,
- "event": 33,
- "position": "C",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 211,
- "fields": {
- "player": 10,
- "event": 33,
- "position": "EH",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 212,
- "fields": {
- "player": 20,
- "event": 33,
- "position": "2B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 213,
- "fields": {
- "player": 17,
- "event": 33,
- "position": "LF",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 214,
- "fields": {
- "player": 7,
- "event": 33,
- "position": "P",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 215,
- "fields": {
- "player": 12,
- "event": 33,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 216,
- "fields": {
- "player": 4,
- "event": 33,
- "position": "EH",
- "order": 11
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 217,
- "fields": {
- "player": 19,
- "event": 34,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 218,
- "fields": {
- "player": 2,
- "event": 34,
- "position": "P",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 219,
- "fields": {
- "player": 22,
- "event": 34,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 220,
- "fields": {
- "player": 18,
- "event": 34,
- "position": "LF",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 221,
- "fields": {
- "player": 20,
- "event": 34,
- "position": "CF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 222,
- "fields": {
- "player": 5,
- "event": 34,
- "position": "C",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 223,
- "fields": {
- "player": 24,
- "event": 34,
- "position": "1B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 224,
- "fields": {
- "player": 9,
- "event": 34,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 225,
- "fields": {
- "player": 4,
- "event": 34,
- "position": "RF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 226,
- "fields": {
- "player": 25,
- "event": 35,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 227,
- "fields": {
- "player": 19,
- "event": 35,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 228,
- "fields": {
- "player": 13,
- "event": 35,
- "position": "3B",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 229,
- "fields": {
- "player": 22,
- "event": 35,
- "position": "C",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 230,
- "fields": {
- "player": 15,
- "event": 35,
- "position": "2B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 231,
- "fields": {
- "player": 10,
- "event": 35,
- "position": "1B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 232,
- "fields": {
- "player": 18,
- "event": 35,
- "position": "RF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 233,
- "fields": {
- "player": 20,
- "event": 35,
- "position": "CF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 234,
- "fields": {
- "player": 5,
- "event": 35,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 235,
- "fields": {
- "player": 7,
- "event": 35,
- "position": "LF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 236,
- "fields": {
- "player": 4,
- "event": 35,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 237,
- "fields": {
- "player": 7,
- "event": 37,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 238,
- "fields": {
- "player": 13,
- "event": 37,
- "position": "3B",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 239,
- "fields": {
- "player": 16,
- "event": 37,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 240,
- "fields": {
- "player": 15,
- "event": 37,
- "position": "C",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 241,
- "fields": {
- "player": 10,
- "event": 37,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 242,
- "fields": {
- "player": 18,
- "event": 37,
- "position": "SS",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 243,
- "fields": {
- "player": 20,
- "event": 37,
- "position": "LF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 244,
- "fields": {
- "player": 5,
- "event": 37,
- "position": "2B",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 245,
- "fields": {
- "player": 8,
- "event": 37,
- "position": "DH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 246,
- "fields": {
- "player": 4,
- "event": 37,
- "position": "RF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 247,
- "fields": {
- "player": 18,
- "event": 36,
- "position": "SS",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 248,
- "fields": {
- "player": 5,
- "event": 36,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 249,
- "fields": {
- "player": 15,
- "event": 36,
- "position": "LF",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 250,
- "fields": {
- "player": 10,
- "event": 36,
- "position": "P",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 251,
- "fields": {
- "player": 8,
- "event": 36,
- "position": "3B",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 252,
- "fields": {
- "player": 14,
- "event": 36,
- "position": "C",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 253,
- "fields": {
- "player": 4,
- "event": 36,
- "position": "RF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 254,
- "fields": {
- "player": 24,
- "event": 36,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 255,
- "fields": {
- "player": 7,
- "event": 38,
- "position": "LF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 256,
- "fields": {
- "player": 15,
- "event": 38,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 257,
- "fields": {
- "player": 22,
- "event": 38,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 258,
- "fields": {
- "player": 10,
- "event": 38,
- "position": "2B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 259,
- "fields": {
- "player": 18,
- "event": 38,
- "position": "RF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 260,
- "fields": {
- "player": 17,
- "event": 38,
- "position": "CF",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 261,
- "fields": {
- "player": 5,
- "event": 38,
- "position": "C",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 262,
- "fields": {
- "player": 8,
- "event": 38,
- "position": "1B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 263,
- "fields": {
- "player": 6,
- "event": 38,
- "position": "P",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 264,
- "fields": {
- "player": 4,
- "event": 38,
- "position": "EH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 265,
- "fields": {
- "player": 15,
- "event": 39,
- "position": "C",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 266,
- "fields": {
- "player": 17,
- "event": 39,
- "position": "CF",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 267,
- "fields": {
- "player": 22,
- "event": 39,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 268,
- "fields": {
- "player": 18,
- "event": 39,
- "position": "SS",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 269,
- "fields": {
- "player": 9,
- "event": 39,
- "position": "P",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 270,
- "fields": {
- "player": 14,
- "event": 39,
- "position": "1B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 271,
- "fields": {
- "player": 4,
- "event": 39,
- "position": "LF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 272,
- "fields": {
- "player": 23,
- "event": 39,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 273,
- "fields": {
- "player": 1,
- "event": 39,
- "position": "RF",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 274,
- "fields": {
- "player": 24,
- "event": 40,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 275,
- "fields": {
- "player": 16,
- "event": 40,
- "position": "CF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 276,
- "fields": {
- "player": 15,
- "event": 40,
- "position": "SS",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 277,
- "fields": {
- "player": 22,
- "event": 40,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 278,
- "fields": {
- "player": 18,
- "event": 40,
- "position": "1B",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 279,
- "fields": {
- "player": 20,
- "event": 40,
- "position": "LF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 280,
- "fields": {
- "player": 5,
- "event": 40,
- "position": "C",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 281,
- "fields": {
- "player": 4,
- "event": 40,
- "position": "RF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 282,
- "fields": {
- "player": 23,
- "event": 40,
- "position": "2B",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 283,
- "fields": {
- "player": 1,
- "event": 40,
- "position": "DH",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 284,
- "fields": {
- "player": 7,
- "event": 41,
- "position": "P",
- "order": 0
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 285,
- "fields": {
- "player": 20,
- "event": 41,
- "position": "CF",
- "order": 1
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 286,
- "fields": {
- "player": 15,
- "event": 41,
- "position": "C",
- "order": 2
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 287,
- "fields": {
- "player": 22,
- "event": 41,
- "position": "3B",
- "order": 3
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 288,
- "fields": {
- "player": 19,
- "event": 41,
- "position": "SS",
- "order": 4
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 289,
- "fields": {
- "player": 2,
- "event": 41,
- "position": "LF",
- "order": 5
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 290,
- "fields": {
- "player": 10,
- "event": 41,
- "position": "1B",
- "order": 6
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 291,
- "fields": {
- "player": 18,
- "event": 41,
- "position": "RF",
- "order": 7
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 292,
- "fields": {
- "player": 5,
- "event": 41,
- "position": "EH",
- "order": 8
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 293,
- "fields": {
- "player": 9,
- "event": 41,
- "position": "2B",
- "order": 9
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 294,
- "fields": {
- "player": 1,
- "event": 41,
- "position": "DH",
- "order": 10
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 295,
- "fields": {
- "player": 3,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 296,
- "fields": {
- "player": 6,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 297,
- "fields": {
- "player": 7,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 298,
- "fields": {
- "player": 9,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 299,
- "fields": {
- "player": 12,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 300,
- "fields": {
- "player": 13,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 301,
- "fields": {
- "player": 16,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 302,
- "fields": {
- "player": 17,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 303,
- "fields": {
- "player": 20,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 304,
- "fields": {
- "player": 21,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 305,
- "fields": {
- "player": 23,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 306,
- "fields": {
- "player": 24,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 307,
- "fields": {
- "player": 25,
- "event": 10,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 308,
- "fields": {
- "player": 1,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 309,
- "fields": {
- "player": 3,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 310,
- "fields": {
- "player": 4,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 311,
- "fields": {
- "player": 8,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 312,
- "fields": {
- "player": 11,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 313,
- "fields": {
- "player": 12,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 314,
- "fields": {
- "player": 14,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 315,
- "fields": {
- "player": 16,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 316,
- "fields": {
- "player": 19,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 317,
- "fields": {
- "player": 20,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 318,
- "fields": {
- "player": 21,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 319,
- "fields": {
- "player": 24,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 320,
- "fields": {
- "player": 25,
- "event": 19,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 321,
- "fields": {
- "player": 3,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 322,
- "fields": {
- "player": 4,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 323,
- "fields": {
- "player": 6,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 324,
- "fields": {
- "player": 7,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 325,
- "fields": {
- "player": 8,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 326,
- "fields": {
- "player": 9,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 327,
- "fields": {
- "player": 12,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 328,
- "fields": {
- "player": 13,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 329,
- "fields": {
- "player": 14,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 330,
- "fields": {
- "player": 16,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 331,
- "fields": {
- "player": 17,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 332,
- "fields": {
- "player": 21,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 333,
- "fields": {
- "player": 23,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 334,
- "fields": {
- "player": 24,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.positioning",
- "pk": 335,
- "fields": {
- "player": 25,
- "event": 9,
- "position": null,
- "order": null
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Winnemac Park"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Southwest Park"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Taft HS"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Maywood Park"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Altgeld"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Maine South"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Walther Christian Academy"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Grosche"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Clemente"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Northeastern University"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Proviso East"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Columbus Park"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Ridgewood HS"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Mount Carmel HS"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Kroc Center"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Simeon"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Proviso West HS"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Jane Addams Park"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Ozinga"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "Lemont High School"
- }
- },
- {
- "model": "benchcoach.venue",
- "pk": null,
- "fields": {
- "name": "K's Dugout"
- }
- }
-]
\ No newline at end of file
diff --git a/benchcoach/forms.py b/benchcoach/forms.py
deleted file mode 100644
index 6b3be57..0000000
--- a/benchcoach/forms.py
+++ /dev/null
@@ -1,60 +0,0 @@
-from django import forms
-from .models import Event, Positioning, Team, Venue, Player
-from teamsnap.models import Event as TeamsnapEvent
-from django.forms import modelformset_factory
-
-class EventForm(forms.ModelForm):
- class Meta:
- model = Event
- fields = ['start', 'home_team', 'away_team', 'venue']
-class PositioningForm(forms.ModelForm):
- availability = None
- class Meta:
- model = Positioning
- widgets = {
- 'position': forms.Select(attrs={'class': 'form-control form-control-sm', 'onchange':'positionSelectChanged(this)'})
- }
- exclude = ()
-
-PositioningFormSet = modelformset_factory(
- model=Positioning,
- form=PositioningForm,
- # fields=['order', 'position','player'],
- # min_num=9,
- extra=0
-)
-
-class TeamsnapEventForm(forms.ModelForm):
- def __init__(self, *args, **kwargs):
- super(TeamsnapEventForm, self).__init__(*args, **kwargs)
- if self.instance and self.instance.teamsnap_event.first():
- initial = (self.instance.teamsnap_event.first().id, self.instance.teamsnap_event.first())
- else:
- initial = None
- self.fields = {}
- choices = [("","-----")]
- choices += [(choice.id, choice) for choice in TeamsnapEvent.objects.all()]
- self.fields['teamsnap event'] = forms.MultipleChoiceField(
- widget=forms.Select(attrs={'class': 'form-control'}),
- choices=choices,
- initial=initial
- )
-
- class Meta:
- model = Event
- fields = ['start', 'home_team', 'away_team', 'venue']
-
-class PlayerForm(forms.ModelForm):
- class Meta:
- model = Player
- fields = ['first_name', 'last_name', 'jersey_number', 'team']
-
-class TeamForm(forms.ModelForm):
- class Meta:
- model = Team
- fields = ['name']
-
-class VenueForm(forms.ModelForm):
- class Meta:
- model = Venue
- fields = ['name']
\ No newline at end of file
diff --git a/benchcoach/migrations/0001_initial.py b/benchcoach/migrations/0001_initial.py
deleted file mode 100644
index b3d50f7..0000000
--- a/benchcoach/migrations/0001_initial.py
+++ /dev/null
@@ -1,102 +0,0 @@
-# Generated by Django 3.2.6 on 2021-12-17 21:33
-
-import django.core.validators
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='Player',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('first_name', models.CharField(max_length=200)),
- ('last_name', models.CharField(max_length=200)),
- ('jersey_number', models.IntegerField()),
- ],
- ),
- migrations.CreateModel(
- name='Season',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=50)),
- ],
- ),
- migrations.CreateModel(
- name='Team',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=50)),
- ('image', models.FileField(null=True, upload_to='images/', validators=[django.core.validators.FileExtensionValidator(['jpg', 'png', 'svg'])])),
- ],
- ),
- migrations.CreateModel(
- name='Venue',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=50)),
- ],
- ),
- migrations.CreateModel(
- name='StatLine',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('batting_avg', models.DecimalField(decimal_places=3, default=0, max_digits=4)),
- ('onbase_pct', models.DecimalField(decimal_places=3, default=0, max_digits=4)),
- ('slugging_pct', models.DecimalField(decimal_places=3, default=0, max_digits=4)),
- ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='benchcoach.player')),
- ],
- ),
- migrations.AddField(
- model_name='player',
- name='team',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='benchcoach.team'),
- ),
- migrations.CreateModel(
- name='Event',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('start', models.DateTimeField(null=True)),
- ('away_team', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='away_team', to='benchcoach.team')),
- ('home_team', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='home_team', to='benchcoach.team')),
- ('venue', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='benchcoach.venue')),
- ],
- ),
- migrations.CreateModel(
- name='Positioning',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('position', models.CharField(blank=True, choices=[('EH', 'EH'), ('P', 'P'), ('C', 'C'), ('1B', '1B'), ('2B', '2B'), ('3B', '3B'), ('SS', 'SS'), ('LF', 'LF'), ('CF', 'CF'), ('RF', 'RF'), ('DH', 'DH')], default=None, max_length=2, null=True)),
- ('order', models.PositiveSmallIntegerField(blank=True, default=None, null=True)),
- ('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='benchcoach.event')),
- ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='benchcoach.player')),
- ],
- options={
- 'unique_together': {('player', 'event')},
- },
- ),
- migrations.AlterUniqueTogether(
- name='player',
- unique_together={('first_name', 'last_name')},
- ),
- migrations.CreateModel(
- name='Availability',
- fields=[
- ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('available', models.IntegerField(choices=[(2, 'Yes'), (0, 'No'), (1, 'Maybe'), (-1, 'Unknown')], default=-1)),
- ('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='benchcoach.event')),
- ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='benchcoach.player')),
- ],
- options={
- 'verbose_name_plural': 'availabilities',
- 'unique_together': {('event', 'player')},
- },
- ),
- ]
diff --git a/benchcoach/migrations/0002_alter_player_jersey_number.py b/benchcoach/migrations/0002_alter_player_jersey_number.py
deleted file mode 100644
index 2b53cd5..0000000
--- a/benchcoach/migrations/0002_alter_player_jersey_number.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Generated by Django 3.2.6 on 2021-12-19 01:22
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('benchcoach', '0001_initial'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='player',
- name='jersey_number',
- field=models.IntegerField(null=True),
- ),
- ]
diff --git a/benchcoach/models.py b/benchcoach/models.py
deleted file mode 100644
index d8b9187..0000000
--- a/benchcoach/models.py
+++ /dev/null
@@ -1,133 +0,0 @@
-from django.db import models
-from django.core.validators import FileExtensionValidator
-
-class BenchcoachModel(models.Model):
- pass
-
- class Meta:
- abstract = True
-
-class Team(BenchcoachModel):
- name = models.CharField(max_length=50)
- image = models.FileField(
- upload_to="images/",
- validators=[FileExtensionValidator(["jpg", "png", "svg"])],
- null=True,
- )
-
- def __str__(self):
- return f"{self.name}"
-
-
-class Venue(BenchcoachModel):
- name = models.CharField(max_length=50)
-
- def __str__(self):
- return f"{self.name}"
-
-
-class Event(BenchcoachModel):
- start = models.DateTimeField(null=True)
- venue = models.ForeignKey(Venue, null=True, on_delete=models.CASCADE)
- home_team = models.ForeignKey(
- Team, null=True, on_delete=models.CASCADE, related_name="home_team"
- )
- away_team = models.ForeignKey(
- Team, null=True, on_delete=models.CASCADE, related_name="away_team"
- )
-
- def __str__(self):
- return f"{self.start:%Y-%m-%d %H:%M}"
-
-
-class Season(BenchcoachModel):
- name = models.CharField(max_length=50)
-
-
-class Player(BenchcoachModel):
- first_name = models.CharField(max_length=200)
- last_name = models.CharField(max_length=200)
- jersey_number = models.IntegerField(null=True)
- team = models.ForeignKey(Team, null=True, on_delete=models.CASCADE)
-
- def __str__(self):
- return f"{self.last_name}, {self.first_name}"
-
- class Meta:
- unique_together = (
- "first_name",
- "last_name",
- )
-
-
-class StatLine(BenchcoachModel):
- player = models.ForeignKey(Player, on_delete=models.CASCADE)
- batting_avg = models.DecimalField(max_digits=4, decimal_places=3, default=0)
- onbase_pct = models.DecimalField(max_digits=4, decimal_places=3, default=0)
- slugging_pct = models.DecimalField(max_digits=4, decimal_places=3, default=0)
-
- def __str__(self):
- return f"{self.slash_line}"
-
- @property
- def slash_line(self):
- return "/".join(
- [
- f"{self.batting_avg:.3f}".lstrip("0"),
- f"{self.onbase_pct:.3f}".lstrip("0"),
- f"{self.slugging_pct:.3f}".replace("0.", "."),
- ]
- )
-
-
-class Positioning(BenchcoachModel):
- player = models.ForeignKey(Player, on_delete=models.CASCADE)
- event = models.ForeignKey(Event, on_delete=models.CASCADE)
- positions = [
- ("EH", "EH"),
- ("P", "P"),
- ("C", "C"),
- ("1B", "1B"),
- ("2B", "2B"),
- ("3B", "3B"),
- ("SS", "SS"),
- ("LF", "LF"),
- ("CF", "CF"),
- ("RF", "RF"),
- ("DH", "DH"),
- ]
- position = models.CharField(
- choices=positions, default=None, max_length=2, null=True, blank=True
- )
- order = models.PositiveSmallIntegerField(default=None, null=True, blank=True)
-
- class Meta:
- unique_together = (
- "player",
- "event",
- )
-
- def __str__(self):
- return f"{self.player}; {self.event};"
-
-
-class Availability(BenchcoachModel):
- YES = 2
- MAYBE = 1
- NO = 0
- UNKNOWN = -1
-
- event = models.ForeignKey(Event, on_delete=models.CASCADE)
- player = models.ForeignKey(Player, on_delete=models.CASCADE)
- choices = [(YES, "Yes"), (NO, "No"), (MAYBE, "Maybe"), (UNKNOWN, "Unknown")]
- available = models.IntegerField(choices=choices, default=UNKNOWN)
-
- def __str__(self):
- return f"{self.event}; {self.player}; {self.available}"
-
- class Meta:
- unique_together = (
- "event",
- "player",
- )
- verbose_name_plural = "availabilities"
diff --git a/benchcoachproject/static/css/bootstrap-grid.css b/benchcoach/static/css/bootstrap-grid.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-grid.css
rename to benchcoach/static/css/bootstrap-grid.css
index 228f23b..68889ca 100644
--- a/benchcoachproject/static/css/bootstrap-grid.css
+++ b/benchcoach/static/css/bootstrap-grid.css
@@ -5048,4 +5048,4 @@
}
}
-/*# sourceMappingURL=bootstrap-grid.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-grid.css.map */
diff --git a/benchcoachproject/static/css/bootstrap-grid.rtl.css b/benchcoach/static/css/bootstrap-grid.rtl.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-grid.rtl.css
rename to benchcoach/static/css/bootstrap-grid.rtl.css
index b5b17d7..3270be3 100644
--- a/benchcoachproject/static/css/bootstrap-grid.rtl.css
+++ b/benchcoach/static/css/bootstrap-grid.rtl.css
@@ -5047,4 +5047,4 @@
display: none !important;
}
}
-/*# sourceMappingURL=bootstrap-grid.rtl.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-grid.rtl.css.map */
diff --git a/benchcoachproject/static/css/bootstrap-reboot.css b/benchcoach/static/css/bootstrap-reboot.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-reboot.css
rename to benchcoach/static/css/bootstrap-reboot.css
index 1207a17..8a5572a 100644
--- a/benchcoachproject/static/css/bootstrap-reboot.css
+++ b/benchcoach/static/css/bootstrap-reboot.css
@@ -482,4 +482,4 @@ progress {
display: none !important;
}
-/*# sourceMappingURL=bootstrap-reboot.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-reboot.css.map */
diff --git a/benchcoachproject/static/css/bootstrap-reboot.rtl.css b/benchcoach/static/css/bootstrap-reboot.rtl.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-reboot.rtl.css
rename to benchcoach/static/css/bootstrap-reboot.rtl.css
index 38beb81..b2ea52c 100644
--- a/benchcoachproject/static/css/bootstrap-reboot.rtl.css
+++ b/benchcoach/static/css/bootstrap-reboot.rtl.css
@@ -479,4 +479,4 @@ progress {
[hidden] {
display: none !important;
}
-/*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
diff --git a/benchcoachproject/static/css/bootstrap-utilities.css b/benchcoach/static/css/bootstrap-utilities.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-utilities.css
rename to benchcoach/static/css/bootstrap-utilities.css
index c509cf5..201c77a 100644
--- a/benchcoachproject/static/css/bootstrap-utilities.css
+++ b/benchcoach/static/css/bootstrap-utilities.css
@@ -4863,4 +4863,4 @@
}
}
-/*# sourceMappingURL=bootstrap-utilities.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-utilities.css.map */
diff --git a/benchcoachproject/static/css/bootstrap-utilities.rtl.css b/benchcoach/static/css/bootstrap-utilities.rtl.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap-utilities.rtl.css
rename to benchcoach/static/css/bootstrap-utilities.rtl.css
index 125f8f1..82eef2e 100644
--- a/benchcoachproject/static/css/bootstrap-utilities.rtl.css
+++ b/benchcoach/static/css/bootstrap-utilities.rtl.css
@@ -4854,4 +4854,4 @@
display: none !important;
}
}
-/*# sourceMappingURL=bootstrap-utilities.rtl.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap-utilities.rtl.css.map */
diff --git a/benchcoachproject/static/css/bootstrap.css b/benchcoach/static/css/bootstrap.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap.css
rename to benchcoach/static/css/bootstrap.css
index f16c5be..b9f540e 100644
--- a/benchcoachproject/static/css/bootstrap.css
+++ b/benchcoach/static/css/bootstrap.css
@@ -11263,4 +11263,4 @@ textarea.form-control-lg {
}
}
-/*# sourceMappingURL=bootstrap.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap.css.map */
diff --git a/benchcoachproject/static/css/bootstrap.rtl.css b/benchcoach/static/css/bootstrap.rtl.css
similarity index 99%
rename from benchcoachproject/static/css/bootstrap.rtl.css
rename to benchcoach/static/css/bootstrap.rtl.css
index a18da6a..8cd0370 100644
--- a/benchcoachproject/static/css/bootstrap.rtl.css
+++ b/benchcoach/static/css/bootstrap.rtl.css
@@ -11239,4 +11239,4 @@ textarea.form-control-lg {
display: none !important;
}
}
-/*# sourceMappingURL=bootstrap.rtl.css.map */
\ No newline at end of file
+/*# sourceMappingURL=bootstrap.rtl.css.map */
diff --git a/benchcoachproject/static/css/paper.css b/benchcoach/static/css/paper.css
similarity index 100%
rename from benchcoachproject/static/css/paper.css
rename to benchcoach/static/css/paper.css
diff --git a/benchcoach/static/css/project.css b/benchcoach/static/css/project.css
new file mode 100644
index 0000000..e743aa8
--- /dev/null
+++ b/benchcoach/static/css/project.css
@@ -0,0 +1,22 @@
+/* These styles are generated from project.scss. */
+
+.alert-debug {
+ color: black;
+ background-color: white;
+ border-color: #d6e9c6;
+}
+
+.alert-error {
+ color: #b94a48;
+ background-color: #f2dede;
+ border-color: #eed3d7;
+}
+
+.navbar-brand {
+ text-transform: uppercase;
+ font-weight: bolder;
+}
+
+.bg-navbar {
+ background: #212529;
+}
diff --git a/benchcoach/migrations/__init__.py b/benchcoach/static/fonts/.gitkeep
similarity index 100%
rename from benchcoach/migrations/__init__.py
rename to benchcoach/static/fonts/.gitkeep
diff --git a/benchcoachproject/static/benchcoach.svg b/benchcoach/static/images/benchcoach.svg
similarity index 100%
rename from benchcoachproject/static/benchcoach.svg
rename to benchcoach/static/images/benchcoach.svg
diff --git a/benchcoachproject/static/favicon.ico b/benchcoach/static/images/favicons/favicon.ico
similarity index 100%
rename from benchcoachproject/static/favicon.ico
rename to benchcoach/static/images/favicons/favicon.ico
diff --git a/benchcoach/static/images/teamsnap.svg b/benchcoach/static/images/teamsnap.svg
new file mode 100644
index 0000000..1565893
--- /dev/null
+++ b/benchcoach/static/images/teamsnap.svg
@@ -0,0 +1 @@
+TeamSnap Logo
diff --git a/benchcoachproject/static/js/Sortable.js b/benchcoach/static/js/Sortable.js
similarity index 99%
rename from benchcoachproject/static/js/Sortable.js
rename to benchcoach/static/js/Sortable.js
index 2178cd1..db509f8 100644
--- a/benchcoachproject/static/js/Sortable.js
+++ b/benchcoach/static/js/Sortable.js
@@ -3780,4 +3780,4 @@
return Sortable;
-})));
\ No newline at end of file
+})));
diff --git a/benchcoachproject/static/js/bootstrap.bundle.js b/benchcoach/static/js/bootstrap.bundle.js
similarity index 100%
rename from benchcoachproject/static/js/bootstrap.bundle.js
rename to benchcoach/static/js/bootstrap.bundle.js
diff --git a/benchcoachproject/static/js/bootstrap.esm.js b/benchcoach/static/js/bootstrap.esm.js
similarity index 100%
rename from benchcoachproject/static/js/bootstrap.esm.js
rename to benchcoach/static/js/bootstrap.esm.js
diff --git a/benchcoachproject/static/js/bootstrap.js b/benchcoach/static/js/bootstrap.js
similarity index 100%
rename from benchcoachproject/static/js/bootstrap.js
rename to benchcoach/static/js/bootstrap.js
diff --git a/benchcoachproject/static/teamsnap/js/chart.esm.js b/benchcoach/static/js/chart.esm.js
similarity index 100%
rename from benchcoachproject/static/teamsnap/js/chart.esm.js
rename to benchcoach/static/js/chart.esm.js
diff --git a/benchcoachproject/static/teamsnap/js/chart.js b/benchcoach/static/js/chart.js
similarity index 100%
rename from benchcoachproject/static/teamsnap/js/chart.js
rename to benchcoach/static/js/chart.js
diff --git a/benchcoachproject/static/teamsnap/js/helpers.esm.js b/benchcoach/static/js/helpers.esm.js
similarity index 100%
rename from benchcoachproject/static/teamsnap/js/helpers.esm.js
rename to benchcoach/static/js/helpers.esm.js
diff --git a/benchcoachproject/static/teamsnap/js/lineup-table.js b/benchcoach/static/js/project.js
similarity index 99%
rename from benchcoachproject/static/teamsnap/js/lineup-table.js
rename to benchcoach/static/js/project.js
index 601b615..78f78c0 100644
--- a/benchcoachproject/static/teamsnap/js/lineup-table.js
+++ b/benchcoach/static/js/project.js
@@ -1,3 +1,4 @@
+/* Project specific Javascript goes here. */
function positionSelectChanged(elem) {
let row = elem.parentElement.parentElement
let original_table = elem.parentElement.parentElement.parentElement
@@ -428,4 +429,4 @@ function copyEmailTable(itemEl, subject, recipients){
window.open("readdle-spark://compose?recipient=manager@chihounds.com&subject="+subject+"&bcc="+recipients)
}
-colorPositions()
\ No newline at end of file
+colorPositions()
diff --git a/benchcoach/templates/403.html b/benchcoach/templates/403.html
new file mode 100644
index 0000000..4356d93
--- /dev/null
+++ b/benchcoach/templates/403.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block title %}Forbidden (403){% endblock %}
+
+{% block content %}
+
Forbidden (403)
+
+{% if exception %}{{ exception }}{% else %}You're not allowed to access this page.{% endif %}
+{% endblock content %}
diff --git a/benchcoach/templates/404.html b/benchcoach/templates/404.html
new file mode 100644
index 0000000..31c0f2b
--- /dev/null
+++ b/benchcoach/templates/404.html
@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block title %}Page not found{% endblock %}
+
+{% block content %}
+Page not found
+
+{% if exception %}{{ exception }}{% else %}This is not the page you were looking for.{% endif %}
+{% endblock content %}
diff --git a/benchcoach/templates/500.html b/benchcoach/templates/500.html
new file mode 100644
index 0000000..46e43a9
--- /dev/null
+++ b/benchcoach/templates/500.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block title %}Server Error{% endblock %}
+
+{% block content %}
+Ooops!!! 500
+
+Looks like something went wrong!
+
+We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.
+{% endblock content %}
diff --git a/benchcoach/templates/account/account_inactive.html b/benchcoach/templates/account/account_inactive.html
new file mode 100644
index 0000000..07175e4
--- /dev/null
+++ b/benchcoach/templates/account/account_inactive.html
@@ -0,0 +1,11 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% translate "Account Inactive" %}{% endblock %}
+
+{% block inner %}
+{% translate "Account Inactive" %}
+
+{% translate "This account is inactive." %}
+{% endblock %}
diff --git a/benchcoach/templates/account/base.html b/benchcoach/templates/account/base.html
new file mode 100644
index 0000000..8e1f260
--- /dev/null
+++ b/benchcoach/templates/account/base.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% block title %}{% block head_title %}{% endblock head_title %}{% endblock title %}
+
+{% block content %}
+
+
+ {% block inner %}{% endblock %}
+
+
+{% endblock %}
diff --git a/benchcoach/templates/account/email.html b/benchcoach/templates/account/email.html
new file mode 100644
index 0000000..f7fa9b2
--- /dev/null
+++ b/benchcoach/templates/account/email.html
@@ -0,0 +1,78 @@
+
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Account" %}{% endblock %}
+
+{% block inner %}
+{% translate "E-mail Addresses" %}
+
+{% if user.emailaddress_set.all %}
+{% translate 'The following e-mail addresses are associated with your account:' %}
+
+
+
+{% else %}
+{% translate 'Warning:'%} {% translate "You currently do not have any e-mail address set up. You should really add an e-mail address so you can receive notifications, reset your password, etc." %}
+
+{% endif %}
+
+
+ {% translate "Add E-mail Address" %}
+
+
+
+{% endblock %}
+
+
+{% block inline_javascript %}
+{{ block.super }}
+
+{% endblock %}
diff --git a/benchcoach/templates/account/email_confirm.html b/benchcoach/templates/account/email_confirm.html
new file mode 100644
index 0000000..525c0f3
--- /dev/null
+++ b/benchcoach/templates/account/email_confirm.html
@@ -0,0 +1,31 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load account %}
+
+{% block head_title %}{% translate "Confirm E-mail Address" %}{% endblock %}
+
+
+{% block inner %}
+{% translate "Confirm E-mail Address" %}
+
+{% if confirmation %}
+
+{% user_display confirmation.email_address.user as user_display %}
+
+{% blocktranslate with confirmation.email_address.email as email %}Please confirm that {{ email }} is an e-mail address for user {{ user_display }}.{% endblocktranslate %}
+
+
+
+{% else %}
+
+{% url 'account_email' as email_url %}
+
+{% blocktranslate %}This e-mail confirmation link expired or is invalid. Please issue a new e-mail confirmation request .{% endblocktranslate %}
+
+{% endif %}
+
+{% endblock %}
diff --git a/benchcoach/templates/account/login.html b/benchcoach/templates/account/login.html
new file mode 100644
index 0000000..f4a8c08
--- /dev/null
+++ b/benchcoach/templates/account/login.html
@@ -0,0 +1,61 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load account socialaccount %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Sign In" %}{% endblock %}
+
+{% block inner %}
+
+{% translate "Sign In" %}
+
+{% get_providers as socialaccount_providers %}
+
+{% if socialaccount_providers %}
+
+ {% translate "Please sign in with one of your existing third party accounts:" %}
+ {% if ACCOUNT_ALLOW_REGISTRATION %}
+ {% blocktranslate trimmed %}
+ Or, sign up
+ for a {{ site_name }} account and sign in below:
+ {% endblocktranslate %}
+ {% endif %}
+
+
+
+
+
+ {% include "socialaccount/snippets/provider_list.html" with process="login" %}
+
+
+ {% if 0 %}
{% translate "or" %}
{% endif %}
+
+
+
+ {% include "socialaccount/snippets/login_extra.html" %}
+
+{% else %}
+ {% if ACCOUNT_ALLOW_REGISTRATION %}
+
+ {% blocktranslate trimmed %}
+ If you have not created an account yet, then please
+ sign up first.
+ {% endblocktranslate %}
+
+ {% endif %}
+{% endif %}
+
+ {% if 0 %}
+
+ {% endif %}
+
+{% endblock %}
diff --git a/benchcoach/templates/account/logout.html b/benchcoach/templates/account/logout.html
new file mode 100644
index 0000000..d41824e
--- /dev/null
+++ b/benchcoach/templates/account/logout.html
@@ -0,0 +1,19 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% translate "Sign Out" %}{% endblock %}
+
+{% block inner %}
+{% translate "Sign Out" %}
+
+{% translate 'Are you sure you want to sign out?' %}
+
+
+{% endblock %}
diff --git a/benchcoach/templates/account/password_change.html b/benchcoach/templates/account/password_change.html
new file mode 100644
index 0000000..5182a7a
--- /dev/null
+++ b/benchcoach/templates/account/password_change.html
@@ -0,0 +1,16 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Change Password" %}{% endblock %}
+
+{% block inner %}
+ {% translate "Change Password" %}
+
+
+{% endblock %}
diff --git a/benchcoach/templates/account/password_reset.html b/benchcoach/templates/account/password_reset.html
new file mode 100644
index 0000000..8a2b7a5
--- /dev/null
+++ b/benchcoach/templates/account/password_reset.html
@@ -0,0 +1,25 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load account %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Password Reset" %}{% endblock %}
+
+{% block inner %}
+
+ {% translate "Password Reset" %}
+ {% if user.is_authenticated %}
+ {% include "account/snippets/already_logged_in.html" %}
+ {% endif %}
+
+ {% translate "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}
+
+
+
+ {% blocktranslate %}Please contact us if you have any trouble resetting your password.{% endblocktranslate %}
+{% endblock %}
diff --git a/benchcoach/templates/account/password_reset_done.html b/benchcoach/templates/account/password_reset_done.html
new file mode 100644
index 0000000..f682ee8
--- /dev/null
+++ b/benchcoach/templates/account/password_reset_done.html
@@ -0,0 +1,16 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load account %}
+
+{% block head_title %}{% translate "Password Reset" %}{% endblock %}
+
+{% block inner %}
+ {% translate "Password Reset" %}
+
+ {% if user.is_authenticated %}
+ {% include "account/snippets/already_logged_in.html" %}
+ {% endif %}
+
+ {% blocktranslate %}We have sent you an e-mail. Please contact us if you do not receive it within a few minutes.{% endblocktranslate %}
+{% endblock %}
diff --git a/benchcoach/templates/account/password_reset_from_key.html b/benchcoach/templates/account/password_reset_from_key.html
new file mode 100644
index 0000000..dd836b4
--- /dev/null
+++ b/benchcoach/templates/account/password_reset_from_key.html
@@ -0,0 +1,24 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load crispy_forms_tags %}
+{% block head_title %}{% translate "Change Password" %}{% endblock %}
+
+{% block inner %}
+ {% if token_fail %}{% translate "Bad Token" %}{% else %}{% translate "Change Password" %}{% endif %}
+
+ {% if token_fail %}
+ {% url 'account_reset_password' as passwd_reset_url %}
+ {% blocktranslate %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset .{% endblocktranslate %}
+ {% else %}
+ {% if form %}
+
+ {% else %}
+ {% translate 'Your password is now changed.' %}
+ {% endif %}
+ {% endif %}
+{% endblock %}
diff --git a/benchcoach/templates/account/password_reset_from_key_done.html b/benchcoach/templates/account/password_reset_from_key_done.html
new file mode 100644
index 0000000..7a58b44
--- /dev/null
+++ b/benchcoach/templates/account/password_reset_from_key_done.html
@@ -0,0 +1,9 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% block head_title %}{% translate "Change Password" %}{% endblock %}
+
+{% block inner %}
+ {% translate "Change Password" %}
+ {% translate 'Your password is now changed.' %}
+{% endblock %}
diff --git a/benchcoach/templates/account/password_set.html b/benchcoach/templates/account/password_set.html
new file mode 100644
index 0000000..a748eb9
--- /dev/null
+++ b/benchcoach/templates/account/password_set.html
@@ -0,0 +1,16 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Set Password" %}{% endblock %}
+
+{% block inner %}
+ {% translate "Set Password" %}
+
+
+{% endblock %}
diff --git a/benchcoach/templates/account/signup.html b/benchcoach/templates/account/signup.html
new file mode 100644
index 0000000..189ab9e
--- /dev/null
+++ b/benchcoach/templates/account/signup.html
@@ -0,0 +1,22 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+{% load crispy_forms_tags %}
+
+{% block head_title %}{% translate "Signup" %}{% endblock %}
+
+{% block inner %}
+{% translate "Sign Up" %}
+
+{% blocktranslate %}Already have an account? Then please sign in .{% endblocktranslate %}
+
+
+
+{% endblock %}
diff --git a/benchcoach/templates/account/signup_closed.html b/benchcoach/templates/account/signup_closed.html
new file mode 100644
index 0000000..fcea1f0
--- /dev/null
+++ b/benchcoach/templates/account/signup_closed.html
@@ -0,0 +1,11 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% translate "Sign Up Closed" %}{% endblock %}
+
+{% block inner %}
+{% translate "Sign Up Closed" %}
+
+{% translate "We are sorry, but the sign up is currently closed." %}
+{% endblock %}
diff --git a/benchcoach/templates/account/verification_sent.html b/benchcoach/templates/account/verification_sent.html
new file mode 100644
index 0000000..acf81be
--- /dev/null
+++ b/benchcoach/templates/account/verification_sent.html
@@ -0,0 +1,12 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% translate "Verify Your E-mail Address" %}{% endblock %}
+
+{% block inner %}
+ {% translate "Verify Your E-mail Address" %}
+
+ {% blocktranslate %}We have sent an e-mail to you for verification. Follow the link provided to finalize the signup process. Please contact us if you do not receive it within a few minutes.{% endblocktranslate %}
+
+{% endblock %}
diff --git a/benchcoach/templates/account/verified_email_required.html b/benchcoach/templates/account/verified_email_required.html
new file mode 100644
index 0000000..beefcea
--- /dev/null
+++ b/benchcoach/templates/account/verified_email_required.html
@@ -0,0 +1,21 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% translate "Verify Your E-mail Address" %}{% endblock %}
+
+{% block inner %}
+{% translate "Verify Your E-mail Address" %}
+
+{% url 'account_email' as email_url %}
+
+{% blocktranslate %}This part of the site requires us to verify that
+you are who you claim to be. For this purpose, we require that you
+verify ownership of your e-mail address. {% endblocktranslate %}
+
+{% blocktranslate %}We have sent an e-mail to you for
+verification. Please click on the link inside this e-mail. Please
+contact us if you do not receive it within a few minutes.{% endblocktranslate %}
+
+{% blocktranslate %}Note: you can still change your e-mail address .{% endblocktranslate %}
+{% endblock %}
diff --git a/benchcoach/templates/base.html b/benchcoach/templates/base.html
new file mode 100644
index 0000000..5fc685e
--- /dev/null
+++ b/benchcoach/templates/base.html
@@ -0,0 +1,131 @@
+{% load static i18n %}
+{% get_current_language as LANGUAGE_CODE %}
+
+
+
+
+ {% block title %}BenchCoach{% endblock title %}
+
+
+
+
+
+
+ {% block css %}
+
+
+
+
+
+
+ {% endblock %}
+
+ {# Placed at the top of the document so pages load faster with defer #}
+ {% block javascript %}
+
+
+
+
+
+
+
+
+
+ {% endblock javascript %}
+
+
+
+
+
+
+
+
+
+ {% if messages %}
+ {% for message in messages %}
+
+ {{ message }}
+
+
+ {% endfor %}
+ {% endif %}
+
+ {% block content %}
+
Use this document as a way to quick start any new project.
+ {% endblock content %}
+
+
+
+ {% block modal %}{% endblock modal %}
+
+ {% block inline_javascript %}
+ {% comment %}
+ Script tags with only code, no src (defer by default). To run
+ with a "defer" so that you run inline code:
+
+ {% endcomment %}
+ {% endblock inline_javascript %}
+
+
diff --git a/benchcoach/templates/benchcoach/card.html b/benchcoach/templates/benchcoach/card.html
deleted file mode 100644
index e135d70..0000000
--- a/benchcoach/templates/benchcoach/card.html
+++ /dev/null
@@ -1,280 +0,0 @@
-{% load static %}
-
-
- Gamecard
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ event.teamsnap_event.csv_event_title }}
-
- {% if event.home_team.name == user.profile.teamsnapsettings.managed_team.name %}
- HOME
- {% elif event.away_team.name == user.profile.teamsnapsettings.managed_team.name %}
- AWAY
- {% else %}
- {% endif %}
-
-
-
-
-
-
-
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- X
-
-
-
- {% for positioning in positionings_starting %}
- {% if positioning.order == 0 %}
- {% else %} {% endif %}
- {{ positioning.order }}
- {{ positioning.player.last_name }}
- {{ positioning.player.jersey_number }}
- {{ positioning.position|default_if_none:'' }}
-
-
-
-
-
-
-
-
-
- {% endfor %}
-
-
-
-
- {% for line in empty_lines %}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% endfor %}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- X
-
-
-
- {% for positioning in positionings %}
-
-
- {{ positioning.player.jersey_number }}
- {{ positioning.player.last_name }}
-
-
-
-
-
-
-
-
-
-
- {% endfor %}
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/benchcoach/templates/benchcoach/detail.html b/benchcoach/templates/benchcoach/detail.html
deleted file mode 100644
index 004e935..0000000
--- a/benchcoach/templates/benchcoach/detail.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{% extends 'base.html' %}
-
-{% block navbar %}
- {% with events_tab="active" %}
- {{ block.super }}
- {% endwith %}
-{% endblock %}
-
-{% block page_heading %}
- Object
-{% endblock %}
-
-{% block content %}
-
-
-
- {% block rows %}
- {% endblock %}
-
-
-
-{% endblock %}
\ No newline at end of file
diff --git a/benchcoach/templates/benchcoach/event-list.html b/benchcoach/templates/benchcoach/event-list.html
deleted file mode 100644
index a5b5195..0000000
--- a/benchcoach/templates/benchcoach/event-list.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends 'base.html' %}
-
-{% block navbar %}
- {% with events_tab="active" %}
- {{ block.super }}
- {% endwith %}
-{% endblock %}
-
-{% block page_heading %}
-Events
-{% endblock %}
-
-{% block content %}
-
- {% for event in events%}
- {% if event.teamsnap_event.is_game %}
-
- {{ event.away_team|default_if_none:"" }} vs. {{ event.home_team|default_if_none:"" }}
- {{ event.start|date:"l, F j, Y g:i A" }}
- {{ event.venue.name }}
- Edit Lineup...
-
- {% endif %}
- {% endfor %}
-
-{% endblock %}
-