Vinayaka
https://github.com/kimlimjustin/google-form-clone
Yazan
hello! how can i create a thumbnail from an uploaded video automatically using django?
Dani
Hey guys, I've got a question. I'm implementing 2fa based on the user's selection (email, SMS, Google Auth). Anyway, I've made two endpoints, the first one receives the login credentials, the second one receives the 2fa/otp code. My problem is with linking these two. I'm not sure what the best way would be to go about that. Somehow passing along the login credentials to the second endpoint? Right now, a person can directly visit the second endpoint, use their email + code and log in. Perhaps there's a way to limit django's login() function?
Chandra
Hi guys how to query directly the json data without using the database in django?
Itachi 🦅
How to sent mobile sms in Django from one mobile number to another
Baljinder
Failed to load resource the server responded with a status of 404 not found
Baljinder
Anyone who can help ?
Doragonsureiyā
Failed to load resource the server responded with a status of 404 not found
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Baljinder
It's error in Google console section
Mahesh
My home page is ready
Mahesh
I just want to know about ecomm website how to implement all stuff in django
Abhi
from django.shortcuts import render from WebApp.models import Emp # Create your views here. def EmpView(request): EmpList=Emp.objeccts.all() … MyDict={'elist':EmpList} return render(request,'MyApp/welcome.html',MyDict) ▼ Local vars Variable Value request <WSGIRequest: GET '/jinja/'>
Abhi
can say what's the issue
Nana
I need help
Doragonsureiyā
I need help
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
Nana
raise AppRegistryNotReady("Apps aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet
Raj
i am facing problem in uploading image url from google
Raj
OperationalError at /admin/products/product/add/ no such table: main.auth_user__old Request Method: POST Request URL: http://127.0.0.1:8000/admin/products/product/add/ Django Version: 2.1 Exception Type: OperationalError Exception Value: no such table: main.auth_user__old Exception Location: C:\Users\rajla\PycharmProjects\pythonProject\venv\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 296 Python Executable: C:\Users\rajla\PycharmProjects\pythonProject\venv\Scripts\python.exe Python Version: 3.10.5 Python Path: ['C:\\Users\\rajla\\PycharmProjects\\PyShop', 'C:\\Program Files\\Python310\\python310.zip', 'C:\\Program Files\\Python310\\DLLs', 'C:\\Program Files\\Python310\\lib', 'C:\\Program Files\\Python310', 'C:\\Users\\rajla\\PycharmProjects\\pythonProject\\venv', 'C:\\Users\\rajla\\PycharmProjects\\pythonProject\\venv\\lib\\site-packages']
Of course
Hi, When I try to save a object to model I receive this error.
Of course
Hi, When I try to save a object to model I receive this error.
IntegrityError at /admin/store/order/add/ duplicate key value violates unique constraint "store_order_pkey" DETAIL: Key (id)=(1) already exists.
Raj
but still its the same
Pharez
Can we connect two different web sites to same host? For example we have two web sites which one is written in ASP.NET another is written in django. Can we get data from one host for two web site?
M_N
IntegrityError at /admin/store/order/add/ duplicate key value violates unique constraint "store_order_pkey" DETAIL: Key (id)=(1) already exists.
I had the same problem and found the answer here: https://stackoverflow.com/questions/4448340/postgresql-duplicate-key-violates-unique-constraint
Kapil
Phone_number validation in admin panel
Kapil
How to do?
Kapil
Max length 12 + integer
Mirco
Phone_number validation in admin panel
put the max length in model field
Kapil
But Max length working with character field
Kapil
Need only integer input
Kapil
No any character
Mirco
use regex as field validator :)
Mirco
you can avoid reinventing the wheel and use django-phonenumberfield
Mirco
phone number is not an Integer, you have to handle as CharField with regex for prefix and length
Kapil
Ok
Kapil
Thanks for reply
Doragonsureiyā
Thanks for reply
You're welcome! 😊
Rajat
How do I resolve it?
Share your code
S
Anyone working or learning django with react?
Ola
Yes I am
Ola
Learning
Doragonsureiyā
Anyone working or learning django with react?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Divyrajsinh
Please Answer this quetion.
Divyrajsinh
https://stackoverflow.com/questions/73154093/why-i-dont-have-redirect?noredirect=1#comment129200081_73154093
Tushant
What is default username and password of admin panel in django. Please tell me
Divyrajsinh
What is default username and password of admin panel in django. Please tell me
You want to make superuser Type this command- python manage.py createsuperuser
Tushant
Ok
IZUKU
I am getting 503 error while hosting python in cpanel any solution
Maxim
I am getting 503 error while hosting python in cpanel any solution
1. this information is not enough to tell you anything other than point 2. 2. do not use Django with cpanel
Maxim
:)))) what an advice
if you search for cpanel posts in this group, you might stop smiling
IZUKU
if you search for cpanel posts in this group, you might stop smiling
Another great advice :) cant attach media , lemme explain in words
Maxim
Another great advice :) cant attach media , lemme explain in words
just read the rules for hint how to share sources here
░R░E░B░E░L░ ░I░S░ ░H░E░R░E░
Can anyone teach me to run django project on MacBook Air
Doragonsureiyā
Can anyone teach me to run django project on MacBook Air
This is neither a job board nor a bulletin board.
░R░E░B░E░L░ ░I░S░ ░H░E░R░E░
,?
Maxim
,?
it does not recognize the right to obtain information that is easily obtained on one's own, such as through a search engine
ShuvamTheBeast
can somebody help me this please https://stackoverflow.com/questions/73157166/what-is-function-in-django-decorators
ShuvamTheBeast
What is the use of function argument in django decorators
Maxim
What is the use of function argument in django decorators
you should get acquainted with the Python decorators Django decorators are not fundamentally different from them
Phansivang
Hello I'm from cambodia please help me I was try to get data from my Model to put in the Drop down menu in HTML but I have no idea how to do it
Anonymous
Hello I'm from cambodia please help me I was try to get data from my Model to put in the Drop down menu in HTML but I have no idea how to do it
Make anchor tag for every drop value and create url and make with views and you can write your logics in views.py in function base views or class base views
GG
hi, In Django template can I access to value in list by index in a for loop range?
Dani
I am getting 503 error while hosting python in cpanel any solution
Have you tried adding your domain name into the ALLOWED_HOSTS list in settings.py?
Dani
Send more info if you're hoping someone can help
ZeroCool
Hi guys, any course that you recommend on any platform? I have an intermediate base in Python, I want to learn Django, especially Backend, I want to learn how to create Apis
Dani
I want to put in form. Py
some_field = forms.ModelChoiceField(choice=modeltable.objects.all())