Unable to send message from consumer to other in channel

2020-12-11 Thread muhammad...@gmail.com
I have to channel for for chat room and other is to pass notifications to user but problem that i am facing is that i may notify consumer user can connect to group identified by there id and when i try to send message from chat consumer to notify consumer it say no handler for type notify_messag

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
TYPO ERROR in Rest_Framework :{ 'Default_Atuhentication_classes, I wrote authentication On Sat, Dec 12, 2020 at 9:28 AM Nitin Kalmaste wrote: > What was the bug? > > On Sat, 12 Dec 2020, 8:52 am narendra thapa, > wrote: > >> yeah i figured out the problem bro thank you very @Nitin Kalmaste much

Re: Admin help class CSS

2020-12-11 Thread Mike Dewhirst
Thank you Larry ... I'll give it a try - although I suspect it will need a Django guru because it is deep in the admin and possibly protected from ordinary fiddling.CheersMike--(Unsigned mail from my phone) Original message From: Larry Martell Date: 12/12/20 08:59 (GMT+10:00)

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
What was the bug? On Sat, 12 Dec 2020, 8:52 am narendra thapa, wrote: > yeah i figured out the problem bro thank you very @Nitin Kalmaste much > giving your previous time. > > On Sat, Dec 12, 2020 at 8:00 AM narendra thapa > wrote: > >> Nothing works for me tried everything, always throws a for

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
yeah i figured out the problem bro thank you very @Nitin Kalmaste much giving your previous time. On Sat, Dec 12, 2020 at 8:00 AM narendra thapa wrote: > Nothing works for me tried everything, always throws a forbidden. Djoser > documentation says support upto Djnago-restframework V11 but i have

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
Nothing works for me tried everything, always throws a forbidden. Djoser documentation says support upto Djnago-restframework V11 but i have got V12. Is that a problem or what. I am not able to figure it out. On Fri, Dec 11, 2020 at 11:17 PM Nitin Kalmaste wrote: > There is space between jwt and

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
shall i remove the space between it or what. According we need to give onespace between jwt right On Fri, Dec 11, 2020 at 11:17 PM Nitin Kalmaste wrote: > There is space between jwt and token i.e. Authorization: jwt > > On Fri, 11 Dec 2020, 9:03 pm narendra thapa, > wrote: > >> i have used p

Re: Python Django Training

2020-12-11 Thread paidjoo indo
Am too, I'm interesting training Django On Mon, Dec 7, 2020, 3:09 PM narendra thapa wrote: > hello please add me also in training group? > > > On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam > wrote: > >> Hi, >> I also from Hyderabad and I'm also interested in the training. please >> tell me how

Re: Python Django Training

2020-12-11 Thread Chuck
I'm interested too. Thnaks. On Friday, December 11, 2020, 07:36:45 AM PST, Mitchel Inaju wrote: I'm interested Could you please add me up? On Mon, 7 Dec 2020, 9:09 am narendra thapa, wrote: hello please add me also in training group? On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam wr

Re: Admin help class CSS

2020-12-11 Thread Larry Martell
If you have a pure CSS question, this list can be very helpful: https://www.css-discuss.org/mailman/listinfo/css-d/ On Fri, Dec 11, 2020 at 4:56 PM Mike Dewhirst wrote: > > Joash > > By all means. If I wasn't entirely clear, I am using html inside model.field > help_text - which works nicely in

Re: Admin help class CSS

2020-12-11 Thread Mike Dewhirst
JoashBy all means. If I wasn't entirely clear, I am using html inside model.field help_text - which works nicely in the Admin for and and the like.The mission is to design CSS styling to reduce padding and remove cell boundaries and adjust colours. I need to offer sophisticated styled "help"

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
There is space between jwt and token i.e. Authorization: jwt On Fri, 11 Dec 2020, 9:03 pm narendra thapa, wrote: > i have used postman also to check the endpoint but same problem. I think > problem is in django backend not in react. > > On Fri, Dec 11, 2020 at 9:14 PM narendra thapa > wrote: >

Re: Problem re-rendering ClearableFileInput on validation error

2020-12-11 Thread Michael Goffioul
Note that if the user decides to upload a new file on step 2, the field will then be re-rendered with the uploaded file object, which also ends up rendering a blank file input. Is there a case where FileField.bound_data() should return anything else than the initial value? On Fri, Dec 11, 2020 a

Problem re-rendering ClearableFileInput on validation error

2020-12-11 Thread Michael Goffioul
When a form containing a ClearableFileInput is re-rendered (e.g. due to validation error of some other field), and the clear checkbox was checked on the first submit, the widget is rendered without initial value, as empty file input. For instance, let's says there's a model with ImageField and

Re: Python Django Training

2020-12-11 Thread Mitchel Inaju
I'm interested Could you please add me up? On Mon, 7 Dec 2020, 9:09 am narendra thapa, wrote: > hello please add me also in training group? > > > On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam > wrote: > >> Hi, >> I also from Hyderabad and I'm also interested in the training. please >> tell me h

Re: django app deployement

2020-12-11 Thread 'Trish c' via Django users
Hello, I can help you. Please share your Email or Skype. BR Trish Email/Skye - tr...@cisinlabs.com On Friday, December 11, 2020 at 5:04:23 PM UTC+5:30 Kasper Laudrup wrote: > Hi Eugene, > > On 12/10/20 4:14 PM, Eugene TUYIZERE wrote: > > I have an issue to disploy django app using IIS on Window

Re: Admin help class CSS

2020-12-11 Thread Joash Monda
Hello mike got your problem... On Fri, Dec 11, 2020, 05:35 Mike Dewhirst wrote: > I'm a CSS dunce so please point me in the right direction (docs or > whatever) to figure out how to adjust table layout in Admin help_text. > > The table displays properly but is too greedy with screen real-estate.

Re: Admin help class CSS

2020-12-11 Thread Joash Monda
Can we work together Sir. On Fri, Dec 11, 2020, 17:57 Joash Monda wrote: > Hello mike got your problem... > > On Fri, Dec 11, 2020, 05:35 Mike Dewhirst wrote: > >> I'm a CSS dunce so please point me in the right direction (docs or >> whatever) to figure out how to adjust table layout in Admin h

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
i have used postman also to check the endpoint but same problem. I think problem is in django backend not in react. On Fri, Dec 11, 2020 at 9:14 PM narendra thapa wrote: > const config1 = { > headers:{ > 'Content-Type':'application/json', > 'Authorization':`JWT ${res.data?.access}`, > 'Accept':'

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
const config1 = { headers:{ 'Content-Type':'application/json', 'Authorization':`JWT ${res.data?.access}`, 'Accept':'application/json' } } console.log('hello',config1) try{ const res1 = axios.get(`http://localhost:8000/auth/users/me/`,config1).then( response => response ) console.log(res1); }catch(e

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
Can You send me json request details, how you are sending data to server using react On Fri, Dec 11, 2020 at 8:21 PM narendra thapa wrote: > I have followed the documentation. and done all the thing that i could do. > i am getting access token but not able to authorize > here is my code in stack

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
I have followed the documentation. and done all the thing that i could do. i am getting access token but not able to authorize here is my code in stackoverflow please check it once. I have followed a tutorial for the same in that he is able to access but i got stuck. for frontend i'm using the Reac

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
Getting started — djoser 2.0.1 documentation -- Use this as a reference and start your project On Fri, Dec 11, 2020 at 8:09 PM Nitin Kalmaste wrote: > Have you followed the official documentation? i dont't see that you have > used a

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
Have you followed the official documentation? i dont't see that you have used any settings On Fri, Dec 11, 2020 at 7:10 PM narendra thapa wrote: > here is the project > > On Fri, Dec 11, 2020 at 5:02 PM Nitin Kalmaste > wrote: > >> Can you share some of your code so we can figure it out? As ear

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
here is the project On Fri, Dec 11, 2020 at 5:02 PM Nitin Kalmaste wrote: > Can you share some of your code so we can figure it out? As early as > possible > > On Fri, 11 Dec 2020, 3:18 pm narendra thapa, > wrote: > >> I am using JWT . I can get the access and refresh token and while >> i resen

Re: django app deployement

2020-12-11 Thread Kris A. Stern
Hey, Do you mean to ask how to run Django locally on Windows 10, or how to deploy the Django app for production on a Windows server? For example: https://docs.djangoproject.com/en/3.1/howto/windows/ If it’s for production I prefer using Heroku for a seamless integration of my local to my product

Re: django app deployement

2020-12-11 Thread Walter Randazzo
Good morning whats the issue? greetings El vie, 11 dic 2020 a las 8:33, Kasper Laudrup () escribió: > Hi Eugene, > > On 12/10/20 4:14 PM, Eugene TUYIZERE wrote: > > I have an issue to disploy django app using IIS on Windows server 2019. > > I am using python 3.8.3 and django 3.0.8. Please ass

Re: django app deployement

2020-12-11 Thread Kasper Laudrup
Hi Eugene, On 12/10/20 4:14 PM, Eugene TUYIZERE wrote: I have an issue to disploy django app using IIS on Windows server 2019. I am using python 3.8.3 and django 3.0.8. Please assist on this challenge. It's hard for anyone to assist you if they don't know what issue you have and therefore h

Re: WSGIAUTHORIZATION

2020-12-11 Thread Nitin Kalmaste
Can you share some of your code so we can figure it out? As early as possible On Fri, 11 Dec 2020, 3:18 pm narendra thapa, wrote: > I am using JWT . I can get the access and refresh token and while i > resent the access token Authorization : JWT it send 403 > forbidden. I am using DJOSER and si

Re: WSGIAUTHORIZATION

2020-12-11 Thread narendra thapa
I am using JWT . I can get the access and refresh token and while i resent the access token Authorization : JWT it send 403 forbidden. I am using DJOSER and simple JWT for authentication and authorization. On Fri, Dec 11, 2020 at 1:45 PM Nitin Kalmaste wrote: > Check weather sending token in a