Charly
that's why djasngo should not handle 500 error pages
cj
unless you play with those thing in the webserver side, e.g. nginx
Charly
but your webserver
cj
4XX errors: "User fucked it"
5XX errors: "You fucked it"
cj
Javi
ja, yes...
Javi
so, you can use the FileExtensionValidator + content_type == "audio/mpeg"
Enigma
Paco
Hello everybody. I'm new in Django. Someone can tell why does the warning " '' should be object " appear in Firefox when I just make the "hello world" app ?
TheDoc
Rakesh
When I click on any link it gives me type error ...Got an unexpected keyword argument ..Is there any mistake in url path....
Rakesh
Rakesh
This link is not in main homepage
My url path is-
path(' ',views.blog_home,name='blog_home'),
path(' ' views.detail,name='detail')
Abdukakhkharov Yorkin
My url path is-
path(' ',views.blog_home,name='blog_home'),
path(' detail/' ,views.detail,name='detail')
Abdukakhkharov Yorkin
Rakesh
Ok
Rakesh
Anonymous
does anyone know if i create order by login one user, that specific order will only display on the user tab...which method we have to use...
Rakesh
My url path is-
path(' ',views.blog_home,name='blog_home'),
path(' ' views.detail,name='detail')
Rakesh
Abdukakhkharov Yorkin
you missed , after 'detail/'😄😄😄
path(' ',views.blog_home,name='blog_home'),
path(' detail/' ,views.detail,name='detail')
Abdukakhkharov Yorkin
check it again)
Rakesh
Rakesh
Rakesh
What is your error code?
Error
Reverse for 'detail' with argument '(1,)' not found . 1 pattern tried
Ayobami
Fajar
hello guys, i'm new in django and i wanna ask some question. I try to deploy django in openshift, and i got some problem. I confuse should i ask this in openshift group or this group. i got error when i try to build my django.
here is the log:
Cloning "http://10.62.61.105:8081/fajarmn19/tes.git" ...
Commit: 64337d85d4fe85679068953cdff5ce385e6affbb (Update settings.py)
Author: *** <***>
Date: Thu Feb 25 14:25:29 2021 +0700
---> Installing application source ...
Running post commit hook ...
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh: ./manage.py: Permission denied
error: build error: container "openshift_s2i-build_django-psql-example-2_django2_post-commit_602043d5" returned non-zero exit code: 126
what should i do to solve this error? Thankyou
learner
I want to install django on Linux production server. But it uses Python 2.7
If i update Python to 3.8 and install pip, django will it have any negative impact on production?
Sopan
Prince
Idk
How do I pass a variable from input field to views.py in django ?
TheDoc
TheDoc
Nurgazy
social auth with google,facebook
Nurgazy
i can't find full tutorial
Mirco
Doragonsureiyā
i can't find full tutorial
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box, write down the same words you asked here
Step 4: Read the first results
Nurgazy
i wanna make with django-rest-framework-social-oauth2
Mirco
🅐🅢🅗🅘🅚
Mirco
Abdukakhkharov Yorkin
Mirco
Abdukakhkharov Yorkin
Mirco
A
can someone help me with this issue? https://stackoverflow.com/questions/66455448/convert-html-form-data-to-pdf-in-django
Aahnik
Anonymous
I want user can fb page post through django app
Anonymous
I'm go through fb graph api
Anonymous
But how can i implement in django
Mirco
Uday
so im working on an already built (horribly) project.
a dictionary is being passed from api
i need to get the value from key on template
for example i need
products["category"]
Uday
how can this be done on template?
Uday
if i just type product, im getting a dictionary
Xudoyberdi
Carl
any good lib to take a screenshot of a website from my django app?
Rakesh
Same error
Rakesh
My url path is-
path('',views.blog_home,name='blog_home'),
path('<int:blog>/ ' views.detail,name='detail_page')
Rakesh
🅐🅢🅗🅘🅚
🅐🅢🅗🅘🅚
Erfan
Anyone knows why model.object returns id ?
Name and name_id both same
Rakesh
Rakesh
Rodrigo
My url path is-
path('',views.blog_home,name='blog_home'),
path('<int:blog>/ ', views.detail,name='detail_page')
Rodrigo
Install and configure flake8 in your visual studio code to find syntax errors
Rodrigo
Also please use autopep8 as formatting
Raj
Gys help me
Raj
When I type