ericholscher / django-test-utils

Utilities for testing Django applications
http://django-test-utils.readthedocs.org/
MIT License
343 stars 69 forks source link

makefixture seems to truncate too-long dumps #40

Open mallyvai opened 8 years ago

mallyvai commented 8 years ago

Project is basically unmaintained, but documenting for future users:

I have a pretty stock Heroku + RDS Postgres setup for a Django 1.8 webapp, with a local postgres DB setup for testing. I'm using elephantblog from feinCMS for blogging. The production blog (offerletter.io/blog/) has been getting a fair amount of posting volume, and I wanted to backfill the local development DB so I could play with styling etc of content in prod.

I ended up running heroku run --app blahblahblah makefixture elephantblog.Entry elephantblog.Category etc etc so that I could just dump all blog-related content and load it up locally in JSON. Unfortunately it looks like it's being truncated at some point. I suspect it might just be some pipe or some other random CLI UI limit, but it would be nice if it's fixed.

ericholscher commented 8 years ago

Thanks for the report. As you said, I don't have much time to work on this these days, but if you want to submit a patch, I'll gladly merge it :)

On Wed, Jan 13, 2016 at 9:31 PM, Vaibhav Mallya notifications@github.com wrote:

Project is basically unmaintained, but documenting for future users:

I have a pretty stock Heroku + RDS Postgres setup for a Django 1.8 webapp, with a local postgres DB setup for testing. I'm using elephantblog from feinCMS for blogging. The production blog (offerletter.io/blog/) has been getting a fair amount of posting volume, and I wanted to backfill the local development DB so I could play with styling etc of content in prod.

I ended up running heroku run --app blahblahblah makefixture elephantblog.Entry elephantblog.Category etc etc so that I could just dump all blog-related content and load it up locally in JSON. Unfortunately it looks like it's being truncated at some point. I suspect it might just be some pipe or some other random CLI UI limit, but it would be nice if it's fixed.

— Reply to this email directly or view it on GitHub https://github.com/ericholscher/django-test-utils/issues/40.

Eric Holscher Maker of the internet residing in Portland, Oregon http://ericholscher.com