Anonymous
am beginner in django learning the things from scratch
Aashish
Follow django message framework docs
Cheshtaaaaaaa
Anonymous
Kk
Tatiana
Hi All
How to connect my file storage in backblaze to project .I mean how can I upload files to storage for deploy the project on Heroku..First deploy,guys need other side of problem.Also it can’t connect to storage from cli(Ubuntu)
Anonymous
Hi all, i want to embed video in my django page using html. I have done the code but the media appears on the page and does not play. Can someone help me on this?
Muflone
Miriam
Drey
Kairat
Hi guys. I have got one question. I have got 8 image fields in my Django models and when I send images, I wanna send it in array inside of Json.
So, how can I take all image urls and put inside of response. Btw there is also serializer
Jairaj
Tatiana
Yazan
Is Django easy?
AZAMAT 々
Andreas
AZAMAT 々
cj
cj
No
what? Django is easy to learn and to use, just read the documentation...
what part of Django did you find hard/difficult to learn/use?
Alex_war/M
KingFx
the groupif python users guys!
부산
Yeah, python is one of the best language among all languages
R..ch
cant access media file on site when upload site on Cpanel ? what is problem?
Binoy
In my Django production, sometimes auth session is getting changed. And the user is logging out automatically. It happens very occasionally. Anybody experiencing the same
Jairaj
Jairaj
I have been using it and there hasn't been any problem
Binoy
Okay
Binoy
Thanks will try
Binoy
Its happening only in production server and when i checked i realised that when a user logs in, his session id cookie is get saved in the djago_sessions table. But sometimes it getting changed during the login redirection
Tererai Tyler
Jairaj
Jairaj
U can also set after how long you want to expire tokens
Jairaj
And if you want, then you can also set if they can login from multiple machines
Amit
from django.shortcuts import render
# Create your views here.
def v_sum(request):
a=int(request.GET.get('n1',0))
b=int(request.GET.get('n2',0))
res=request.GET.get('r','na')
r=a+b
res=r
d={'res':res,'a':a,'b':b}
return render(request,'sum/sum.html',d)
Amit
http://127.0.0.1:8000/sum/s/?n1=1&n2=22&r=
Amit
i want to send data r=
Amit
how can i
Jairaj
Jairaj
Amit
Amit
res*
Amit
The view sum.views.v_s didn't return an HttpResponse object. It returned None instead.
Amit
how to solve this error
ERMIA
Guys How can I use hCaptcha in django for api calls fot login when I use djoser?
I didn't find any useful tutorial
ERMIA
Ganesh R
truncated or oversized response headers. can someone explain it how I fix it Apache+ mod_wsgi CentOS 7 django
Ewuru
Please I need Help:
Am having TimeoutError: [Win Error 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Ewuru
https://linkode.org/#m36tYKTnDoVsIGbfkJzfx5
Ewuru
Ariyo
Did you have an internet connection??
Ewuru
Yes
Manikanta
i have two models one AddInfo in that classname and subject and topics fields is there and im saving the data in database, another model was TeacherClass in that same fields is there like classname and subject and topic but when i enter the TeacherClass model fields classname and subject its automatically filtered AddInfo model classname and subject to display the topics in TeacherClass model
Example:
1.AddInfo model i have enter the data and save the database like 10Th class, maths subject, in that maths subjects so many topics is there right.
2. TeacherClass model when i enter classname and subject i need show that class and subject topics.
help me in that guys.
Ewuru
So is alright now
부산
Is there anyone who has integrated PayPal payment into her/his Django (Ecommerce) application?
부산
How have you done that? I want detailed information if it is possible. I am working on a Ecommerce
Олег
Hello, can you please advise. There is such a project structure on the rest api, but only package imports work in it. And all other imports from models and the rest do not work. What could be the problem? I do not have a virtual environment and I do it through docker. imports which of the requirements are imported but products or project are not.
back-end/
├── apis/
│ ├── donate/
│ │ ├── __init__.py
│ │ ├── urls.py
│ │ ├── views.py
│ │ └── ...
│ ├── products/
│ │ ├── __init__.py
│ │ ├── urls.py
│ │ ├── views.py
│ │ └── ...
│ └── ...
├── currencies/
│ ├── __init__.py
│ ├── models.py
│ └── ...
├── project/
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── ...
├── .env
├── Dockerfile
├── manage.py
└── requirements.txt
docker-compose.yml
Maxim
Ammar
Hey every one
Sorry if those were stupid questions.
What kind of django project and topics do you recommend if i want to improve my chance to find a work and to improve my cv ?
And is there is something like remote training chance or some thing similar ?
Doragonsureiyā
Jairaj
You would be required to verify the PayPal request
Jairaj
And then you can proceed with the transfer of the article you want.
Jairaj
Hope this is helpful
Jairaj
Jairaj
Have you put your app name in settings?
If yes, how?
Олег
Jairaj
Use this
currencies.apps.currenciesconfig
Google this
Олег
Jairaj
Олег
Means?
directory with settings
M. Hossein
I use UserPassesTestMixin and I have several tests
I want to redirect users to unique pages when one specific test fails
For example if user fails have_enough_money test, I want to redirect to no money error page
How can I achieve this?
부산
M. Hossein
How to do something before saving model in CreateView?
<\Hany>
<\Hany>