Re: Reply: Re: Hosting django with Namecheap

2022-11-09 Thread Kiyavilo Msekwa
The static files in ur Django project should reflect to public_html/static 
files 


Sent from my iPhone

> On 9 Nov 2022, at 09:27, Namanya Daniel  wrote:
> 
> Thanks Jeff, 
> 
> i re-uploaded the website and it worked but now i have an issue with static 
> files.
> 
> i've static_url= "/static/"
> static_root ="/home/username/url/static"
> i ran collectstatic 
> 
> in my templates,
> 
> i  loaded static
> 
> and set src = folder/image.jpg
> 
> and these images are there in that folder... what could be the issue
> 
>> On Tuesday, November 8, 2022 at 11:34:18 AM UTC-8 jeffkin...@gmail.com wrote:
>> Do you have root access oba you are just using cpanel. I do think you will 
>> be able to succeed with cpanel, you need VSP.
>> 
>>> On Tue, Nov 8, 2022 at 3:58 PM bradie poa  wrote:
>> 
>>> its not a good idea
>>> 
>>> i have settings.py in the same folder with wsgi.py
>>> 
>>> 
 On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
 On 08/11/2022 10.41, Namanya Daniel wrote: 
 > Hello, am hosting a django application with namecheap for the very first 
 > time and am getting " Internal Server ErrorError 500" , in the error 
 > log, wsgi.py shows that there's not settings 
 > 
 > how do i handle this 
 > 
 
 You add the settings. 
 
 Kind regards, 
 Kasper Laudrup 
>>> 
>>> -- 
>>> 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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.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...@googlegroups.com.
>> 
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.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/e867ff52-2a67-4d4e-8147-a4d2a15f1952n%40googlegroups.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/AF94E7E2-2BFD-44C2-8B63-6B9447CB9D33%40gmail.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
Thanks Jeff, 

i re-uploaded the website and it worked but now i have an issue with static 
files.

i've static_url= *"/static/"*
static_root ="*/home/username/url/static*"
i ran* collectstatic *

in my *templates*,

i * loaded static*

and set *src = folder/image.jpg*

and these images are there in that folder... what could be the issue

On Tuesday, November 8, 2022 at 11:34:18 AM UTC-8 jeffkin...@gmail.com 
wrote:

> Do you have root access oba you are just using cpanel. I do think you will 
> be able to succeed with cpanel, you need VSP.
>
> On Tue, Nov 8, 2022 at 3:58 PM bradie poa  wrote:
>
>> its not a good idea
>>
>> i have settings.py in the same folder with wsgi.py
>>
>>
>> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>>
>>> On 08/11/2022 10.41, Namanya Daniel wrote: 
>>> > Hello, am hosting a django application with namecheap for the very 
>>> first 
>>> > time and am getting " Internal Server ErrorError 500" , in the error 
>>> > log, wsgi.py shows that there's not settings 
>>> > 
>>> > how do i handle this 
>>> > 
>>>
>>> You add the settings. 
>>>
>>> Kind regards, 
>>> Kasper Laudrup 
>>>
>> -- 
>> 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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.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/e867ff52-2a67-4d4e-8147-a4d2a15f1952n%40googlegroups.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Do you have root access oba you are just using cpanel. I do think you will
be able to succeed with cpanel, you need VSP.

On Tue, Nov 8, 2022 at 3:58 PM bradie poa  wrote:

> its not a good idea
>
> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>
>> On 08/11/2022 10.41, Namanya Daniel wrote:
>> > Hello, am hosting a django application with namecheap for the very
>> first
>> > time and am getting " Internal Server ErrorError 500" , in the error
>> > log, wsgi.py shows that there's not settings
>> >
>> > how do i handle this
>> >
>>
>> You add the settings.
>>
>> Kind regards,
>> Kasper Laudrup
>>
> --
> 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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.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/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.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/CAA9WjmELf6ncrCbDOZYmnZCscLq6dwzypCba_y6MKnQa5vLv5g%40mail.gmail.com.


Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Which web server do you use?

On Tue, Nov 8, 2022 at 3:55 PM Namanya Daniel 
wrote:

> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>
>> On 08/11/2022 10.41, Namanya Daniel wrote:
>> > Hello, am hosting a django application with namecheap for the very
>> first
>> > time and am getting " Internal Server ErrorError 500" , in the error
>> > log, wsgi.py shows that there's not settings
>> >
>> > how do i handle this
>> >
>>
>> You add the settings.
>>
>> Kind regards,
>> Kasper Laudrup
>>
> --
> 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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.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/CAA9WjmHY1n7qtp2GUC39RBygdDuEEi0HjTZGbv-iToRpJ9z1tA%40mail.gmail.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
[image: Capture 1.PNG]

On Tuesday, November 8, 2022 at 5:10:20 AM UTC-8 Kasper Laudrup wrote:

> On 08/11/2022 13.58, bradie poa wrote:
> > its not a good idea
> > 
>
> Agreed. It's a horrible idea.
>
> Kind regards,
> Kasper Laudrup
>

-- 
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/ee352400-ddc8-4228-a7c3-d8b37c2591efn%40googlegroups.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread 'Kasper Laudrup' via Django users

On 08/11/2022 13.58, bradie poa wrote:

its not a good idea



Agreed. It's a horrible idea.

Kind regards,
Kasper Laudrup

--
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/5009e514-de20-962e-a562-8637aa36e0a9%40stacktrace.dk.


Reply: Re: Hosting django with Namecheap

2022-11-08 Thread bradie poa
its not a good idea
> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>>
>> On 08/11/2022 10.41, Namanya Daniel wrote: 
>> > Hello, am hosting a django application with namecheap for the very first 
>> > time and am getting " Internal Server ErrorError 500" , in the error 
>> > log, wsgi.py shows that there's not settings 
>> > 
>> > how do i handle this 
>> > 
>>
>> You add the settings. 
>>
>> Kind regards, 
>> Kasper Laudrup 
>
> -- 
> 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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.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/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.com.


Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
i have settings.py in the same folder with wsgi.py


On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:

> On 08/11/2022 10.41, Namanya Daniel wrote:
> > Hello, am hosting a django application with namecheap for the very first 
> > time and am getting " Internal Server ErrorError 500" , in the error 
> > log, wsgi.py shows that there's not settings
> > 
> > how do i handle this
> >
>
> You add the settings.
>
> Kind regards,
> Kasper Laudrup
>

-- 
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/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com.


Re: Hosting django with Namecheap

2022-11-08 Thread 'Kasper Laudrup' via Django users

On 08/11/2022 10.41, Namanya Daniel wrote:
Hello, am hosting a django application with namecheap for the very first 
time and am getting " Internal Server ErrorError 500" , in the error 
log, wsgi.py shows that there's not settings


how do i handle this



You add the settings.

Kind regards,
Kasper Laudrup

--
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/3b848e58-7be2-8d92-6efe-14abc2df8b81%40stacktrace.dk.