Charly
Copy and paste it
Elilooli
No thats not the real one
it'll take a while is that ok?
Doragonsureiyā
system check identified no issues (0 silenced). october 05, 2023- 23:16:04 Django version 4.2.5, using settings 'confing. settings' starting development server at http://127.0.0.1:800/ Quit the server with CTRL-BREAK
To share code or error tracebacks, use a pasting service, like: - https://dpaste.org - https://hastebin.com - https://nekobin.com - https://bin.kv2.dev
Elilooli
I have no hurry
thank you so much
Elilooli
Copy and paste it
PS D:\prog\ready\proj> python manage.py runserver Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). December 27, 2023 - 22:52:49 Django version 4.2.6, using settings 'proj.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK.
Elilooli
So in the same machine you run this, you open the browser on the link it says and what does it shows?
yes on this pc I open the link and it loads for a while then it gives a" the connection has timed out " error
Elilooli
And no output on the terminal when you do this?
no nothing till I quit the server
Dutchq
Good eveving here ,please i have a problème where m'y CSS doesnt load into m'y page please any help with that,that IS when i run it ok thé local Host nothing shows
Charly
no nothing till I quit the server
Then I don't know whats happening.
Charly
how is this done please.
depends on your webserver
Dutchq
depends on your webserver
Django ?am running it locally on m'y pc using thé 127.0.0.1:8000
Dutchq
So how are you linking the CSS?
Its all in thé project folder under thé application folder. or how is it done locally ?am following thé tutorials on Djangogirls and no part was mentioned about thé configuration of thé web server
Charly
And how are you linking it in the template?
Dutchq
And how are you linking it in the template?
using thé {% static 'css/blog.css' %} using thé link ="stylesheet"
Dutchq
Charly
its on False
so change it to true
Dutchq
so change it to true
Thanks it works now
Muflone
Thanks it works now
I told you three hours ago at least https://t.me/django/264461
Promiscuous Ferris
PS D:\prog\ready\proj> python manage.py runserver Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). December 27, 2023 - 22:52:49 Django version 4.2.6, using settings 'proj.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK.
just a suggestion. have you tried making a new empty project and without any changes, running that server? the only change you may need is allowed_hosts for development on local machines it should be alright to set it to ['*']
Promiscuous Ferris
and just to be safer, use 127.0.0.1 instead of localhost the former is more foolproof.
Elilooli
yeah. that shouldn't be the problem tho, but it's just in case.
I have tried it, still gives the same error I just installed Web2Py(a framework that doesn't need any command for the first page,just starting it) and it has the same problem. could it be a pc setup problem?
Elilooli
What OS?
windows
clouded
windows
Alright, I'm out.
Promiscuous Ferris
windows
what happens if you type this in the browser: http://127.0.0.1:61335
Promiscuous Ferris
does it say refused connection? or does it timeout?
Promiscuous Ferris
with the default port?
the address i gave you. port 61335 it's a random port. you can try any port above 10000. almost all of them are unused and "should" return refused connection normally
Promiscuous Ferris
gave a time out error, it took longer to load though.
yeah. something doesn't add up. could it be windows acting up? almost certainly. my further suggestions: 1- backup and reinstall the OS 2- if option 1 is not possible, use pythonanywhere to deploy your servers for testing. it's free. it gets the job done. but you'd better use git and github to make code transfers easy
Promiscuous Ferris
in case you decide to go with the latter, here's a simple step-by-step guide for running django projects there. https://www.dj4e.com/assn/dj4e_install.md
Ha$H
hi guys i want a video for learn about default Django Password Reset Can someone introduce me?
Ha$H
Do u mean Django admin password Reset?
no user password change with send email to user
Hi
Hello I am new on Django so I have a doubt. When I go to an URL of a method in a Django project, by default, it will initiate a GET request to that URL. Instead I want to use a POST request without using Postman or any tool of the style. Thanks for the help in advance
cj
Hello I am new on Django so I have a doubt. When I go to an URL of a method in a Django project, by default, it will initiate a GET request to that URL. Instead I want to use a POST request without using Postman or any tool of the style. Thanks for the help in advance
there's no way to do that, you have to perform a POST request to that URL, and the way to do that is using postman or curl (or any other similar tool) or doing it by an HTML form
cj
Hello I am new on Django so I have a doubt. When I go to an URL of a method in a Django project, by default, it will initiate a GET request to that URL. Instead I want to use a POST request without using Postman or any tool of the style. Thanks for the help in advance
but... one dirty thing you can do is to call the post function from your view using the get function, or to play with the dispatch function... but, I'm pretty sure you're having an XY problem
Igbojionu
no user password change with send email to user
u can check this repo:https://github.com/igbojionu/django-email-password-change but i believe if u their blog explained the process better so do well to check the Readme file
Roth
hello, I try to create a extended profile app and follow instruction from this website: https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html , and I'm blocked with "instance.profile.save()" is profile referring to class Profile or keyword ?
Roth
no user password change with send email to user
this might help you: https://www.codesnail.com/django-allauth-email-authentication-tutorial/#:~:text=Django-allauth%20email%20authentication%20tutorial%201%20Setting%20up%20the,update%20...%208%20Email%20verification%20...%20More%20items
Prashant
Hello, can someone please help me i want to display a template with different url on another template (like you have probably saw in login interface) and in background our home page or any other page from which client had click on the button should be displayed
Victor
I want to develop a school management system software should I use tkinter or django ,i want it to be a software
Harsh P
Hello, can anyone help me. I want to make a form to add employee details like name, education, role along with image.
Fuhrer
I have now finished the basics of Python. What should I learn to master Django?
Fuhrer
Do I have to study oop?
𝙰𝚜𝚑𝚠𝚒𝚗
Muflone
Fuhrer
OOP is Python
Do I learn anything else after this?
Anurag K
Hi anybody help me to do filtering in ecommerce website using ajax
Asadbek8802
Hello everyone, is there someone who can explain a bit about django email backend
Asadbek8802
I need a tiny help with project
Nani
Is their any hand written notes of django.If any one have please reply