Andrew
Can any one tells me the Difference between the beginners code & the experts code in development with Django
DoT
-webkit-appearance it shows error in template ....how should i write this???
Iam
does anyone know how to implement microservices in django
Iam
(anyone have and videos or any other resources)
أيمن سليم عامر
I have 2 separate application on the same server I use redis for session I get Session data corrupted
mani
How to send otp to the registered mobile number in Django
mani
Pls tell me
Izbash
How to send otp to the registered mobile number in Django
By external API ( twillio for example ) Do you want something like in this article? https://www.twilio.com/blog/enable-multiple-otp-methods-django
Anonymous
nope
What's that?
Tamerlan
Who can explane me what is channel layers or why used it in django. I write this in doc bu do not understand
Muhammed emin
Hello, I want to write a code that will be affected after 30 minutes when a model is created in django, but I couldn't, can you help?
The Inspired
Hello, I want to write a code that will be affected after 30 minutes when a model is created in django, but I couldn't, can you help?
use time.sleep module from python and write your code inside that after you save your model data.
Afshin👀
hi why my css files is not updating in django how can I update my css files for changes?
Арсений🍄
hi why my css files is not updating in django how can I update my css files for changes?
1. Try to make hard reset of your browser by clicking cntrl+round arrow in your browser 2. Try to rename your css files
Арсений🍄
that worked on me
Арсений🍄
thanks
pls write back if it works
Afshin👀
ok
Afshin👀
Afshin👀
I use base.html for wallet.html and my base.css is updating but wallet.css is not updating in one screen
Afshin👀
why?
Sachin
hi why my css files is not updating in django how can I update my css files for changes?
There are some tricks for making css files in static folder to work.. try googling it out. We faced the same issue when we tried last yr
Sachin
There are many tricks so cant be sure of which one would work for u
Sachin
So suggesting u to pls Google on how to make external css files to work with django template
Afshin👀
i fix it but thanks for answering
Afshin👀
fixed
Om
Can anyone help me out with this i m try trying to make a django tshirt selling website ,i want to add a customize your own tshirt functionality in that that so how can I do that is their any third-party pakage for that i tried chatgpt it suggested me to use canva but how can I join canva to my django website
Jitxs
how to take value from html to backend in views.py like var = request.post["name"] in django obvious but without using <form> tag
Jitxs
request .POST.get('name')
that won't work without form
Om
Use ajax then
Jitxs
or wait is it cuz of round bracket ?
Jitxs
Use ajax then
ahh any other like what are you using currently ?
Jitxs
is there any way with javascript ?
Anonymous
You can make use of apis
Om
is there any way with javascript ?
Yes use ajax search on Google
Jitxs
like first i have to make a postman api right ?
Anonymous
Use api then test those api using postman or other platform then make a payload file
Anonymous
Then from that file link to frontend
Jitxs
i see thanks
Jitxs
will try this one
Anonymous
Hello, I have an online store on django, lately some bots have been looking for directories and files on my site, how to track and block them, at the moment I can block them on the main page and admin pages, through iptables, but how to track not existing paths
Anonymous
Hello guys, Am working on an app called accounts, I've used Abstract class on my CustomUser model and also added AUTH_USER_MODEL = "accounts.UserAccount" to my settings.py but am getting this error 'django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'accounts.UserAccount' that has not been installed', what might be the problems as accounts is includes in the settings.py also
Anonymous
here's the code for models.py https://pastebin.com/dHGy9mqR
The Inspired
let fD = new FormData(); fD.append("name", (your value)); then do fetch("url", {method:POST, body: fD}) and then in your view you can get it
The Inspired
otherwise send it through request params
Om
Let me look at it
If you use abstract= True it doesn't make its table in database and the error can be solved by including the file in your init.py file
@j@y
Can anyone help me with this?
What type of customization you need
Om
The use can design his tshirt their can save it and ask us to print it something like that
Xeon
Can someone help out? How do I create endpoints in Django
Doragonsureiyā
Can someone help out? How do I create endpoints in Django
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Ayoub
hi guys
Ayoub
i need a function use in input a mail domain and return IMAP/POP settings
Nabil
What are the best practices of doing filter like book search filter or comments ordering by newest, trendy etc...? Generic way as logic and view because this pattern is so repetitive
Ilya
How I can use authorisation/authentication users without JWT and Joser. You knows how I can realize it?
Ilya
built in session id
Documentation Django/RestAPI have this method?
🧚‍♂️
ModuleNotFoundError: No module named 'allauth.customer'
🧚‍♂️
Hi, I got this error when I had changed ‘account’ to ‘customer’ everywhere, don’t you know why I get this error?
🧚‍♂️
I changed because I was getting errors saying something about duplicates of "account"