Hey, My number is mentioned below. Please give me your number I’ll add you in our slack/ Zoho workspace .
G O Narendra 19BCE1082 B.Tech CSE VIT University, Chennai +91 80720 14549 > On 22-Aug-2020, at 6:32 PM, [email protected] wrote: > > > [email protected] Google Groups > Topic digest > View all topics > Leverage Django 3.1+ async views to implement SSE - 1 Update > help required with a concept. - 3 Updates > Who can help me? - 3 Updates > [No Subject] - 3 Updates > django - admin error - 2 Updates > If posible connect Django with IBM i. - 1 Update > data too long in a CharField column - 1 Update > Sources for learning django - 2 Updates > Leverage Django 3.1+ async views to implement SSE > Benoit Blanchon <[email protected]>: Aug 22 01:46AM -0700 > > Hi, > > Documentation for Django 3.1 > <https://docs.djangoproject.com/en/3.1/topics/async/#async-views:%7E:text=The%20main%20benefits%20are%20the%20ability,long%2Dpolling%2C%20and%20other%20exciting%20response%20types.> > says > this about async views: > > *The main benefits are the ability to service hundreds of connections > without using Python threads. This allows you to use slow streaming, > long-polling, and other exciting response types.* > > I believe this means we could implement an SSE (Server-Sent Events > <https://en.wikipedia.org/wiki/Server-sent_events>) view without > monopolizing a thread per client, but I didn't figure out exactly how. > > I know about Django Channels, but I'm curious to see if we can avoid it. > > I initially thought StreamingHttpResponse was the way to go since it has > been used successfully to implement SSE with synchronous views > <https://stackoverflow.com/a/55522953/1164966>. Still, I would accept any > solution based on asynchronous views. > > I opened a bounty on stack-overflow > <https://stackoverflow.com/q/63316840/1164966>, but so far, no viable > solution was proposed. > > Does anyone know how we could leverage async views to implement SSE? > > Best regards, > Benoit Blanchon > Back to top > help required with a concept. > Asish Ojha <[email protected]>: Aug 21 04:49PM -0700 > > i am designing a project on online registration of students for an > educational institution. Now that institution is having several schools > registered under it. The School has a school id code and school name. Now i > want a generalised login system for the school where they have their school > id code as their login id and a standard password trend like > school_ind@institution and as a second level authentication a sms based > otp. Now when the school logs in it can register students for the exam and > while registering the school id shown in school choices of student is the > only the school id with which login has been done and in list view only > students of that particular school shows up. the school login shud have the > crud right for that schools student. how to implement this . > Ogunsanya Opeyemi <[email protected]>: Aug 22 06:40AM +0100 > > Hi you need to carefully create an algorithm because this implementation is > a big one. Send your whatsapp number to me if you still dont get what i > meant. If i could help you in it. > > > -- > OGUNSANYA OPEYEMI > Mike Dewhirst <[email protected]>: Aug 22 04:34PM +1000 > > From my perspective the difficult part is OTP and interfacing with SMS > because I haven't done that before.The relational design requires modeling > real world relationships which usually isn't hard. Trying to use > "@institution" for userid is fraught with potential problems. Normally a > registration system lets a user keep entering names until getting one that is > unique. I built a similar system where it is companies rather than schools > and consultants (and employees) get linked by foreign key to only one > company. That means they only see that company's information. However, any > consultant can work for multiple companies. We decided in that case they had > to have multiple logins and we recommended they use @company for the sole > reason of reminding themselves which company they are currently working on. > That works because they can use for example mike@thiscompany and > mike@thatcompany etc. The software doesn't care what the userid is and nor > should it. Keep things as simple as possible.Users can have roles. > django.auth.group is useful for differentiating between teachers and students > re permissions and also your software can then easily discover which group(s) > a user is in and adjust accordingly.Users can have FK relationships not only > with schools but between themselves. That would be a many-to-many with "self" > to allow users in the student role to be connected to one or more users in > the teacher role. And so it goes. The secret of success is to model the real > world relationships as closely as you can. Roles can then confer different > access to various capabilities the same way it happens in real > life.CheersMike--(Unsigned mail from my phone) > -------- Original message --------From: Asish Ojha <[email protected]> > Date: 22/8/20 09:49 (GMT+10:00) To: Django users > <[email protected]> Subject: help required with a concept. i am > designing a project on online registration of students for an educational > institution. Now that institution is having several schools registered under > it. The School has a school id code and school name. Now i want a generalised > login system for the school where they have their school id code as their > login id and a standard password trend like school_ind@institution and as a > second level authentication a sms based otp. Now when the school logs in it > can register students for the exam and while registering the school id shown > in school choices of student is the only the school id with which login has > been done and in list view only students of that particular school shows up. > the school login shud have the crud right for that schools student. how to > implement this . > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/237d8174-5144-4bbb-a418-d5e3f9712366n%40googlegroups.com. > Back to top > Who can help me? > Hella thor <[email protected]>: Aug 21 02:23AM -0700 > > Hey guys: > > My python version is 3.7.1 > Django version is 3.1 > > When I started the project > > [image: 9.png] > Ahmed Yasin <[email protected]>: Aug 21 06:36PM +0500 > > Can you tell me what are you trying to do? > > On Fri, Aug 21, 2020, 6:29 PM Hella thor <[email protected]> > wrote: > > Hella thor <[email protected]>: Aug 22 08:29AM +0800 > > - > > Why did he report an error?It's 'Watching for file changes with > StatReloader' > > > Ahmed Yasin <[email protected]> 于2020年8月21日周五 下午9:38写道: > > Back to top > [No Subject] > ankit baliyan <[email protected]>: Aug 21 08:16PM +0530 > > Plz, tell me how to deploy docker django project on server > Tobi DEGNON <[email protected]>: Aug 21 05:08PM +0100 > > You can try dokku, search dokku on Google, if you have already deploy on > Heroku, it is very similar, you just need to install dokku on your Vps, > they have really great doc or you can try this > https://djangocentral.com/deploy-django-with-nginx-gunicorn-postgresql-and-lets-encrypt-ssl-on-ubuntu/ > > Le ven. 21 août 2020 16 h 25, ankit baliyan <[email protected]> a > écrit : > > ankit baliyan <[email protected]>: Aug 22 12:16AM +0530 > > Thank you so much sir, > > > Back to top > django - admin error > sapna Choudhary <[email protected]>: Aug 21 01:58PM +0530 > > run command line django-admin ,you will see list of commands to run > > RANGA BHARATH JINKA <[email protected]>: Aug 21 08:13PM +0530 > > Try using virtual environment > > Back to top > If posible connect Django with IBM i. > "Eduardo Alberto Marcó" <[email protected]>: Aug 21 04:50AM -0700 > > Which are the parameters to settings.py > Back to top > data too long in a CharField column > hans alexander <[email protected]>: Aug 20 10:53PM -0700 > > I changed my database from mysql to postgresql. > But when I tried saving data on forms, I got this error " value too long > for type character varying(50)" > I don't know why, because when I was using MYSQL, I didn't get any error. > Can someone help me with this Postgresql? > On Monday, May 4, 2009 at 10:46:53 PM UTC+7 MS wrote: > > Back to top > Sources for learning django > "Md. Nazmul Hossain" <[email protected]>: Aug 21 02:01PM +0600 > > It is the best for beginners to professionals. > https://wsvincent.com/best-django-books/ > > sapna Choudhary <[email protected]>: Aug 21 12:28PM +0530 > > Follow Corey Schafer youtube channel and don't have any about any book. > Documentation of django would take away your interest to learn django so > start with this channel. > please do share your experience.Corey Schafer > <https://www.youtube.com/results?search_query=corey+schafer+django> > > Back to top > You received this digest because you're subscribed to updates for this group. > You can change your settings on the group membership page. > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7F2FD67C-2849-4EC0-B617-F5826134A89D%40vitstudent.ac.in.

