Vlͥสdͣiͫᴍir
hi there! help me, guys, is it possible whether add dynamic custom field in list_display (admin site). If yes, then as?
Anonymous
Hi
when i use my project locally everything works fine.
But in sever when i try a rtl url it will give me 505 error
But for english urls works fine
mysite.com/singer/<name>/<song>
Muflone
Muflone
Vlͥสdͣiͫᴍir
Cheap
Use messages framework
Thanks! i implemented messages framework but stuck in an issue:
when i pass a message from view( redirecte, also getting response code 304 redirected), i am able to get that message in cookies but its not displaying in template
template = dpaste.com/2J4NNGR
i am sure something wrong with template
Mirco
You wrote messaages instead of messages
Cheap
oh darn! dude you are life saver
Cheap
i was debuggin since an hour
Муродали
hi guys. i ha a question
{{ form.as_p}}
what does it means as_p
Muflone
As Paragraph
Muflone
p in html
Муродали
i have problem with forms who knows well it
Муродали
can u help me i'm a beginner in django
Doragonsureiyā
can u help me i'm a beginner in django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
cj
read that ☝️
cj
don't skip any step
Муродали
read that ☝️
i read it but i didnt understand well it
Mirco
Anonymous
Hello and goodevening everyone im looking for some good please to help me with some code.
I am a junior python developer and i have just started to taking on freelance jobs in the full-stack field, as you can imagine i have been running into bugs and glitches in my code and need some help.
i have built an eCommerce store but for some reason have an issue with the user login and purchases, I need there to be two options purchase without signing up to the store and the second option is the customer can signup and purchase, it would be a bonus if you could look over my code for any other bugs.
The real problem is at this moment with everyone at home more people are trying to shift there business to online so I am getting more call for website then I can keep up with.
So maybe we can work our a beneficial deal for work long term please let me know.
Thank you for your time
Anonymous
people**
Anonymous
hi guys
when i try this url in cpanel server
http://site.com/singers/jennifer
project works fine
but when i try
http://site.com/singers/محسن
i will get this error
Internal Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
with status 505
but this issue not shows in local machin
Code
${Foad} check your wsgi config
Code
...and 'try' not to use runserver
Brian
Hi guys. I' working on a library system. I have a list view and a detailed view. I get an error when I try to add the detailed view url to each object on the list.. Can anyone tell me where I'm going wrong? Because I seem to have added the urls to the list template correctly.. Here's my code. https://pastebin.com/wqGfL5fK .. I'm here to walk anyone through it
Brian
The error is
django.urls.exceptions.NoReverseMatch: Reverse for 'book-details' with no arguments not found. 1 pattern(s) tried: ['book/(?P<id>[0-9]+)/details/$']
Code
@larrb check 'book/<int:id>/details/
"{% url 'book-details' %}" is looking for parameters
Brian
Brian
So that the user clicks on a book and are taken to it's detailed view
Code
look at your url. it's expecting something like "/book/123/details", but your html tag doesnt see that
Code
so, it's working now? @larrb
Brian
agiezpy
Hi, someone can recommend me a doc or tutorial on how to configure my settings and sorl-thumbnails for cloud storage? I use Linode as web server and linodeobjects as image server. Thanks in advance
George
säthïs
Guys does anyone help me to get good tutorials or documentation for swagger docs
Pulin
How to add subdomain with django url? Please help me
inchidi
inchidi
Rajesh
Any good tutorial on how to deploy Django channels
Ninja
When i using if user.is_authenitcated condition in master page its work fine in first time as i show login and logout but when i logout the user and again login then in the url its become two times accounts/login/accounts/login.....how we redirect in main page
Ninja
?help
Anonymous
shubham for django greater than 2, you could use
Anonymous
shubham path('login/', auth_views.LoginView.as_view(redirect_authenticated_user=True), name='login'),
Anonymous
Or, take a look here
Anonymous
https://stackoverflow.com/questions/2320581/django-redirect-logged-in-users-from-login-page
Anonymous
Maybe you must use @login_required decorator and in setting define LOGIN_REDIRECT_URL
Rajesh
Jon snow
Hello any here,i need a little help please
ms tk
how to handle large file upload in django
Ninja
Yash
Hello folks, I want to create an api where I can upload the excel file and it should render the data from the excel sheet to the table
Yash
I will be testing it through Postman, so my goal is to upload an excel sheet while hitting the api and it should store the data in DB
Yash
Can anyone please help me out how can i achieve it? I have seen the django document but couldn't get any valuable things
Yash
It would be great if someone can drop some links/blogs/ videos tutorial which meets my target
Yash
Thanks a ton in advance 🙏
Carbon
hii any body can helpme sort a pip install pywkher
Carbon
problem i am gettng again and again
Andrew
what is the best place to keep business logic in django-rest-framework, in views or in serializers?
Yash
View
Yash
I guess
Yash
In official documents they had suggested to keep the logic in views
Mirco
Mirco
then if u need handle into serializers some validation/creation etc. stuff
Mirco
try to make your views small and clean as much as u can
Mirco
it will be much easier to manage them
Rahul
Hello
Rahul
Myself Rahul
Rahul
Have anyone worked on payment gateway integration in django
Mirco
Doragonsureiyā
Have anyone worked on payment gateway integration in django
Please 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 60k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html