Skip to content

Commit

Permalink
Merge pull request #25 from Brobin/remove_warnings
Browse files Browse the repository at this point in the history
Remove timezone aware date warnings
  • Loading branch information
Brobin committed Oct 10, 2015
2 parents 07cd8a4 + 2d16a87 commit 71b4671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
env:
- DJANGO=1.7
- DJANGO=1.8
install:
- pip install -q Django==$DJANGO --use-mirrors
- pip install -q Django==$DJANGO
- pip install coverage
- pip install -e git://github.com/django-nose/django-nose.git#egg=django-nose
- pip install -q -e . --use-mirrors
- pip install -q -e .
- pip install coveralls
script:
- python runtests.py
Expand Down
4 changes: 0 additions & 4 deletions django_seed/management/commands/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ def handle_app_config(self, app_config, **options):

seeder = Seed.seeder()

# don't diplay warnings about non-timezone aware datetimes
import warnings
warnings.showwarning = lambda *x: None

for model in app_config.get_models():
seeder.add_entity(model, number)
print('Seeding %i %ss' % (number, model.__name__))
Expand Down

0 comments on commit 71b4671

Please sign in to comment.