Lee Semel

Results 9 issues of Lee Semel

Is there a way to get encode_data to recognize models pulled in with select_related in the queryset passed to it?

I'm trying to test my Ajax methods by issuing requests from my browser as I write them, and notice using the decorator @csrf_except around my endpoint function doesn't work, because...

The value of SITEMAP_ROOT_DIR gets prepended to the filename twice. I had do use a custom storage to avoid this happening: ``` class S3SitemapStorage(S3BotoStorage): def __init__(self, *args, **kwargs): super(S3SitemapStorage, self).__init__(*args,...

bug

When I call httpretty.enable() in a test class's setUp() method, and call httpretty.disable() in the tearDown() method, if there are too many tests the tests fail with an OSError: [Errno...

If I start the embedded api and index some documents, I'm able to query them. If I stop and restart the embedded api, if I query for any document that...

I thought I'd open this thread for anyone interested in indextank as a hosted service to indicate their interest. As a current IndexTank customer, I'd definitely be interested in switching...

This ensures that the content from the form field is properly encoded before being used as a template. Previously we'd get an `exceptions.UnicodeEncodeError' object has no attribute 'token'` when trying...

``` >>> from goose import Goose >>> url = 'http://www.nytimes.com/2015/05/02/nyregion/christie-ally-expected-to-plead-guilty-in-george-washington-bridge-lane-closing-case.html?hp&action=click&pgtype=Homepage&module=span-ab-lede-package-region&region=top-news&WT.nav=top-news' >>> g=Goose() >>> article = g.extract(url=url) >>> article.title u'' >>> article.meta_description u'' >>> article.cleaned_text u'' ```

``` File "goose/__init__.py", line 37, in __init__ self.initialize() File "goose/__init__.py", line 81, in initialize os.remove(path) ``` Separately, is there a way to use Goose without the need for tempfiles?