Commit 3671af83 authored by Zac Wood's avatar Zac Wood
Browse files

Merge branch '102/mike/filterDefaults' into 'master'

102/mike/filter defaults

See merge request srct/whats-open!51
parents d2a34b57 d890d505
Pipeline #4777 passed with stage
in 1 minute and 4 seconds
......@@ -10,7 +10,7 @@ types:
before_script:
- apt-get update -qy
- apt-get install -y mysql-client default-libmysqlclient-dev python-mysqldb
- apt-get install -y default-mysql-client default-libmysqlclient-dev python-mysqldb
gdal-bin libproj-dev proj-data proj-bin binutils
- cd whats-open/
- pip install pipenv
......
......@@ -34,11 +34,10 @@ Check out some of the other What's Open projects!
What's Open currently supports developers on Linux and macOS systems. Here's our
walk-through of steps we will take:
1. Install `git` on your system.
2. Clone the whats-open codebase.
3. Get whats-open up and running with the method of your choice.
## 1) Install `git` on your system.
<details><summary>
</h2> 1) Install <code>git</code> on your system.</h2>
</summary>
<p>
`git` is the version control system used for SRCT projects.
......@@ -83,8 +82,14 @@ Next, to make sure Homebrew is up to date, run:
Finally we can install git with:
brew install git
</p>
</details>
<details><summary>
</h2> 2) Clone the whats-open codebase </h2>
</summary>
<p>
## 2) Clone the whats-open codebase
Now, we're going to clone down a copy of the whats-open codebase from [git.gmu.edu](http://git.gmu.edu/srct/whats-open),
the SRCT code respository with SSH.
......@@ -97,7 +102,13 @@ the SRCT code respository with SSH.
git clone git@git.gmu.edu:srct/whats-open.git
## 3) Get whats-open up and running
</p>
</details>
<details><summary>
</h2> 3) Get whats-open up and running </h2>
</summary>
<p>
Now that we have `git` setup and cloned down the code you can
......@@ -106,7 +117,10 @@ Now that we have `git` setup and cloned down the code you can
and get to working on setting up a development environment! There are two options
to go about doing this: `Docker` and `Manual Setup`.
### Docker
<details><summary>
</h3> Docker</h3>
</summary>
<p>
We can automate the setup process through [Docker](https://www.docker.com/what-docker)
containers! This allows us to quickly get started and standardize development
......@@ -120,19 +134,9 @@ Installing Docker on your system:
Additionally, you will need to install docker-compose: https://docs.docker.com/compose/install/
Next inside the `whats-open/` root directory run:
docker build . -t 'whats-open-api'
This builds the docker image that we will deploy to the swarm in a stack.
Initialize your swarm:
Inside the `whats-open/` root directory run:
docker swarm init
And finally,
docker stack deploy whats-open-api_stack -c docker-compose.yml
docker-compose up
You should see that the server is running by going to http://localhost:8000
in your browser. Any changes you make to your local file system will be mirrored in the server.
......@@ -144,8 +148,22 @@ user: admin@masonlive.gmu.edu
pass: admin
```
### Manual Setup
### Loading Default Data
Django apps use fixtures to load default data for testing. To load the api's fixtures use the following command in the terminal:
```
docker exec whats_open_api python3 /whats-open/whats-open/manage.py loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
```
</p>
</details>
<details><summary>
</h2> Manual Setup </h2>
</summary>
<p>
Manual Setup involves all of the same steps as Docker, but just done manually.
First, install python, pip, and virtualenv on your system.
......@@ -297,6 +315,20 @@ to your database.
With that, everything should be good to go!
### Loading Default Data
Django apps use fixtures to load default data for testing. To load the api's fixtures use the following command:
```
python3 manage.py loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
```
</p>
</details>
</p>
</details>
# Modifying and Deploying Code
With the means of testing the website, you can really start contributing.
......
......@@ -14,6 +14,7 @@ services:
MYSQL_PASSWORD: wopen
api:
container_name: whats_open_api
build: .
ports:
- "8000:8000"
......
[{"model": "api.category", "pk": 6, "fields": {"name": "Athletic Facility"}}, {"model": "api.category", "pk": 4, "fields": {"name": "Caf\u00e9"}}, {"model": "api.category", "pk": 3, "fields": {"name": "Convenience Store"}}, {"model": "api.category", "pk": 1, "fields": {"name": "Dining Hall"}}, {"model": "api.category", "pk": 12, "fields": {"name": "Library"}}, {"model": "api.category", "pk": 14, "fields": {"name": "Maker Space"}}, {"model": "api.category", "pk": 10, "fields": {"name": "Office"}}, {"model": "api.category", "pk": 13, "fields": {"name": "Office"}}, {"model": "api.category", "pk": 9, "fields": {"name": "Recreation Facility"}}, {"model": "api.category", "pk": 2, "fields": {"name": "Restaurant"}}, {"model": "api.category", "pk": 8, "fields": {"name": "Retail Store"}}, {"model": "api.category", "pk": 7, "fields": {"name": "Service"}}, {"model": "api.category", "pk": 11, "fields": {"name": "Student Center"}}, {"model": "api.category", "pk": 5, "fields": {"name": "Take Out Dining Hall"}}]
\ No newline at end of file
[{"fields": {"building": "Southside Dining Hall", "friendly_building": "", "address": "4353 Chesapeake River Way, Fairfax VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3055097353121 38.83132949580784)", "on_campus": true}, "model": "api.location", "pk": 1}, {"fields": {"building": "Johnson Center", "friendly_building": "JC", "address": "4477 Aquia Creek Ln", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30743019696871 38.83002150186233)", "on_campus": true}, "model": "api.location", "pk": 2}, {"fields": {"building": "Merten Hall", "friendly_building": "", "address": "4441 George Mason Blvd", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30780302401908 38.83502768729392)", "on_campus": true}, "model": "api.location", "pk": 3}, {"fields": {"building": "Eisenhower Hall", "friendly_building": "", "address": "10445 Presidents Park Dr. Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3023532246023 38.82887578842599)", "on_campus": true}, "model": "api.location", "pk": 4}, {"fields": {"building": "Mason Global Center", "friendly_building": "", "address": "4352 Mason Pond Dr. Fairfax VA, 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.31484918710255 38.82982300227717)", "on_campus": true}, "model": "api.location", "pk": 5}, {"fields": {"building": "Student Union Building 1", "friendly_building": "SUB 1", "address": "4469 Aquia Creek Ln", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30893491622413 38.83167634001074)", "on_campus": true}, "model": "api.location", "pk": 6}, {"fields": {"building": "Tidewater Hall", "friendly_building": "", "address": "4349B Chesapeake River Wy", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30605422374416 38.83191871206628)", "on_campus": true}, "model": "api.location", "pk": 7}, {"fields": {"building": "Recreation and Athletic Complex", "friendly_building": "", "address": "4350 Banister Creek Court Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.31242178794294 38.83214854687145)", "on_campus": true}, "model": "api.location", "pk": 8}, {"fields": {"building": "Blue Ridge Hall", "friendly_building": "", "address": "4343A Chesapeake River Wy Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3066536974583 38.83283804683776)", "on_campus": true}, "model": "api.location", "pk": 9}, {"fields": {"building": "Long and Kimmy Nguyen Engineering Building", "friendly_building": "ENGR", "address": "4511 Patriot Circle Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30482040759644 38.82726753188584)", "on_campus": true}, "model": "api.location", "pk": 10}, {"fields": {"building": "Northern Neck Hall", "friendly_building": "", "address": "4335 Chesapeake River Way Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3071914803656 38.83378662072572)", "on_campus": true}, "model": "api.location", "pk": 11}, {"fields": {"building": "RAC", "friendly_building": "", "address": "4556 Patriot Circle Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.31177485615869 38.83039760482036)", "on_campus": true}, "model": "api.location", "pk": 12}, {"fields": {"building": "AFC", "friendly_building": "", "address": "4520 Patriot Circle Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30433224555568 38.82680365088904)", "on_campus": true}, "model": "api.location", "pk": 13}, {"fields": {"building": "fhuak", "friendly_building": "", "address": "hdjkshajda", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-75.70678709883241 37.63163475132333)", "on_campus": true}, "model": "api.location", "pk": 14}, {"fields": {"building": "Fenwick Library", "friendly_building": "", "address": "4348 Chesapeake River Wy", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30703577547085 38.83126070475519)", "on_campus": true}, "model": "api.location", "pk": 15}, {"fields": {"building": "Arlington Campus", "friendly_building": "", "address": "3401 Fairfax Drive", "campus_region": "arlington", "coordinate_location": "SRID=4326;POINT (-77.10249051585782 38.8824834408851)", "on_campus": true}, "model": "api.location", "pk": 16}, {"fields": {"building": "Rogers Hall", "friendly_building": "", "address": "4400 Aquia Creek Lane", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.31074795274685 38.8344031381376)", "on_campus": true}, "model": "api.location", "pk": 17}, {"fields": {"building": "The Hub", "friendly_building": "Hub", "address": "4400 Rivanna River Way", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30473980455434 38.83062718736547)", "on_campus": true}, "model": "api.location", "pk": 18}, {"fields": {"building": "SciTech Campus", "friendly_building": "SciTech", "address": "10900 University Blvd", "campus_region": "prince william", "coordinate_location": "SRID=4326;POINT (-77.52155885245067 38.75655953545938)", "on_campus": true}, "model": "api.location", "pk": 19}, {"fields": {"building": "Exploratory Hall", "friendly_building": "EXPL", "address": "10431 Rivanna River Way", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30547472982231 38.82977249338438)", "on_campus": true}, "model": "api.location", "pk": 20}, {"fields": {"building": "Innovation Hall", "friendly_building": "INNO", "address": "4699 Mattaponi River Lane", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30760440378158 38.82843741102617)", "on_campus": true}, "model": "api.location", "pk": 21}, {"fields": {"building": "EagleBank Arena", "friendly_building": "", "address": "4500 Patriot Circle", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.31027588395975 38.82683933353006)", "on_campus": true}, "model": "api.location", "pk": 22}, {"fields": {"building": "Arlington Campus", "friendly_building": "", "address": "3351 Fairfax Dr, MSN 5A7", "campus_region": "arlington", "coordinate_location": "SRID=4326;POINT (-77.10142836125345 38.8845588086479)", "on_campus": true}, "model": "api.location", "pk": 23}, {"fields": {"building": "SciTech Campus", "friendly_building": "", "address": "10900 George Mason Circle, MSN 1H6", "campus_region": "prince william", "coordinate_location": "SRID=4326;POINT (-77.52169832732059 38.75654531233209)", "on_campus": true}, "model": "api.location", "pk": 24}, {"fields": {"building": "Johnson Center", "friendly_building": "JC", "address": "4400 University Dr.", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.30703577547085 38.82984823604826)", "on_campus": true}, "model": "api.location", "pk": 25}, {"fields": {"building": "Peterson Hall", "friendly_building": "", "address": "4408 Patriot Circle", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3091171696656 38.83435299401262)", "on_campus": true}, "model": "api.location", "pk": 26}, {"fields": {"building": "Front Royal", "friendly_building": "", "address": "1500 Remount Road, Front Royal, VA 22630", "campus_region": "front royal", "coordinate_location": "SRID=4326;POINT (-77.30142459421185 38.82389717254573)", "on_campus": true}, "model": "api.location", "pk": 27}, {"fields": {"building": "Skyline Fitness", "friendly_building": "", "address": "4651 Chesapeake River Way Fairfax, VA 22030", "campus_region": "fairfax", "coordinate_location": "SRID=4326;POINT (-77.3057965949058 38.83165351651481)", "on_campus": true}, "model": "api.location", "pk": 28}]
\ No newline at end of file
This diff is collapsed.
[{"pk": 493, "model": "api.schedule", "fields": {"valid_start": "2019-08-26T19:07:52-04:00", "valid_end": "2024-12-16T19:08:17-05:00", "name": "AFC [Fall 2019]", "twenty_four_hours": false, "modified": "2019-08-26T19:09:29.395912-04:00"}}, {"pk": 314, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Akeno Sushi [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-22T09:28:15.073297-04:00"}}, {"pk": 27, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Apple FCU [Fall / Spring / Summer Hours]", "twenty_four_hours": false, "modified": "2019-08-16T15:18:12.818522-04:00"}}, {"pk": 29, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Argo Tea [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-20T14:45:43.009436-04:00"}}, {"pk": 327, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Au Bon Pain [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-29T12:47:15.111096-05:00"}}, {"pk": 63, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Auxiliary Enterprises [Fall / Spring / Summer Hours]", "twenty_four_hours": false, "modified": "2019-01-23T10:47:56.180134-05:00"}}, {"pk": 13, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Blaze Pizza [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T12:56:08.566471-05:00"}}, {"pk": 260, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Bookstore Arlington [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-29T12:48:10.007882-05:00"}}, {"pk": 258, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Bookstore Fairfax [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:00:14.805461-05:00"}}, {"pk": 259, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Bookstore SciTech [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:01:15.245679-05:00"}}, {"pk": 316, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Chick Fil A [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:01:43.966595-05:00"}}, {"pk": 251, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Chipotle [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:02:00.483756-05:00"}}, {"pk": 329, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Commons1 (B) Front Royal [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-02-18T11:58:28.781951-05:00"}}, {"pk": 453, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Commons2 (L) Front Royal [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-02-18T11:58:58.989281-05:00"}}, {"pk": 454, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Commons3 (D) Front Royal [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-02-18T11:59:20.439102-05:00"}}, {"pk": 40, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Corner Pocket [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-22T16:39:06.226361-04:00"}}, {"pk": 324, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Dunkin' Donuts [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:03:27.330517-05:00"}}, {"pk": 50, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "EagleBank Arena Ticket Office [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:19:23.977266-05:00"}}, {"pk": 321, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Einstein's Engineering Building [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:04:47.930991-05:00"}}, {"pk": 320, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Einstein's Merten Hall [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:05:12.302280-05:00"}}, {"pk": 304, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Express [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:05:33.130321-05:00"}}, {"pk": 55, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Fenwick Library [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:07:50.811703-05:00"}}, {"pk": 305, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Freshens JC [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:08:06.998398-05:00"}}, {"pk": 317, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Freshens RAC [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:08:28.448621-05:00"}}, {"pk": 310, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Garbanzo [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:08:47.030598-05:00"}}, {"pk": 302, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Ike's [Fall/ Spring Hours]", "twenty_four_hours": true, "modified": "2019-02-10T17:09:59.919874-05:00"}}, {"pk": 309, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "IndAroma [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:14:57.743398-05:00"}}, {"pk": 52, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "JC [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-16T16:50:15.906257-04:00"}}, {"pk": 270, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mail Hub [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:15:37.686133-05:00"}}, {"pk": 30, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Manhatten Pizza [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:16:12.679345-05:00"}}, {"pk": 56, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mason Card [Arlington] [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:16:37.188749-05:00"}}, {"pk": 57, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mason Card [Sci-Tech] [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:17:02.898719-05:00"}}, {"pk": 266, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mason Card Fairfax [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:17:20.631367-05:00"}}, {"pk": 28, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mason Catering [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:17:55.808009-05:00"}}, {"pk": 491, "model": "api.schedule", "fields": {"valid_start": "2019-08-26T19:02:17-04:00", "valid_end": "2019-12-06T19:02:45-05:00", "name": "MIX @ Fenwick [Fall 2019]", "twenty_four_hours": false, "modified": "2019-08-26T19:03:31.181974-04:00"}}, {"pk": 492, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Mix @ Innovation [Fall 2019]", "twenty_four_hours": false, "modified": "2019-08-26T19:04:30.378473-04:00"}}, {"pk": 318, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "One Stop [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:18:24.648140-05:00"}}, {"pk": 3, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Panda Express [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:20:41.495763-05:00"}}, {"pk": 32, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Panera Bread [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:20:58.160012-05:00"}}, {"pk": 261, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Patriot Tech [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-16T15:16:59.677209-04:00"}}, {"pk": 37, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Print Hub [Arlington] [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:21:33.745602-05:00"}}, {"pk": 39, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Print Hub [Fairfax] [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:21:51.912907-05:00"}}, {"pk": 269, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "PrintHub SciTech [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:22:03.603563-05:00"}}, {"pk": 24, "model": "api.schedule", "fields": {"valid_start": "2017-09-19T20:00:00-04:00", "valid_end": "2024-08-20T20:00:00-04:00", "name": "RAC [Fall 217]", "twenty_four_hours": false, "modified": "2018-01-22T13:41:51.127824-05:00"}}, {"pk": 328, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Randall's Cafe [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:22:21.951489-05:00"}}, {"pk": 313, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Rathskeller [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:22:38.819045-05:00"}}, {"pk": 308, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Red Hot & Blue [Fall/ Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:23:02.297564-05:00"}}, {"pk": 323, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Second Stop [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:23:25.800157-05:00"}}, {"pk": 47, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "shopMason [Fall / Spring / Summer Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:23:41.285157-05:00"}}, {"pk": 315, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Simply To Go [Fall / Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:23:57.273535-05:00"}}, {"pk": 494, "model": "api.schedule", "fields": {"valid_start": "2019-08-26T19:13:16-04:00", "valid_end": "2025-12-15T19:13:15-05:00", "name": "Skyline Fitness [Fall 2019]", "twenty_four_hours": false, "modified": "2019-08-26T19:14:24.425147-04:00"}}, {"pk": 301, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Southside [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:24:11.941733-05:00"}}, {"pk": 306, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Star Ginger [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:24:28.079052-05:00"}}, {"pk": 312, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Starbucks JC [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:24:44.939943-05:00"}}, {"pk": 319, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Starbucks NN [Fall/ Spring Hours]", "twenty_four_hours": true, "modified": "2019-01-27T18:08:20.680766-05:00"}}, {"pk": 307, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Steak and Shake [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:27:08.614524-05:00"}}, {"pk": 58, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Student Centers Admin Office [Fall / Spring / Summer Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:27:25.630325-05:00"}}, {"pk": 53, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "SUB I [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:28:01.836262-05:00"}}, {"pk": 36, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Subway [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:28:16.970597-05:00"}}, {"pk": 303, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "The Globe [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:28:39.537313-05:00"}}, {"pk": 54, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "The Hub [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-16T16:20:32.097318-04:00"}}, {"pk": 43, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "The UPS Store [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-08-16T15:17:48.033692-04:00"}}, {"pk": 326, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "We Proudly Serve Exploratory Hall [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:30:56.799911-05:00"}}, {"pk": 325, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "We Proudly Serve Innovation Hall [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:31:10.192729-05:00"}}, {"pk": 33, "model": "api.schedule", "fields": {"valid_start": null, "valid_end": null, "name": "Wingzone [Fall /Spring Hours]", "twenty_four_hours": false, "modified": "2019-01-24T13:31:29.378463-05:00"}}]
\ No newline at end of file
[
{
"fields": {
"name": "Starbucks NN [Fall/ Spring Hours]",
"twenty_four_hours": true,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 1
},
{
"fields": {
"name": "PrintHub SciTech [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 2
},
{
"fields": {
"name": "shopMason [Fall / Spring / Summer Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 3
},
{
"fields": {
"name": "RAC [Fall 217]",
"twenty_four_hours": false,
"valid_end": "2024-08-20T20:00:00-04:00",
"valid_start": "2017-09-19T20:00:00-04:00"
},
"model": "api.schedule",
"pk": 4
},
{
"fields": {
"name": "The Hub [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 5
},
{
"fields": {
"name": "The UPS Store [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 6
},
{
"fields": {
"name": "We Proudly Serve Exploratory Hall [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 7
},
{
"fields": {
"name": "We Proudly Serve Innovation Hall [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 8
},
{
"fields": {
"name": "Wingzone [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 9
},
{
"fields": {
"name": "Simply To Go [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 10
},
{
"fields": {
"name": "Star Ginger [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 11
},
{
"fields": {
"name": "Starbucks JC [Fall /Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 12
},
{
"fields": {
"name": "Garbanzo [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 13
},
{
"fields": {
"name": "Ike's [Fall/ Spring Hours]",
"twenty_four_hours": true,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 14
},
{
"fields": {
"name": "IndAroma [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 15
},
{
"fields": {
"name": "JC [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 16
},
{
"fields": {
"name": "Express [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 17
},
{
"fields": {
"name": "Fenwick Library [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 18
},
{
"fields": {
"name": "Freshens JC [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 19
},
{
"fields": {
"name": "Freshens RAC [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 20
},
{
"fields": {
"name": "Red Hot & Blue [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 21
},
{
"fields": {
"name": "Second Stop [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 22
},
{
"fields": {
"name": "Randall's Cafe [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 23
},
{
"fields": {
"name": "Rathskeller [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 24
},
{
"fields": {
"name": "Mail Hub [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 25
},
{
"fields": {
"name": "Manhatten Pizza [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 26
},
{
"fields": {
"name": "Print Hub [Arlington] [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 27
},
{
"fields": {
"name": "Print Hub [Fairfax] [Fall/ Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 28
},
{
"fields": {
"name": "Akeno Sushi [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 29
},
{
"fields": {
"name": "AFC [Fall 2019]",
"twenty_four_hours": false,
"valid_end": "2024-12-16T19:08:17-05:00",
"valid_start": "2019-08-26T19:07:52-04:00"
},
"model": "api.schedule",
"pk": 30
},
{
"fields": {
"name": "Argo Tea [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 31
},
{
"fields": {
"name": "Apple FCU [Fall / Spring / Summer Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 32
},
{
"fields": {
"name": "Auxiliary Enterprises [Fall / Spring / Summer Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 33
},
{
"fields": {
"name": "Au Bon Pain [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 34
},
{
"fields": {
"name": "Bookstore Arlington [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 35
},
{
"fields": {
"name": "Blaze Pizza [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 36
},
{
"fields": {
"name": "Bookstore SciTech [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null,
"valid_start": null
},
"model": "api.schedule",
"pk": 37
},
{
"fields": {
"name": "Bookstore Fairfax [Fall / Spring Hours]",
"twenty_four_hours": false,
"valid_end": null