Steven DeMartini

Results 27 comments of Steven DeMartini

I tried installing and using this package within my app that used `create-react-app` but ran into the same `Failed to compile` error as the above, so I'm unable to use...

The workaround from micheller worked for me for `django-stubs` 1.8.0, but it appears that this is no longer necessary in the newly-released `django-stubs` 1.9.0.

Hm, it certainly no longer shows any errors for me after upgrading to `django-stubs` 1.9.0 and `mypy` 0.910 (from 0.812); I've removed all manual typing from my `urls.py`.

The case I'm aware of for `.url` is with responses that are redirects (apparently from [HttpResponseRedirectBase](https://github.com/django/django/blob/main/django/http/response.py#L602) as you mentioned), which can be returned from the client request methods, like `response...

`assert isinstance(response, HttpResponseRedirect)` works without issue in the situation in my test code. Agreed that that's a reasonable approach here and no need to add `url` generally to the monkey-patched...

Here's an example someone implemented for getting the notebook name in JupyterHub: https://github.com/jupyterhub/jupyterhub/issues/1718#issuecomment-377036175

I've added a very simple PR which makes ipynbname support JupyterHub, utilizing logic like in the above linked example: https://github.com/msm1089/ipynbname/pull/19

Do the examples from the docs on filtering here https://docs.graphene-python.org/projects/django/en/latest/filtering/#custom-filtersets help @msukmanowsky and @ethagnawl? It seems like the original question could be solved with a custom `django_filters.FilterSet` class that includes...

@ethagnawl I'm not familiar with pgvector/`VectorField` or the nuances of your specific use-case, but you can add filters to a `FilterSet` that do not correspond to a Django field or...

All good, thanks for discussing! I'll close this out, and if there's something outstanding from the original post that seems unaddressed, feel free to follow up @msukmanowsky.