Skip to content

Commit 71b4671

Browse files
committed
Merge pull request #25 from Brobin/remove_warnings
Remove timezone aware date warnings
2 parents 07cd8a4 + 2d16a87 commit 71b4671

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
language: python
22
python:
33
- "2.7"
4-
- "3.2"
54
- "3.3"
65
- "3.4"
76
env:
87
- DJANGO=1.7
98
- DJANGO=1.8
109
install:
11-
- pip install -q Django==$DJANGO --use-mirrors
10+
- pip install -q Django==$DJANGO
1211
- pip install coverage
1312
- pip install -e git://github.com/django-nose/django-nose.git#egg=django-nose
14-
- pip install -q -e . --use-mirrors
13+
- pip install -q -e .
1514
- pip install coveralls
1615
script:
1716
- python runtests.py

django_seed/management/commands/seed.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ def handle_app_config(self, app_config, **options):
2727

2828
seeder = Seed.seeder()
2929

30-
# don't diplay warnings about non-timezone aware datetimes
31-
import warnings
32-
warnings.showwarning = lambda *x: None
33-
3430
for model in app_config.get_models():
3531
seeder.add_entity(model, number)
3632
print('Seeding %i %ss' % (number, model.__name__))

0 commit comments

Comments
 (0)