AhmedSalam22

Results 6 issues of AhmedSalam22

How can i filter form based on the current login user? ex doen't work def __init__(self, **kwargs): super().__init__(**kwargs) self.form.fields["field"].queryset = model.objects.filter(owner=self.request.user)

![image](https://github.com/jazzband/django-payments/assets/35177448/d2252491-1ff4-4e5b-8aa6-64a2429c6e9d) ` Traceback (most recent call last): File "C:\Users\admin\wwork\env\lib\site-packages\django\core\handlers\exception.py", line 42, in inner response = await get_response(request) File "C:\Users\admin\wwork\env\lib\site-packages\django\core\handlers\base.py", line 253, in _get_response_async response = await wrapped_callback( File "C:\Users\admin\wwork\ok-api\openbook_payments\views.py", line...

I get this error when I try see payment_details view ![Screenshot (428)](https://github.com/jazzband/django-payments/assets/35177448/16c0f191-941d-443c-9e6c-20507af5e2d7) ` RuntimeError at /payment/3Trying to access master database in slave state Request Method: | GET -- | --...

![image](https://github.com/datadvance/DjangoChannelsGraphqlWs/assets/35177448/8d9d4fd0-fccd-48a5-9f50-ab69c4f85a27) ![image](https://github.com/datadvance/DjangoChannelsGraphqlWs/assets/35177448/f9b55f8b-0cf4-4838-b06a-ac407be6d849) `2023-12-03 16:44:41,352 daphne.server ERROR Exception inside application: WebSocket client does not request for the subprotocol graphql-ws! Traceback (most recent call last): File "C:\Users\admin\wwork\env\lib\site-packages\channels\routing.py", line 62, in __call__ return...

![image](https://github.com/azavea/django-amazon-ses/assets/35177448/9d384d2c-6f2a-4d25-ade9-b9fb7ea42992)

How to use this package beside django filter can you give an example?