Megatron
Sopan
not sure what you mean by office.. check Django Channels
Sopan
Channels do provide websocket support .. and works best!
Anonymous
"Abstractuser" Did not migrate as database omite Please help me. How to migrate db ?
Megatron
not sure what you mean by office.. check Django Channels
I heard than django 3.0 has default support for websockets.And I found this conversation which makes me so confused. https://stackoverflow.com/questions/61850321/django-channels-vs-django-3-0-3-1
Sopan
hmm... now i am also confused .. ROFL i used channels + django 3.x to achieve my websocket requirement... and it's working fine.
Anonymous
Guys anyone have experience with custom user. Please tech how do correct way 🙏
Agent Q
Any documentation or video tutorials for websockets
https://realpython.com/getting-started-with-django-channels/
Jack👨🏻‍💻
Guys anyone have experience with custom user. Please tech how do correct way 🙏
i am also looking for this please anyone having good knowledge please explain
Agent Q
Explain custom user
Agent Q
I was referring to others asking for what they meant by "custom user". Do they meant extending or creating a new user?
Agent Q
Sort of extending
Can you be a bit more specific? Maybe an example will help?
Anonymous
i am also looking for this please anyone having good knowledge please explain
Custom user I.e student/teacher/principal access for different levels permission to allow
Jack👨🏻‍💻
yes
Jack👨🏻‍💻
i need this exactly
Agent Q
Ravindra @udaay7 https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project
Agent Q
Custom user I.e student/teacher/principal access for different levels permission to allow
https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#custom-permissions
Agent Q
Share the error and someone can help you
Anonymous
That's a different issue
Yeah. it's not Normal so it's literally difficulty.
Anonymous
Good luck then
Do you have experience with different level permission custom user as a abstract user method
Anaconda
Can anyone explain about django signals.
pankaj
Guys I m facing issue while doing migration my all table is not creating in DB, so if anybody will help with anydesk it's really helpful.
pankaj
No errors message is displaying while migrate just creating 10 table only and total table is almost 45.
pankaj
If I m doing migration again message is displaying " no migration to apply"
pankaj
No
Prince
Can anyone explain about django signals.
In simple: Signals are functions that are called after some particular event. for eg: when a model object is saved ( post_save ) or when model object save isn't called yet but data is given to be saved ( pre_save )
Anonymous
pankaj May I which db used?
pankaj
MySQL
pankaj
On Xampp
Agent Q
If I m doing migration again message is displaying " no migration to apply"
It's saying there's no changes since last migration. Therefore, no migration to apply.
Anonymous
pankaj I think it is very simple. Shut down your PC then. can you try
Anonymous
pankaj let you know
Anonymous
Guys I m facing issue while doing migration my all table is not creating in DB, so if anybody will help with anydesk it's really helpful.
1. Check if you have mentionedd the app name in installed apps. 2. Check if you have included urls.py of your app in main urls.py file
Anonymous
pankaj what happen?
pankaj
Trying again
Anonymous
Trying again
Check your xampp server
pankaj
While migrate table no 11. 0011_update_proxy_permission
pankaj
After that not creating next table
pankaj
Yes
Anonymous
Yes
which method is use?
Anonymous
Yes
in myself create manually for custom user then work to do create superuser
pankaj
Trying
Anonymous
Trying
Created manually?
Khumoyun
Hello, Question: Which lib works perfectly for generating PDF Certificate? P.S: pdfkit or pil and img2pdf
Riswandi
The fuck happened
Khumoyun
I too need this answer
another option is reportlab
Mr. Marlega
Abdul Aziz
Def cost_view(request, I'd ): Please how do pass this id in class based view
Use class CostView(generic.DetailView): It automatically use pk as id in views.py as path("<int:pk>/", views.CostView.as_view())
Tushar
Def cost_view(request, I'd ): Please how do pass this id in class based view
I definitely prefer to use function based views here too as it's very flexible
Abdul Aziz
I definitely prefer to use function based views here too as it's very flexible
Yeah me too you can code whatever you want from scratch
Tushar
Yes I only use gvbv when I don't have to change anything
h3h3
excuse me, is there any django 3 good course in youtube?
Tushar
https://docs.djangoproject.com/en/3.1/intro/tutorial01/ This is the first django tutorial https://youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p This is an all time best https://www.youtube.com/channel/UC_5JilzwYSqd-5C430yEPAA/playlists This project topic looks interesting and it's pretty deep so it should be good when it's complete
Divyansh
How to create pages along with pages associated with one slug
Tushar
How to create pages along with pages associated with one slug
Use its primary key to refer to that page
Divyansh
I want refrence
Divyansh
Please
Talha
how to use loaddata to save data(json) into specific app model
odin
Has anyone given think360.ai full-stack interview recently?
SAM
Hey guys can you tell me how to use npm packages in django?
Tushar
I don't think that's possible