Adam Hill

Results 157 comments of Adam Hill

Nice! Looking forward to seeing the end result. 👍 Do you think it would be useful to add a `tags` field to `ContentItem`? That might encapsulate the couple of `item.metadata.get("tags")`...

>maybe we should just cache all ContentItem when get_content_items is called I think this makes sense if we can bust the cache intelligently.

We could also just have a search page that works for now (Python-only) and not try to implement a type-ahead or anything in JavaScript? I think in the future if...

I haven't looked into async other than the initial commit above to set up a way to prototype it. Can you create a PR with an initial use case? That...

Hmm, the number of workers shouldn't matter. My [gunicorn.conf](https://github.com/adamghill/django-unicorn.com/blob/main/gunicorn.conf) for django-unicorn.com. One thing I didn't ask above: what are your cache settings in production? `Unicorn` uses cache to store component...

If you are able to try it with a filesystem cache (if you only have one server running) or memcache/redis if you have more than one server that would be...

I don't have much to go on with this error message, but it seems to work for me in Python 3.9: You could try installing with `--verbose` and maybe get...

> Have you tried changing the worker class to SimpleWorker (does not call os.fork()) and see if it works? I have the same issue as the OP on my M1...

Oh shoot, I'm sorry you ran into this issue. I will release a hot-fix tonight to at least prevent this from crashing your component. Thanks again for the bug report.

Unfortunately, I cannot replicate this using Django 4.2.9 and Python 3.10.12. However, I added a catch for `NameError` anyway in the hopes that it solves your problem. I also wrote...