Zain
how to send otp for verification on user's whatsapp in django website? anyone got a lead?
Maxim
Saint
👍
Madhav
I want add model field of I'd as primary key and auto increment field for postgresql, please suggest how to write
mAXY
Shukurillo
vote{{ choice.votes|pluralize }}
what does the above do?
William
Shukurillo
Вова
Hi guys, how I can track the similar links?
for ex:
log/1
log/2
log/3
....
And another question - how I can put another attribute in function beside request(path('',view.func(request,attr))
Rahul
I have implemented this... It creates user but on the rest token i get a page not found
Anonymous
Share code
Fox
Could someone please provide me any enterprise level open source code django project link??
Rahul
urls.py
Rahul
installed app
Rahul
though it might be very slow if we do it on device
Doragonsureiyā
installed app
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Rahul
ok
Rahul
but that is already commented
Mounted
Hello
How can I call the celery task function after the page has loaded?
Help me please
elf
elf
Check the celery docs to see how to hook it up in your project
elf
Then, you can call a some_function.delay(args, **kwargs) where some_function is a function you defined with the celery shared_task decorator and args are the function's arguments
Rafael
Rafael
Mounted
Anonymous
Anyone knows dj server run with react app
Anonymous
Is Anyone know that how to run that after build react
Anshu
Anshu
Anonymous
S A I
I have a query on Django related task can anyone help me?
Shukurillo
def test_no_question(self):
"""
If no questions exist, an appropriate message is displayed.
"""
response = self.client.get(reverse('polls:index'))
self.assertEqual(response.status_code, 200)
self.assertContains(response, "No polls are available.")
self.assertQuerysetEqual(response.context['latest_question_list'], [])
this code runs and there is no mistake, but index model I have already data. The question why there is no mistake in response?
Python Guy
When user post some data, I want it to be hashed in my database and only owner of that data can see his post on his dashboard. What library should I use?
ALTER EGO
Sakshi
hello, I have a Django related doubt is there anyone who can help me with it?
Is it possible to add multiple images through admin site?
cr
Sakshi
& what about serializer class?
Anshu
S A I
I need to create a views for voting for a poll so that I created some views but it’s not working properly
Python Guy
hashlib
but problem is I am not able to de-hash. So I will user able to see what they have creation. Mainly I want to create two function, one will hash and will have some secret key that can be used by second func to so it will be able to decrypt those data when user want to access his post.
0x
django set debug=False, and set `STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / 'static'.` But accessing http://127.0.0.1:8000/admin/login/?next=/admin/ the css and js files still shows 404
0x
are the any other setting params?
Morteza
Morteza
yes in project folder > urls.py
if settings.DEBUG:
    urlpatterns += static(settings.STATIC_URL,
                          document_root=settings.STATIC_ROOT)
    urlpatterns += static(settings.MEDIA_URL,
                          document_root=settings.MEDIA_ROOT)
0x
ok tks
R@kesh
Which application is best for develop django devlopment
Jerome
Jerome
Proton
Hello
Good afternoon.
Please id like to know if anyone here has implemented squareup payment system on django application?
Coding
I've 4 tables... I want to connect them how to do that in django
Kshitij
Anyone can help me with login signup logout forget password codes
i am new on django
Anshu
Carsalberto
Only user is_superuser can create a new user?
Mirco
Carsalberto
👍
Dot enum
I'm using simple history models and I'm not able to get history user in production but it's coming in local.
CAN ANYONE HELP ME IN THIS?
ALTER EGO
Mirco
Nabin
I want to integrate tawkto chat in my django website but I m not able to integrate.
Plz help me out
Jerome
Anshu
Amit
Hello i want to call multiple forms from admin model
Like i have created resume building app in which i have created models like
Profile
Education
Experience
Skill
So i create form for profile and education and also create saperate template but on both template it show ither profiles model or education model.
Given seperate URLs to both template but still get same result on both
Please suggest?
Anshu
Amit
Anshu
Consider using ajax form submit
Redrick
Hello, who can tell where can find material on creating a forum on django.
Anshu
Redrick
محمد همتی 👨💻
İş Django better than nodjs?
Azamat
What using it depends from your task
محمد همتی 👨💻