django-test-utils icon indicating copy to clipboard operation
django-test-utils copied to clipboard

makefixture seems to truncate too-long dumps

Open mallyvai opened this issue 9 years ago • 1 comments

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.

mallyvai avatar Jan 14 '16 05:01 mallyvai

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 [email protected] 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

ericholscher avatar Jan 14 '16 17:01 ericholscher