Re: page index.html

2022-08-26 Thread hajar Benjat
you have *DEBUG=False* in your *project.settings.py * and you need to edit allowed hosts that is required for security reasons, example : *ALLOWED_HOSTS=[".example.com " , "127.0.0.1:8000 ","localhost:port"]* or

Re: page index.html

2022-08-26 Thread ALBERT ASHABA AHEEBWA
Hello, Make sure in your project folder settings.py file has DEBUG=True and ALLOWED_HOSTS=[]. set debug to true and allowed hosts to empty list. And ensure no local server is running before you runserver again On Fri, Aug 26, 2022 at 12:42 PM REMY TOUITOU wrote: > hello , when i try to make the

Re: page index.html

2022-08-26 Thread REMY TOUITOU
hello , when i try to make the server running , it is written: commanderror:you must set settings.ALLOWED_hosts if debug is false thanks you Le jeu. 25 août 2022 à 14:32, ALBERT ASHABA AHEEBWA < ashabaaheebwaalb...@gmail.com> a écrit : > No. There is no space. It's just "runserver". One word > >

Re: page index.html

2022-08-25 Thread ALBERT ASHABA AHEEBWA
No. There is no space. It's just "runserver". One word On Thu, 25 Aug 2022, 15:27 hajar Benjat, wrote: > Sorry Is there any space between runser ver?? > Or am I wrong!... > It must be "runserver" > > > On Thu, Aug 25, 2022, 12:22 PM ALBERT ASHABA AHEEBWA < > ashabaaheebwaalb...@gmail.com>

Re: page index.html

2022-08-25 Thread hajar Benjat
Sorry Is there any space between runser ver?? Or am I wrong!... It must be "runserver" On Thu, Aug 25, 2022, 12:22 PM ALBERT ASHABA AHEEBWA < ashabaaheebwaalb...@gmail.com> wrote: > So what happens when you just run $python manage.py? Does it bring up a > list of commands you can run? If not

Re: page index.html

2022-08-25 Thread ALBERT ASHABA AHEEBWA
So what happens when you just run $python manage.py? Does it bring up a list of commands you can run? If not you have to activate your virtual environment properly if you are using any. Or path to the virtual environment py script On Thu, 25 Aug 2022, 14:01 REMY TOUITOU, wrote: > Hello here

Re: page index.html

2022-08-24 Thread ahmed doudou
https://docs.djangoproject.com/en/4.1/topics/http/urls/ This is django documentation just follow it step by step. On Wed, Aug 24, 2022, 13:55 REMY TOUITOU wrote: > ok , i will send this to you this evening > thanks you > > Le mer. 24 août 2022 à 14:11, Asif Ahmed Khan a > écrit : > >> What

Re: page index.html

2022-08-24 Thread Danish Nagori
Hi Dear I think you run py manage; py runserver So please You run this command py manage.py runserver This is write commnd Thanks On Wed, 24 Aug 2022, 2:44 pm REMY TOUITOU, wrote: > hello , i have a question , i can't make the server running , when i do > the command py manage;py runserver

Re: page index.html

2022-08-24 Thread Håkon Øyen
Try locating the first of the listed files. That's usually where the error is. On Wednesday, August 24, 2022 at 11:45:23 AM UTC+2 touit...@gmail.com wrote: > hello , i have a question , i can't make the server running , when i do > the command py manage;py runserver , it gives a lot of error

Re: page index.html

2022-08-24 Thread ALBERT ASHABA AHEEBWA
You need to share a screenshot for better help. Though it is manage.py and not manage;py Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Wed, 24 Aug 2022, 12:45 REMY TOUITOU, wrote: > hello , i have a question , i can't make the server running , when i do > the command py manage;py

Re: page index.html

2022-08-24 Thread REMY TOUITOU
ok , i will send this to you this evening thanks you Le mer. 24 août 2022 à 14:11, Asif Ahmed Khan a écrit : > What type of errors are you facing? > Can you send some screenshots? > or error details? > > On Wed, 24 Aug 2022 at 15:14, REMY TOUITOU wrote: > >> hello , i have a question , i

Re: page index.html

2022-08-24 Thread Asif Ahmed Khan
What type of errors are you facing? Can you send some screenshots? or error details? On Wed, 24 Aug 2022 at 15:14, REMY TOUITOU wrote: > hello , i have a question , i can't make the server running , when i do > the command py manage;py runserver , it gives a lot of error in differents > files

Re: page index.html

2022-08-24 Thread REMY TOUITOU
hello , i have a question , i can't make the server running , when i do the command py manage;py runserver , it gives a lot of error in differents files , before the server was running well; i use visual studio code and conda ; thanks you remy Le jeu. 18 août 2022 à 23:06, hajar Benjat a écrit

Re: page index.html

2022-08-21 Thread user8234
Hello touitou2...@gmail.com,. If you are using a framework web then a "static files" path should be defined or located in the root folder then maybe is not rendering *nothing*. El dom., 21 de agosto de 2022 12:23 p. m., REMY TOUITOU < touitou2...@gmail.com> escribió: > Hello ,thank you for your

Re: page index.html

2022-08-21 Thread REMY TOUITOU
Hello ,thank you for your help , it doesn't work yet project.urls.py and the firstapp urls.py are two diffeérents pages ? I don't arrive to make appear this two differents pages on isualcode , how can i do this? Le jeu. 18 août 2022 à 23:06, hajar Benjat a écrit : > did you make it right (what

Re: page index.html

2022-08-18 Thread subin
Please let me know if that is okay. On Thu, Aug 18, 2022 at 10:07 PM hajar Benjat wrote: > did you make it right (what about the urls.py and views.py ) > > [image: width=] > > Sans >

Re: page index.html

2022-08-18 Thread subin
Sorry it took me so long to get back to you. On Thu, Aug 18, 2022 at 10:16 PM hajar Benjat wrote: > for example this is your project name* 'firstproject'* and this is your > app name *'firstapp'* in your template you will create a html page named > *'index.html'* in your *'firstapp' views.py*

Re: page index.html

2022-08-18 Thread hajar Benjat
for example this is your project name* 'firstproject'* and this is your app name *'firstapp'* in your template you will create a html page named *'index.html'* in your *'firstapp' views.py* you need to create a function for example : def index(request): return render(request, 'index.html')

Re: page index.html

2022-08-18 Thread hajar Benjat
did you make it right (what about the urls.py and views.py ) [image: width=] Sans virus.www.avast.com

page index.html

2022-08-18 Thread REMY TOUITOU
Hello , i tried to mke appear the page index.html in a django application in visual code , but i just obtained the first page of the django site. Someone could give the right procedure to obtain thie page index.html? -- You received this message because you are subscribed to the Google Groups