Akshay
Check your terminal
GET /socketcluster/ HTTP/1.1" 404 2143
Akshay
GET /static/assets/runtime-es2015.js HTTP/1.1" 404 1698
Украинский
Hello everyone! Im trying to make stats dashboard for my website. I wanna count how many 500 errors happened on my website and store the traceback in model. Can we make it? (of course we can count, but how to get traceback and store it in a model?). I searched for it, but nothing found yet.
Украинский
Is it possible?
Root
Getting Started Quickly With Django Logging | Scalyr https://www.scalyr.com/blog/getting-started-quickly-django-logging
MADY
Hey can anyone help me out in my project plz
MADY
I'm freshy and having lots of issues in django
MADY
If anyone have little time plz help me
Praver
Direct ask your issue , no need to ask for help ✌🏻
MADY
im fetching data from comment table by Comment.objects.all()
MADY
but getting null
Phillip
Please what’s the best learning resource for Django?
Doragonsureiyā
Please what’s the best learning resource for Django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
MADY
NO IN THIS WORLD CAN HELP ME OUT?😟
Sergey K
So, what's the problem? Create an object. Then do select again
Sergey K
Seems you have an empty table
Taku
How to implement search suggestions in Django?
Salman
You mean like auto complete ? In django admin or your app?
Alex
How to implement search suggestions in Django?
I recommend you to check out elasticsearch for that. Or full text search features of postgres.
Nice
Absolute value is not closed in Html django
Nice
Anyone know how to solve this error
Doragonsureiyā
Alex
Thanks, how so? :)
Many reasons. I see that you just started and don't have any solid foundation yet. And already see "code smells" like holding html markup in python code and etc and etc.
Nice
In django I made a index.html . In html it is showing error absoulte value is not closed
Doragonsureiyā
In django I made a index.html . In html it is showing error absoulte value is not closed
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
Alex
In django I made a index.html . In html it is showing error absoulte value is not closed
In django debug mode it shows you postmorten page on errors. And there you have "copy-paste" button for your traceback. Use it to make a pastebin and share it here
Nice
I imorted bootstrap in django I made index.html but half code isn't showing in the page . Only nav bar is showing I have made a text area 5 checkboxes with uses . It is generally a text analyzer But my index page is showing only till nav bar only and nothing else.
Deleted
Hey guys, 0 I used python 3.7 in windows 10 to create a Django project. I used superuser to create some normal user. But the normal user account could not login the website, and in the power shell, the below error occurs: [02/Nov/2020 13:33:03] "POST /login/?next=/ HTTP/1.1" 200 14278 Not Found: /login/vendor/fontawesome-free/css/all.min.css
Vineet
Actually I want to create homepage using django. I need help anyone is there?
Doragonsureiyā
Actually I want to create homepage using django. I need help anyone is there?
So, why don't you do it yourself first? When you have an issue with the Python code you wrote (read rule 5️⃣ to show your code), come back here and people will help you. 😉
Vineet
I tried but I'm not able to do that
Mirco
I tried but I'm not able to do that
Take more time to study and play
Elmir
Hello guys, does anyone use djangochannelrestframework i need help integrate my project ?
coderss
How to show source codes in django template with the same font colouring style ... When I m doing its printing normally
Doragonsureiyā
Hello guys, does anyone use djangochannelrestframework i need help integrate my project ?
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Ashok
AttributeError: 'WSGIRequest' object has no attribute 'user'
Ashok
request.user.is_authenticated()
Ashok
I have upgraded to Python 2.7 to 3.7 I am getting this unit test error
Alex
Sadra
Thanks dude
❤️🌹
Ray
Algorithm in python 😊
Ray
Do you have it
vvv
Hi, can you tell me pls, where can I learn Django 3, except official docs
SMC
Hi, can you tell me pls, where can I learn Django 3, except official docs
Better prefer YouTube if ur video freaky geek.. clever programmar or telusko
Anonymous
Can i implements javascript at Django framework ?
Ghorz
Hi, can you tell me pls, where can I learn Django 3, except official docs
1,2,3 doesn't need special lessons. If you already know v2, check the release change log
Ghorz
Move on, you can't learn everything
Blaze
How can i get django session from react client?
Mirco
How can i get django session from react client?
You have React and Django on different domains ?
Blaze
You have React and Django on different domains ?
At the end of the i will, but for now they are both on localhost
Mirco
At the end of the i will, but for now they are both on localhost
So start using another kind of authentication like OAuth2 + PKCE If you will serve them on different domains, you won't able to use SessionAuth
Blaze
It's not really for authentication, i intend using the session for tracking cart id for anonymous users in an ecommerce site
ford
Hello guys i am having trouble with django tenants. I have a value in settings called SITE_HOST_NAME which is supposed to change dynamically based on request by the user
ford
For example when the user access the site from domain example1.com the value for site_host_name becomes example1.com same for any othet domain.. What have tried Using middleware to change the settings but when i pass the value it doesn't work
ford
Help
Alex
Hello guys i am having trouble with django tenants. I have a value in settings called SITE_HOST_NAME which is supposed to change dynamically based on request by the user
django's settings is intended to be a list of constants, not variables. You can use https://docs.djangoproject.com/en/3.1/ref/request-response/#django.http.HttpRequest.get_host to get the hostname from a request object
Blaze
You cannot if you will host them on different domains
That means i should host the on the same domain, what if it's on different submain of the same domain?
Blaze
maybe cors headers may help you
Ok thank, i will set cors to accept all
Mirco
maybe cors headers may help you
nope they are different things
Mirco
Ok thank, i will set cors to accept all
if you are thinking about having React and Django fully decoupled, use another kind of auth logic
Gil
if you are thinking about having React and Django fully decoupled, use another kind of auth logic
Like jwt 🤔 sessions ids are linked to its domain where are hosted? I didnt know it
Mirco
Erfan
hi i use ForeignKey in models and after i do makemigrations and migrate but in give operational error ???
Girish
Slow mode is activated
Ankush
Hello world !! This is Ankush Anyone suggest me from where to learn Django.
Doragonsureiyā
Hello world !! This is Ankush Anyone suggest me from where to learn Django.
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Ankush
Ok
Ankush
Thanks
Girish
some one ban me in @Python