Anonymous
who worked on allauth for social media
Anonymous
can you help me
Doragonsureiyā
who worked on allauth for social media
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
okay
Khumoyun
Hello, project = Django I am using UpdateView with form_class. in my form I used init method for chained selection BUT my edit object datas not displatying in template Question: Can I use init method in my Form which is connected with UpdateView
Anonymous
Thank you
Anonymous
Serializer.data is returning Ordereddict in it, json.dumps doesn't work...can someone have better idea?
When i convert serializer.data to json, it always says object of type type is not json serializable
Anonymous
Please help
Suresh🌞
Hello I am facing an error in
Suresh🌞
Bro i have implemented and it's working perfectly.. Tracking all the activities But the problem is Like i have 2 tables One User table it's the default table Contain... Username, passwords ect... And i have created another model clss
Suresh🌞
Error shows,page not found 404
Mirco
show the code via pastebin
Viсtor
Hello guys, i'm little stuck, maybe someone know how to add items in admin panel navbar?
😉
Hello, I wants to integrate Razorpay with django-oscar. Can anyone share any documentation on that
Mílés
hello, can i get soloution related django
Mílés
hey can I get help plss..., how can i add template in setting of django
Mílés
what i hv to write in ""'DIRS': [ ],"" .. if i hv to add template file location on tht file above its written ""# Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(file).resolve().parent.parent""
Mílés
ohh sorry .. but i found there ..
Mílés
ok wait i m going to see ur link
Mílés
why don't you google it first? literally it's the first result in Google https://docs.djangoproject.com/en/3.1/topics/templates/
ohh thanks brother.. i was really confused ..finally i got .. but i wrote full location there .. is there any simple way ... like we ccan use BASE DIR / smthing like tht
Arezoo
Hi.how can i define access level in django for diffrence user?
Arezoo
For example when user login un django admin panel...he can edit some table ...
#!/bin/sh Inَactive
For example when user login un django admin panel...he can edit some table ...
permissions if this gonna involve users not staff then u better bring that to frontend outside of the administration panel
âshîsh
For example when user login un django admin panel...he can edit some table ...
Admin panel > Users > create one & assign permissions for particular model
âshîsh
🙏🙏
My reply was ridiculous or upto mark ?? 😂
Arezoo
My reply was ridiculous or upto mark ?? 😂
Thanks it is the best reply ..i want create other permissions in group table .can i ?
âshîsh
You can create multiple users & can allot a group & then can assign permissions to that group. Or you can assign permissions to particular user. Permissions included read write and both
Anonymous
the power of regex ?
Divyansh
* How to deploy django website *
Naol
on apache or nginix.
Naol
or with the built-in server
hello
Hey is there any project i can contribute 😊
hello
Have a look on GitHub
Can you suggest me some beginner level
Mirco
Can you suggest me some beginner level
I don't know honestly, try to filter on GitHub for first issue Usually they are easy
Mirco
* How to deploy django website *
Study Deployment topic on official doc
Naol
Hey is there any project i can contribute 😊
i am creating a polling project would you like to contribute
hello
I don't know honestly, try to filter on GitHub for first issue Usually they are easy
Yeah i tried that a lot but beginner/first issue are not that easily available and already several pending pull requests pending for almost all of the issues
Asadbek
How can I register new user on user page
Arezoo
You can create multiple users & can allot a group & then can assign permissions to that group. Or you can assign permissions to particular user. Permissions included read write and both
I assign permission in user in admin panel..but when i log in with this user ..he can see all of table and edit them...what is my problem?😔
Miguel
Can I use a MapReduce output in a Django app ?
Georgev:
Greetings
âshîsh
I assign permission in user in admin panel..but when i log in with this user ..he can see all of table and edit them...what is my problem?😔
Do necessary setup- 1) Create user 2) check the box of 'is staff' 3) goto available permission & select the permission for particular model you have created by migrations in database.
Suresh🌞
Heello
Suresh🌞
i have requirement to develop, it might take 10days time to finish the work
Suresh🌞
Anyone do this..
DD
Anyone do this..
how mush $ can u offer?
Divyansh
How to upload media in TinyMce 8n Django
😉
Hello, I wants to integrate Razorpay with django-oscar. Can anyone share any documentation on that
Bunty chhatri wala..
I have 1 Choice field in my model.. Which have many categories.. But i want if user wants more categori he can add by himself.. instead of hardcoding from db.. Is there any way to do this?
âshîsh
I have 2 lists & my short code is as follows: list1= [1,2,3] list2=['apple','berry','cherry'] listx=list1, list2 I want to access elements of list1 only from listx inside Django template. Any idea for that ??
âshîsh
Yes
âshîsh
listx[0], since we know its the first 1
Yea, but how to display this in Django template
Agent Q
When you do listx=list1, list2, it returns a tuple.
âshîsh
I am trying this
âshîsh
Nope...
âshîsh
It's showing only elements of b
Anonymous
It's showing only elements of b
Have you tried nested for loop? You can use forloopcounter with if statement.
Suraj
can any one send me tutorial for django channel
âshîsh
Have you tried nested for loop? You can use forloopcounter with if statement.
I used that, but It's getting so messed up while displaying on screen along with lots of elements. Thus finding alternate solution
Anonymous
It's showing only elements of b
Iterate over tuple If counter is 1 Access your list
Anonymous
I'm not sure about templates but when I used CSV file... I used list.0 list.1 Like this to acces the values at particular index you can try it
dominic
How to handle media files in python anywhere.com. static files are working fine but media files like the image which is uploaded by user is not working
Anonymous
can any one send me tutorial for django channel
https://channels.readthedocs.io/en/stable/ https://youtube.com/playlist?list=PLLRM7ROnmA9EnQmnfTgUzCfzbbnc-oEbZ