Re: Challenge hosting a django project on render

2024-04-07 Thread manohar chundru
can

On Thu, 4 Apr 2024, 9:12 pm ALINDA Fortunate, 
wrote:

> Hello team I am finding challenges in hosting my project on render it
> shows the webservice is live and it brings this error any help
>
> Error during template rendering
>
> In template /opt/render/project/src/templates/home.html, error at line *9*
> relation "pages_landingpage" does not exist LINE 1: ...velopment",
> "pages_landingpage"."philosophy" FROM "pages_lan... ^
> 1 
> 2 {% extends "_base.html" %}
> 3 {% load static %}
> 4
> 5 {% block title %}Home{% endblock title %}
> 6
> 7 {% block content %}
> 8 
> 9 {% for landingpage in homepage_list %}
> 10 
> 11 {{landingpage.title}}
> 12 
> 13
> 14 {% if user.is_authenticated %}
> 15 Hi {{ user.email }}! Your most welcome.
> 16 {% else %}
> 17 You are not logged in
> 18 Log In
> 19 {% endif %}
>
> But locally its running well
>
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> alindafortuna...@gmail.com .
> +256 774339676 / +256 702910041
> Kagadi.
>
> --
> 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/CAPifpCv1kncia2sv%2BCa3wGfnOa6WWxor-XMishcLRCn8TaGcCg%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/CAH2L_yV%2BmOqax%3Di2cUUw97UEPt22rE62mp8H7MDsYp5PF4Hg-g%40mail.gmail.com.


Re: Challenge hosting a django project on render

2024-04-05 Thread ALINDA Fortunate
Thanks so much everyone it was rectified indeed the issue was with
migrations.

On Fri, 5 Apr 2024, 15:58 Franky Bonanno,  wrote:

> Makemigrations then migrate
>
> Il ven 5 apr 2024, 10:24 Luciano Martins (luxu)  ha
> scritto:
>
>> Did you run the migrations?
>>
>> Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate
>> escreveu:
>>
>>> Hello team I am finding challenges in hosting my project on render it
>>> shows the webservice is live and it brings this error any help
>>>
>>> Error during template rendering
>>>
>>> In template /opt/render/project/src/templates/home.html, error at line
>>> *9*
>>> relation "pages_landingpage" does not exist LINE 1: ...velopment",
>>> "pages_landingpage"."philosophy" FROM "pages_lan... ^
>>> 1 
>>> 2 {% extends "_base.html" %}
>>> 3 {% load static %}
>>> 4
>>> 5 {% block title %}Home{% endblock title %}
>>> 6
>>> 7 {% block content %}
>>> 8 
>>> 9 {% for landingpage in homepage_list %}
>>> 10 
>>> 11 {{landingpage.title}}
>>> 12 
>>> 13
>>> 14 {% if user.is_authenticated %}
>>> 15 Hi {{ user.email }}! Your most welcome.
>>> 16 {% else %}
>>> 17 You are not logged in
>>> 18 Log In
>>> 19 {% endif %}
>>>
>>> But locally its running well
>>>
>>> ALINDA Fortunate
>>> Graduate Of Computer Science
>>> Gulu University
>>> Passionate about Software Development in Python
>>> If you can't explain it simply, you don't understand it well enough.
>>> alindafo...@gmail.com.
>>> +256 774339676 <+256%20774%20339676> / +256 702910041
>>> <+256%20702%20910041>
>>> Kagadi.
>>>
>> --
>> 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/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%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/CAD0KF_K6iV8dWd-JE1a84zyDwYVPKvQXxPWJQ5Ec31YTTLra1A%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/CAPifpCuhW%3DGC%3DRyo4K2A0vK9JfbmqBUkXMa%3DifNvqB%3DrBkAuSQ%40mail.gmail.com.


Re: Challenge hosting a django project on render

2024-04-05 Thread Franky Bonanno
Makemigrations then migrate

Il ven 5 apr 2024, 10:24 Luciano Martins (luxu)  ha
scritto:

> Did you run the migrations?
>
> Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate
> escreveu:
>
>> Hello team I am finding challenges in hosting my project on render it
>> shows the webservice is live and it brings this error any help
>>
>> Error during template rendering
>>
>> In template /opt/render/project/src/templates/home.html, error at line
>> *9*
>> relation "pages_landingpage" does not exist LINE 1: ...velopment",
>> "pages_landingpage"."philosophy" FROM "pages_lan... ^
>> 1 
>> 2 {% extends "_base.html" %}
>> 3 {% load static %}
>> 4
>> 5 {% block title %}Home{% endblock title %}
>> 6
>> 7 {% block content %}
>> 8 
>> 9 {% for landingpage in homepage_list %}
>> 10 
>> 11 {{landingpage.title}}
>> 12 
>> 13
>> 14 {% if user.is_authenticated %}
>> 15 Hi {{ user.email }}! Your most welcome.
>> 16 {% else %}
>> 17 You are not logged in
>> 18 Log In
>> 19 {% endif %}
>>
>> But locally its running well
>>
>> ALINDA Fortunate
>> Graduate Of Computer Science
>> Gulu University
>> Passionate about Software Development in Python
>> If you can't explain it simply, you don't understand it well enough.
>> alindafo...@gmail.com.
>> +256 774339676 <+256%20774%20339676> / +256 702910041
>> <+256%20702%20910041>
>> Kagadi.
>>
> --
> 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/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%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/CAD0KF_K6iV8dWd-JE1a84zyDwYVPKvQXxPWJQ5Ec31YTTLra1A%40mail.gmail.com.


Re: Challenge hosting a django project on render

2024-04-05 Thread Luciano Martins (luxu)
Did you run the migrations?

Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate 
escreveu:

> Hello team I am finding challenges in hosting my project on render it 
> shows the webservice is live and it brings this error any help
>
> Error during template rendering
>
> In template /opt/render/project/src/templates/home.html, error at line *9*
> relation "pages_landingpage" does not exist LINE 1: ...velopment", 
> "pages_landingpage"."philosophy" FROM "pages_lan... ^
> 1  
> 2 {% extends "_base.html" %} 
> 3 {% load static %} 
> 4 
> 5 {% block title %}Home{% endblock title %} 
> 6 
> 7 {% block content %} 
> 8  
> 9 {% for landingpage in homepage_list %} 
> 10  
> 11 {{landingpage.title}} 
> 12  
> 13 
> 14 {% if user.is_authenticated %} 
> 15 Hi {{ user.email }}! Your most welcome. 
> 16 {% else %} 
> 17 You are not logged in 
> 18 Log In 
> 19 {% endif %}
>
> But locally its running well
>
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> alindafo...@gmail.com.
> +256 774339676 <+256%20774%20339676> / +256 702910041 
> <+256%20702%20910041>
> Kagadi.
>

-- 
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/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%40googlegroups.com.