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 *ALLOWED_HOSTS=["*"]*  for
quick test but DON'T use* '*'* in production .



On Fri, Aug 26, 2022, 10:42 AM REMY TOUITOU  wrote:

> 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
>>
>> 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> wrote:
>>>
 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 is the kind of error i have when i try to make the server
> run
>
> 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 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 :
>>>
 did you make it right (what about the urls.py and views.py )

 [image: width=]
 
  Sans
 virus.www.avast.com
 
 <#m_-3214317380400663760_m_2223134895186722350_m_2707266092418565389_m_-3027264578619593358_m_-8808041519504331120_m_5977893245110104293_m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> K. Asif Ahmed
>> *System Manager*
>>
>> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
>> *
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to 

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 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
>>
>> 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> wrote:
>>>
 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 is the kind of error i have when i try to make the server
> run
>
> 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 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 :
>>>
 did you make it right (what about the urls.py and views.py )

 [image: width=]
 
  Sans
 virus.www.avast.com
 
 <#m_5286369662404982295_m_-3027264578619593358_m_-8808041519504331120_m_5977893245110104293_m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it,
 send an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> K. Asif Ahmed
>> *System Manager*
>>
>> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
>> *
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx1Kh96q07WezNijQi1pMXLLebOPrUo6oPgZ-vPQqvhGUg%40mail.gmail.com
> 

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
>
> 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> wrote:
>>
>>> 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 is the kind of error i have when i try to make the server run

 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 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 :
>>
>>> did you make it right (what about the urls.py and views.py )
>>>
>>> [image: width=]
>>> 
>>>  Sans
>>> virus.www.avast.com
>>> 
>>> <#m_-3027264578619593358_m_-8808041519504331120_m_5977893245110104293_m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> K. Asif Ahmed
> *System Manager*
>
> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
> *
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAD9WEx1Kh96q07WezNijQi1pMXLLebOPrUo6oPgZ-vPQqvhGUg%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To 

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> wrote:
>
>> 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 is the kind of error i have when i try to make the server run
>>>
>>> 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 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 :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_-8808041519504331120_m_5977893245110104293_m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
> 
> .
>


 --
 K. Asif Ahmed
 *System Manager*

 *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
 *

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAD9WEx1Kh96q07WezNijQi1pMXLLebOPrUo6oPgZ-vPQqvhGUg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAAQecPfq9LkKyf%3D_a82H_QjKAncsZtPZQcvzRuo2rhmGDd3UkA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are 

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 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 is the kind of error i have when i try to make the server run
>>
>> 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 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 :

> did you make it right (what about the urls.py and views.py )
>
> [image: width=]
> 
>  Sans
> virus.www.avast.com
> 
> <#m_5977893245110104293_m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
 
 .

>>>
>>>
>>> --
>>> K. Asif Ahmed
>>> *System Manager*
>>>
>>> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
>>> *
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAD9WEx1Kh96q07WezNijQi1pMXLLebOPrUo6oPgZ-vPQqvhGUg%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAQecPfq9LkKyf%3D_a82H_QjKAncsZtPZQcvzRuo2rhmGDd3UkA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

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 is the kind of error i have when i try to make the server run
>
> 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 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 :
>>>
 did you make it right (what about the urls.py and views.py )

 [image: width=]
 
  Sans
 virus.www.avast.com
 
 <#m_-5049226825181264093_m_-6259126178247629255_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> K. Asif Ahmed
>> *System Manager*
>>
>> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
>> *
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx1Kh96q07WezNijQi1pMXLLebOPrUo6oPgZ-vPQqvhGUg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAQecPfq9LkKyf%3D_a82H_QjKAncsZtPZQcvzRuo2rhmGDd3UkA%40mail.gmail.com.


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 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 , 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 :
>>>
 did you make it right (what about the urls.py and views.py )

 [image: width=]
 
  Sans
 virus.www.avast.com
 
 <#m_-6713031959857928248_m_-7254537909647413282_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> K. Asif Ahmed
>> *System Manager*
>>
>> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
>> *
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx2LbXs0BBtQ%2B1CS7D_oi-5ZwbbtchK813GYqBHR7RenPw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKt4ypDzqHy5xCyicYupozvbNU6iaX%3DOH5XjKzq_dMNcBUfGXg%40mail.gmail.com.


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 , 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 :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_9169318765117951855_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKa3babks5Cru53U26Tztim_PkESBXh8WYO6-mUew17VLCXVZA%40mail.gmail.com.


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 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 :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=] 
>> 
>>  Sans 
>> virus.www.avast.com 
>> 
>>  
>> <#m_88203880521145029_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/89afbbd2-6367-4d11-bd30-a03f096f5c88n%40googlegroups.com.


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 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 :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_3567775154481340076_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAQecPdNRtqBoxoE0764UE2c1hjJCtUUUtCMy23yD5Z0dPVssg%40mail.gmail.com.


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 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 :
>>
>>> did you make it right (what about the urls.py and views.py )
>>>
>>> [image: width=]
>>> 
>>>  Sans
>>> virus.www.avast.com
>>> 
>>> <#m_-7254537909647413282_m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> K. Asif Ahmed
> *System Manager*
>
> *Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
> *
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD9WEx2LbXs0BBtQ%2B1CS7D_oi-5ZwbbtchK813GYqBHR7RenPw%40mail.gmail.com.


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 , 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 :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_2558853448420336607_m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com
> 
> .
>


-- 
K. Asif Ahmed
*System Manager*

*Maharashtra State Seeds Co. Ltd, Akolahttp://www.mahabeej.com/
*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEMxhgS3tUSqdhJaEy2W9_duipbwcZYn3j4x36OZh48gUL7N_w%40mail.gmail.com.


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 :

> did you make it right (what about the urls.py and views.py )
>
> [image: width=]
> 
>  Sans
> virus.www.avast.com
> 
> <#m_-5726608972012506882_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail.gmail.com.


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 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 about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_-7033754970742753582_m_976122972892238_m_8099128969051428687_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD9WEx2d9yu8mFdsXoAi0EGOdz00OS3Fj4jCAs77v3qN%2BOT7Ag%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJj5qsF37a-p7XHj6zoGEeof5r9Ax_UF_x7bfHJnBnuW6VmNUg%40mail.gmail.com.


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 about the urls.py and views.py )
>
> [image: width=]
> 
>  Sans
> virus.www.avast.com
> 
> <#m_8099128969051428687_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD9WEx2d9yu8mFdsXoAi0EGOdz00OS3Fj4jCAs77v3qN%2BOT7Ag%40mail.gmail.com.


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
> virus.www.avast.com
> 
> <#m_8165340947414382264_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJnMy6eBAO1MgiyRU15woenMsGpQmYKdY4DHP%3DaP5PdEvt4RTQ%40mail.gmail.com.


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* you need to create a
> function for example :
>  def index(request):
> return render(request, 'index.html')
>
> in your *'firstapp'* *urls.py *you need something like this
> urlpatterns = [
>  path('',views.index,name="index"),
> ]
>
> and then in your 'firstproject' urls.py you need this
> from django.urls import path,include
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('', include('firstapp.urls')),
> ]
>
>
>
> Le jeu. 18 août 2022 à 22:06, hajar Benjat  a
> écrit :
>
>> did you make it right (what about the urls.py and views.py )
>>
>> [image: width=]
>> 
>>  Sans
>> virus.www.avast.com
>> 
>> <#m_-1881626924999469383_m_-7430398450597033952_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>
>
> --
>
> *HAJAR BENJAT *
>
> - Specialized Master in Information Systems Engineering
>
> At CADI AYYAD UNIVERSITY *– *FSSM Marrakech
>
> - Computer Science Teacher
>
> *P:* +212698608188
>
> *E:* hajar.ben...@edu.uca.ma
>
> *LinkedIn: *https://www.linkedin.com/in/hajar-benjat-a92132106
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMcj6Wf3evMhypW%3DOChVi-nUXoDQRU%2BZB-AFLtyEfvh1JJVh6Q%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJnMy6fpOPS12sJzxusXxNAYd2t67KqpR%2Bb71JZF2JQc1PZCYQ%40mail.gmail.com.


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')

in your *'firstapp'* *urls.py *you need something like this
urlpatterns = [
 path('',views.index,name="index"),
]

and then in your 'firstproject' urls.py you need this
from django.urls import path,include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('firstapp.urls')),
]



Le jeu. 18 août 2022 à 22:06, hajar Benjat  a écrit :

> did you make it right (what about the urls.py and views.py )
>
> [image: width=]
> 
>  Sans
> virus.www.avast.com
> 
> <#m_-7430398450597033952_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


-- 

*HAJAR BENJAT *

- Specialized Master in Information Systems Engineering

At CADI AYYAD UNIVERSITY *– *FSSM Marrakech

- Computer Science Teacher

*P:* +212698608188

*E:* hajar.ben...@edu.uca.ma

*LinkedIn: *https://www.linkedin.com/in/hajar-benjat-a92132106

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMcj6Wf3evMhypW%3DOChVi-nUXoDQRU%2BZB-AFLtyEfvh1JJVh6Q%40mail.gmail.com.


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

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMcj6WdYMRVgsEgaPAf%3DAzxqBWyKph_biCSgNZ5r1QtR4g2%3D2Q%40mail.gmail.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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a1f4f84e-cf69-4a5f-884b-b4c8e03baaf1n%40googlegroups.com.