Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

Commit

Permalink
Initial Update (#401)
Browse files Browse the repository at this point in the history
* Update pytest from 3.0.1 to 3.1.2

* Update pytest-django from 3.0.0 to 3.1.2

* Update factory-boy from 2.7.0 to 2.8.1

* Update fake-factory from 0.5.10 to 9999.9.9

* Update python-dateutil from 2.5.3 to 2.6.0

* Update sphinx from 1.4.5 to 1.6.2

* Update pbr from 1.10.0 to 3.0.1

* Update py from 1.4.31 to 1.4.34

* Update pygments from 2.1.3 to 2.2.0

* Update docutils from 0.12 to 0.13.1

* Update alabaster from 0.7.8 to 0.7.10

* Update babel from 2.3.4 to 2.4.0

* Update urlwait from 0.3 to 0.4

* Update flake8 from 3.0.4 to 3.3.0

* Update mccabe from 0.5.2 to 0.6.1

* Update pycodestyle from 2.0.0 to 2.3.1

* Update pyflakes from 1.2.3 to 1.5.0

* Update requests-mock from 1.2.0 to 1.3.0

* Update unidecode from 0.4.19 to 0.04.20

* Add missing requirements

* Remove deprecated fake_factory and fix timezone warnings in tests
  • Loading branch information
pyup-bot authored and willkg committed Jun 15, 2017
1 parent 10766a7 commit 0318d23
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 39 deletions.
95 changes: 59 additions & 36 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,44 +1,67 @@
-r requirements.txt

pytest==3.0.1 \
--hash=sha256:ba6ae459222c3ee650d9e7a3f8cbf69c23c20ed6977496e9081f3b8da19107d0 \
--hash=sha256:e82bc0596ee96b2287c08705cfcb6898db1fe4b5c87db3b6823f1fdd77fb3ff1
pytest-django==3.0.0 \
--hash=sha256:7898731205fa245926c800273dcffcd9b25e0b660a363ecb6cc2901ffe4aa1cc \
--hash=sha256:5952283b0e6e0f9d8cb46803636e3940e1c77da8a529f03a8a4320f52d9bf560
pytest==3.1.2 \
--hash=sha256:41e618f317957505ae2e81935733d8304d84170f7e21dfb15184d6fa8d7a5230 \
--hash=sha256:795ec29fbba70b22a593691ce8bcd4bdde2dc96e8099731f73c7d8bb3ce879bf
pytest-django==3.1.2 \
--hash=sha256:00995c2999b884a38ae9cd30a8c00ed32b3d38c1041250ea84caf18085589662 \
--hash=sha256:038ccc5a9daa1b1b0eb739ab7dce54e495811eca5ea3af4815a2a3ac45152309
mock==2.0.0 --hash=sha256:5ce3c71c5545b472da17b72268978914d0252980348636840bd34a00b5cc96c1
factory_boy==2.7.0 --hash=sha256:36c949d5c7adefb02d25323b7a5a97dc698e58ef84c4654845ecb2e34bee9a23
# Note: fake_factory gets changed to faker sometime after September 15th, 2016. That probably
# means we need to update fake_factory and factory_boy packages.
fake_factory==0.5.10 --hash=sha256:a3491f0a745a8bdd8199d1ffa04aeee3e38146a4cc3e7789ae785d159a9f69c4
python-dateutil==2.5.3 --hash=sha256:598499a75be2e5e18a66f12c00dd47a069de24794effeda4228bfc760f44f527
Sphinx==1.4.5 --hash=sha256:a1901af3d437473662daca2ee8f03c232d84af08a0b119d6bc55020661b12ab8
pbr==1.10.0 --hash=sha256:f5cf7265a80636ecff66806d13494cbf9d77a3758a65fd8b4d4d4bee81b0c375
py==1.4.31 --hash=sha256:4a3e4f3000c123835ac39cab5ccc510642153bc47bc1f13e2bbb53039540ae69
factory-boy==2.8.1 \
--hash=sha256:246f7da9caf9bf855aaa73b4963353ccb147fdd3adcbc419fa29422c5b69dd4c \
--hash=sha256:a6644e391a371be603aca8624f3dedbc5a2aa4622878c20494ba17abb4b171bb
python-dateutil==2.6.0 \
--hash=sha256:537bf2a8f8ce6f6862ad705cd68f9e405c0b5db014aa40fa29eab4335d4b1716 \
--hash=sha256:62a2f8df3d66f878373fd0072eacf4ee52194ba302e00082828e0d263b0418d2 \
--hash=sha256:3acbef017340600e9ff8f2994d8f7afd6eacb295383f286466a6df3961e486f0
Sphinx==1.6.2 \
--hash=sha256:011c1851b5f2d9f4b1d9898162867f2bf91db5c26ad8178d3122909203bc2f6c \
--hash=sha256:67527d767dff9a2e2159c501265cff47b6d96d39e036e8b971d6c143ff303197
pbr==3.0.1 \
--hash=sha256:dfc304262e881066bc675a59a348733af17bee1d57084d9e2a0c96b952a82db7 \
--hash=sha256:d7e8917458094002b9a2e0030ba60ba4c834c456071f2d0c1ccb5265992ada91
py==1.4.34 \
--hash=sha256:2ccb79b01769d99115aa600d7eed99f524bf752bba8f041dc1c184853514655a \
--hash=sha256:0f2d585d22050e90c7d293b6451c83db097df77871974d90efd5a30dc12fcde3
imagesize==0.7.1 --hash=sha256:6ebdc9e0ad188f9d1b2cdd9bc59cbe42bf931875e829e7a595e6b3abdc05cdfb
Pygments==2.1.3 --hash=sha256:485602129949b14247e8b124d28af4654dffbd076537c4a9c44a538a2c1755b7
docutils==0.12 --hash=sha256:dcebd4928112631626f4c4d0df59787c748404e66dda952110030ea883d3b8cd
alabaster==0.7.8 --hash=sha256:e86ae2eb1a0297454ce6bbe94414fbb272ed9f148b9ca5344dc213164e0d3d74
babel==2.3.4 --hash=sha256:3318ed2960240d61cbc6558858ee00c10eed77a6508c4d1ed8e6f7f48399c975
Pygments==2.2.0 \
--hash=sha256:78f3f434bcc5d6ee09020f92ba487f95ba50f1e3ef83ae96b9d5ffa1bab25c5d \
--hash=sha256:dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc
docutils==0.13.1 \
--hash=sha256:de454f1015958450b72641165c08afe7023cd7e3944396448f2fb1b0ccba9d77 \
--hash=sha256:cb3ebcb09242804f84bdbf0b26504077a054da6772c6f4d625f335cc53ebf94d \
--hash=sha256:718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be
alabaster==0.7.10 \
--hash=sha256:2eef172f44e8d301d25aff8068fddd65f767a3f04b5f15b0f4922f113aa1c732 \
--hash=sha256:37cdcb9e9954ed60912ebc1ca12a9d12178c26637abdf124e3cde2341c257fe0
babel==2.4.0 \
--hash=sha256:e86ca5a3a6bb64b9bbb62b9dac37225ec0ab5dfaae3c2492ebd648266468042f \
--hash=sha256:8c98f5e5f8f5f088571f2c6bd88d530e331cbbcb95a7311a0db69d3dca7ec563
snowballstemmer==1.2.1 --hash=sha256:9f3bcd3c401c3e862ec0ebe6d2c069ebc012ce142cce209c098ccb5b09136e89
urlwait==0.3 \
--hash=sha256:2b1fb4e5085344f91f1aaaa3c1809e44d100691b20c2431cb81af1824d82939c \
--hash=sha256:54eb1cc8346f24fd906d379447b49c25a19af220cf7be35c8bac136ee8f09105
flake8==3.0.4 \
--hash=sha256:603a3ae7c8030219fee084728ca02a8bbd3a51829cacf97b445172a46cb04662 \
--hash=sha256:b4c210c998f07d6ff24325dd91fbc011f2c37bcd6bf576b188de01d8656e970d
mccabe==0.5.2 \
--hash=sha256:91cc38b2c7636aaf1903e06d96ee960fb3dff9ca3afc595627c9a638f8e86d2b \
--hash=sha256:3473f06c8b757bbb5cdf295099bf64032e5f7d6fe0ec2f97ee9b23cb0a435aff
pycodestyle==2.0.0 \
--hash=sha256:2ce83f2046f5ab85c652ceceddfbde7a64a909900989b4b43e92b10b743d0ce5 \
--hash=sha256:37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7
pyflakes==1.2.3 \
--hash=sha256:e87bac26c62ea5b45067cc89e4a12f56e1483f1f2cda17e7c9b375b9fd2f40da \
--hash=sha256:2e4a1b636d8809d8f0a69f341acf15b2e401a3221ede11be439911d23ce2139e
requests_mock==1.2.0 \
--hash=sha256:8c89d8db3a5ddbce6121bdeb665891ca27bb37d18bbadd96c6c11fb472f07df1 \
--hash=sha256:7e49e8b896d0dd72405bdae913cacc0593e6f6c505083fc2ff479a0e0c0262ba
urlwait==0.4 \
--hash=sha256:fc39ff2c8abbcaad5043e1f79699dcb15a036cc4b0ff4d1aa825ea105d4889ff \
--hash=sha256:395fc0c2a7f9736858a2c2f449aa20c6e9da1f86bfc2d1fda4f2f5b78a5c115a
flake8==3.3.0 \
--hash=sha256:83905eadba99f73fbfe966598aaf1682b3eb6755d2263c5b33a4e8367d60b0d1 \
--hash=sha256:b907a26dcf5580753d8f80f1be0ec1d5c45b719f7bac441120793d1a70b03f12
mccabe==0.6.1 \
--hash=sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42 \
--hash=sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f
pycodestyle==2.3.1 \
--hash=sha256:6c4245ade1edfad79c3446fadfc96b0de2759662dc29d07d80a6f27ad1ca6ba9 \
--hash=sha256:682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766
pyflakes==1.5.0 \
--hash=sha256:cc5eadfb38041f8366128786b4ca12700ed05bbf1403d808e89d57d67a3875a7 \
--hash=sha256:aa0d4dff45c0cc2214ba158d29280f8fa1129f3e87858ef825930845146337f4
requests-mock==1.3.0 \
--hash=sha256:23edd6f7926aa13b88bf79cb467632ba2dd5a253034e9f41563f60ed305620c7 \
--hash=sha256:bd86970d6c52cc97071f5185aa594de6a997a5ca63b3bb36aceb9bb9db49294b
pytest-wholenodeid==0.2 \
--hash=sha256:6bc4edaf560c8b45ac4669bb8b99d8fbbb7f6e5af8dc7727200cd4d3ef4668c2 \
--hash=sha256:bdcb4df88ca182a19752ef95150c0881deaafc2c593ef67c61515894e5309206
Faker==0.7.17 \
--hash=sha256:1236c6dd61d1914d4972a1a1ffd3dba989f37d81b4ecb27c66fd2d241cfbf220 \
--hash=sha256:49cba0c3df3dac4fe5cf22d1a5799683c572172b9a0e94ec318e359339648a58
sphinxcontrib-websupport==1.0.1 \
--hash=sha256:7a85961326aa3a400cd4ad3c816d70ed6f7c740acd7ce5d78cd0a67825072eb9 \
--hash=sha256:f4932e95869599b89bf4f80fc3989132d83c9faa5bf633e7b5e0c25dffb75da2
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ Jinja2==2.9.6 \
django-jinja==2.3.1 \
--hash=sha256:ebfde44cb716e57a9cdff6c1a4935fc49c7419ea4cd0b2b89bcecc696b9c0c86 \
--hash=sha256:5e826a0cce967f40e6fdc037ea23667a2d3cd072807c4c87ffcc010b3c59121f
Unidecode==0.4.19 --hash=sha256:51477646a9169469e37e791b13ae65fcc75b7f7f570d0d3e514d077805c02e1e
Unidecode==0.04.20 \
--hash=sha256:eedac7bfd886f43484787206f6a141b232e2b2a58652c54d06499b187fd84660 \
--hash=sha256:ed4418b4b1b190487753f1cca6299e8076079258647284414e6d607d1f8a00e0
MarkupSafe==1.0 \
--hash=sha256:a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665
django-jinja-markdown==1.0.1 --hash=sha256:233dcde5d6895416f5613e4ca030e88f18a163e4b676e7aa815d191754f53085
Expand Down
5 changes: 3 additions & 2 deletions standup/status/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from django.views.decorators.http import require_POST
from django.views.generic import DetailView, TemplateView, UpdateView

import pytz
from raven.contrib.django.models import client

from standup.status.forms import StatusizeForm, ProfileForm
Expand Down Expand Up @@ -306,8 +307,8 @@ def errormenow(request):

def statistics(request):
"""Show health statistics for the system"""
hours_24 = datetime.datetime.now() - datetime.timedelta(hours=24)
week = datetime.datetime.now() - datetime.timedelta(days=7)
hours_24 = datetime.datetime.now(tz=pytz.UTC) - datetime.timedelta(hours=24)
week = datetime.datetime.now(tz=pytz.UTC) - datetime.timedelta(days=7)

groups = collections.OrderedDict()

Expand Down

0 comments on commit 0318d23

Please sign in to comment.