Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,209,549 members, 8,006,428 topics. Date: Tuesday, 19 November 2024 at 03:36 AM |
Nairaland Forum / Science/Technology / Programming / I Need Help In Django (815 Views)
I Need Help Integrating DHL API In Django / Encountering This Error In Django: TypeError: 'module' Object Is Not Iterable / Computer Based Test (cbtest) In Django (opensource) (2) (3) (4)
I Need Help In Django by selfemployed(m): 12:36pm On Aug 06, 2022 |
Any python Django programmer here? |
Re: I Need Help In Django by jbreezy: 12:38pm On Aug 06, 2022 |
What do you need? |
Re: I Need Help In Django by youngpresidooo: 5:52pm On Aug 06, 2022 |
selfemployed:yap |
Re: I Need Help In Django by Runningwater(m): 11:56am On Aug 08, 2022 |
What you need? |
Re: I Need Help In Django by selfemployed(m): 1:44pm On Aug 09, 2022 |
jbreezy: I uploaded a django project to cpanel, but the static files are not working properly online. but it works fine offline. here's the website: adaudu.com Thank you 1 Like |
Re: I Need Help In Django by jbreezy: 5:22pm On Aug 09, 2022 |
selfemployed:did you install Whitenoise? |
Re: I Need Help In Django by selfemployed(m): 6:31pm On Aug 09, 2022 |
jbreezy: No Sir |
Re: I Need Help In Django by Runningwater(m): 6:34pm On Aug 09, 2022 |
I wonder why you don't host your django website on Linux VPS from services like Amazon AWS, Digital Ocean, Linode, etc. |
Re: I Need Help In Django by selfemployed(m): 7:27pm On Aug 09, 2022 |
Runningwater: I'm still new to Django and learning. 1 Like |
Re: I Need Help In Django by bedfordng(m): 7:40pm On Aug 09, 2022 |
First make sure you added the following to your settings py file and point it to the appropriate static directories. STATIC_ROOT STATIC_URL MEDIA_ROOT MEDIA_URL STATICFILES_DIRS when added, run the manage.py collectstatic command . 1 Like |
Re: I Need Help In Django by Runningwater(m): 2:19pm On Aug 10, 2022 |
selfemployed: Okay... Django is best hosted on a Linux VPS when you have considered getting your django project online for Everyone to see. Their are video tutorials on how to do so on YouTube. Their some exceptions to getting your django projects online though like using Heroku and pythonanywhere among others as they're free but with constraints. |
Re: I Need Help In Django by selfemployed(m): 2:49pm On Aug 10, 2022 |
Thanks all I've solved the problem I moved the static files to public_html Then used absolute link in STATIC_URL STATIC_URL = "https://adaudu.com/static" |
Re: I Need Help In Django by Mrviktor(m): 9:18am On Aug 13, 2022 |
selfemployed: Your admin panel still has no CSS bro. Try adding your domain name to allowed host in your settings.py Nd why are u building a static website with django.. it's just a single page I can see there with one URL. |
(1) (Reply)
I Need Someone To Build An App For Me / Php Codes For Rss Feeds Needed / Good Institute In Naija
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12 |