Amir m
DD777
How to use Django firebase firestore
And how implement get data from firebase for example get google maps data and paint in web google map
Patience
Anonymous
Hello I need help how can I add the same authentication to my django subdomain
Anonymous
I am trying to add a subdomain so when I am logged in . In www I am not logged in . In another subdomain
Anonymous
Django authenticate always return none can anyone help me
Enigma
Anonymous
Anonymous
I want to create 3 users but i dont y it's returning none
Anonymous
Enigma help me
William
anyone help me
Doragonsureiyā
anyone help me
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 ~90,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
William
a html cannot load my templatetags. Is it need install app in the settings?
Michael the wolf 🐺
Michael the wolf 🐺
Add it in installed apps
Alina
Guys, who knows for what we should use gunicorn and nginx together in digital ocean?
Michael the wolf 🐺
Gunicorn to work as a webserver for django application and nginx for static files and other stuff
𝙏𝙝𝙖𝙣𝙫𝙚𝙚𝙧 𝘼𝙡𝙞
iam having a strange problem. everything was working fine
When i create a new view definition in views.py
iam not able to set a path for that new view in urls.py.
when write views.xxx the new view name wont come in suggestion while all other old ones comes as usual
I tried renaming an old view in views.py . But it doesnt update in urls.py. even if i delete a view definition. Iam still getting suggestion of that old view name in urls.py
Tukhtamurod
Tukhtamurod
it is not from the python side i mean, it runs as it's supposed to
𝙏𝙝𝙖𝙣𝙫𝙚𝙚𝙧 𝘼𝙡𝙞
Enigma
D
How django testing should be done on developer end
Anonymous
Def buyer(request) :
if request. Method=='post':
Form=registerForm(request.post) :
If form. Isvalid() :
New=form.save(commit=False)
New. Set_password (form.cleaned_data['password']
New. Save()
Return render(request, login. Html)
Else:
Return render(request, reg. Html, {form:form}
Else:
Form=registerform()
Return render(request, reg. Html, {form:form}
Akhil
Anyone here who is gladly help me on my project...if yess then pleased tell me
Anonymous
Enigma plz have look n help
Akhil
Iam stuck on something
Anonymous
Enigma have u got something
Enigma
Anonymous
Anonymous
Akhil
Exception Type: KeyError
Exception value: 'discount'
Akhil
Anonymous
I can't send the pic it's not allowinh
Anonymous
If I can contact u in personal I can send the pic of my code
Mirco
Doragonsureiyā
If I can contact u in personal I can send the pic of my code
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you post a wall of text message (many lines), delete it quick or you may get a warn strike.
Akhil
@Enigma_be please see your pm
Anonymous
Enigma
Mirco
Enigma
Akhil
what?
Your personal chat I have send a message
Akash
Do we need to create separate apps for, login screen, reset password screen , dashboard and each and every html?
âshîsh
Akash
Zey
I am getting this error
DoesNotExist at /my-account/
Customers matching query does not exist.
When I am filtering user using get method but it should not give error bcz I am login
Vinod
Zey
Zey
Akhil
User = int(request.session["userId"])
Akhil
Key error
Vinod
Zey
I am using django authentication so if I write request.user it should return it .bcz if I am logged in so the user will be in customer table
Zey
But I am using filter then everything is working fine
Akhil
Anyone can help me here ??
Zey
So the user is not anonymous
Vinod
Can you share screenshots with filter and request user in debug mode?
Vinod
Depend on your requirement. But you can modify existing admin panel.
Patience
There is open source admin panel theme please.
But if you use Django authentication, sessions are managed by Django.
Patience
If you we want to try yours you can do it.
Patience
The best is to create your own.
Patience
It give exact permission and functionality to users you want.
Patience
Yeah, integrate it with Django.
Patience
Will be nice.
kichu
Hey..
I am using ajax to make a request the backend.
But the size of response is large and it is crashing the browser.
Is there any solution for this?
Dev
Dev
Really,
Renad
I am a beginner and I don’t know why my form isn’t submitting
I guess theres is a problem with the post method it doesn’t enter the if statement !
Renad
def signup(request):
if request.method == 'POST':
form = UserForm(request.POST)
if form.is_valid():
form.save()
return redirect('home-page')
else:
form = UserForm()
return render(request, 'signup.html', {'form': form})
Renad
<form method="POST" action="">
kichu
mujokhiddin
I would like to ask any resource or help I wanted to shop online
Dmitry
Renad