Amin Alaee

Results 230 comments of Amin Alaee

Yeah I think that makes sense, plus note that it can be a callable: https://docs.djangoproject.com/en/4.2/ref/models/fields/#django.db.models.FileField.upload_to I think we can ignore `upload_to="uploads/%Y/%m/%d/"` for now, this can be achieved with the callable.

@heitorlessa Can this be done without the `contextvars`? I'd also like to give the thread-local feature a try but I think I would require some help from your side.

Hmm, I think that's nice but there's still a lot missing in SQLAdmin which I think could be more useful. I've been meaning to work on the filters for a...

Trying the above example results in: ```py assert record.module == "python" assert record.filename == "python.py" ``` which is coming from https://github.com/pytest-dev/pytest/blob/main/src/_pytest/python.py not sure why. But interestingly if you try this:...

This looks very interesting, I was thinking maybe the uuid-rs crate should make use of [`ReseedingRng`](https://docs.rs/rand/latest/rand/rngs/adapter/struct.ReseedingRng.html) to make this work. But apparently [`ThreadRng`](https://docs.rs/rand/latest/rand/rngs/struct.ThreadRng.html) is using the `ReseedingRng` anyway. From the...

Is it even possible to get the client IP, port at this stage when the request is not made? I think you could _allow_ specifying the client IP, port but...

Isn't it because the `data` property can also be `Iterable[bytes]` so `.decode()` is not available? I think that's not your case, but it's a possible case.

Thanks for reporting this. I think this could be nice but I don't have much context. How should we go about displaying this vector data? Should we just show the...

Thanks for the reply. So my only concern for using the library is this and I think you have a solution for that. It'd be great if you could document...