having probem with using signal with channels in django

2019-05-24 Thread Aditya Bohra
Not able to send real time data to client when a post signal is generated -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.

Re: having probem with using signal with channels in django

2019-05-24 Thread Aditya Bohra
Text format and in local ip -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to djang

Re: having probem with using signal with channels in django

2019-05-24 Thread Aditya Bohra
can i use postman for websocket? I am trying to create a real time dashboard using channels -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr

Re: having probem with using signal with channels in django

2019-05-24 Thread Aditya Bohra
i am talking about channels(websocket) can they be connected to postman they main problem is that i need to create real time app like real time dashboard which update the data as soon as there is any crud event occurs in db -- You received this message because you are subscribed to the Google

Re: Foriegnkey problem while saving data

2020-04-29 Thread Aditya Bohra
Can you please send more detail like 1 models 2 Query you are using -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.

Django channel async_to_sync(channel_layer.send)('test_channel', {'type': 'hello'}) error

2020-04-29 Thread Aditya Bohra
In Python shell as per directed on django channel site https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer $ python3 manage.py shell>>> import channels.layers>>> channel_layer = channels.layers.get_channel_layer()>>> from asgiref.sync import async_to_sync>>> a

Django Channels

2020-04-29 Thread Aditya Bohra
I followed the tutorial on django channel site which has link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html import channels.layers from asgiref.sync import async_to_sync print("running") channel_layer = channels.layers.get_channel_layer() async_to_sync(channel_layer.send)('

Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
I am trying to start with channels but the demo in python shell is not working properly:https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer Its is showing some thing like this : (InteractiveConsole) >>> import channels.layers >>> channel_layer = channels.layers.g

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
This is output of pip freeze aioredis==1.3.1 asgi-redis==1.4.3 asgiref==3.2.0 async-timeout==3.0.1 attrs==19.3.0 autobahn==20.4.3 Automat==20.2.0 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 channels==2.4.0 channels-redis==2.4.2 chardet==3.0.4 constantly==15.1.0 cryptography==2.9.2 daphne==2

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
aioredis==1.3.1 asgi-redis==1.4.3 asgiref==3.2.0 async-timeout==3.0.1 attrs==19.3.0 autobahn==20.4.3 Automat==20.2.0 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 channels==2.4.0 channels-redis==2.4.2 chardet==3.0.4 constantly==15.1.0 cryptography==2.9.2 daphne==2.5.0 Django==2.2.6 google-api-

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
To view the stacktrace is used faulthandlers so that segmentation fault can be removed I followed the tutorial on django channel site which has link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html import channels.layers from asgiref.sync import async_to_sync print("running")

Re: new to django

2018-10-24 Thread Aditya Bohra
On Thursday, October 18, 2018 at 2:51:02 PM UTC+5:30, shubham...@gmail.com wrote: > > "django-admin startproject mysite" i tried to run this in cmd propmt but it > is not working showing "django-admin' is not recognized as an internal or > external command," what to do? > > Is it working n

Create Follow model

2018-11-09 Thread Aditya Bohra
I am having problem Creating follow model . This is to be used with django user model -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@g

Re: Create Follow model

2018-11-09 Thread Aditya Bohra
On Friday, November 9, 2018 at 3:53:54 PM UTC+5:30, Aditya Bohra wrote: > > I am having problem Creating follow model . > This is to be used with django user model > I want to implement follow method like in twitter so how to implement that in django models -- You received

Re: Create Follow model

2018-11-09 Thread Aditya Bohra
I need to let a user follow other user -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send e

Re: Create Follow model

2018-11-09 Thread Aditya Bohra
I only inherited the Django user model to create my own and I saw that we can use "self" in relationship but cant figure out which one to use -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Fwd: Setting up admin in visual studio

2018-11-11 Thread Aditya Bohra
In urls.py from app_name.views import blog -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send

please my css file is not reflecting on mine page .the css file failed to load from mine base.html file

2018-11-20 Thread Aditya Bohra
I static configured correctly -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to dja

please my css file is not reflecting on mine page .the css file failed to load from mine base.html file

2018-11-20 Thread Aditya Bohra
Is* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com

When is provide custom ip like python manage.py runserver cannot login or signup

2021-08-30 Thread Aditya Bohra
Please help on localhost or 127.0.0.1:8000 everything is working fine but when i provide ip and port authentication is doesn't work -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from i