The site is connected fine but images are not showing. i have done python3.8 manage.py collectstatic. Below are my setting on pythonanywhere.
#### Code:
What your site is running.
Source code:
[/home/Wilfred7/Django_market_place](https://www.pythonanywhere.com/user/Wilfred7/webapps/#)
[Go to directory](https://www.pythonanywhere.com/user/Wilfred7/files/home/Wilfred7/Django_market_place)
Working directory:
[/home/Wilfred7/Django_market_place](https://www.pythonanywhere.com/user/Wilfred7/webapps/#)
[Go to directory](https://www.pythonanywhere.com/user/Wilfred7/files/home/Wilfred7/Django_market_place)
WSGI configuration file:
[/var/www/wilfred7_pythonanywhere_com_wsgi.py](https://www.pythonanywhere.com/user/Wilfred7/files/var/www/wilfred7_pythonanywhere_com_wsgi.py?edit)
Python version:
3.8
Static files:
Files that aren’t dynamically generated by your code, like CSS, JavaScript or uploaded files, can be served much faster straight off the disk if you specify them here. You need to Reload your web app to activate any changes you make to the mappings below.
this is the directory
Files
.bashrc | 2023-05-25 20:33 | 560 bytes | |||
---|---|---|---|---|---|
.gitconfig | 2023-05-29 20:14 | 332 bytes | |||
.my.cnf | 2023-05-28 19:08 | 37 bytes | |||
.profile | 2023-05-25 20:33 | 79 bytes | |||
.pythonstartup.py | 2023-05-25 20:33 | 77 bytes | |||
.sqlite_history | 2023-05-29 18:21 | 598 bytes | |||
.vimrc | 2023-05-25 20:33 | 4.6 KB | |||
README.txt | 2023-05-25 20:33 | 232 bytes | |||
Wilfred7$SQLite | 2023-05-28 21:13 | 0 bytes | |||
/home/Wilfred7/Django_market_place
Directories
Files
Wilfred7$SQLite | 2023-05-28 21:51 | 340.0 KB | |||
---|---|---|---|---|---|
db.sqlite3 | 2023-05-30 20:20 | 340.0 KB | |||
manage.py | 2023-05-25 20:35 | 665 bytes | |||
requirements.txt | 2023-05-25 20:35 | 111 bytes | |||
the media, logos, thumbnails all are not showing
STATIC_URL = ‘/static/’
STATICFILES = [os.path.join(BASE_DIR, ‘static/’)]
STATIC_ROOT =os.path.join(BASE_DIR, ‘staticfiles’)
MEDIA_URL =‘media/’
STATIC_ROOT = “/home/Wilfred7/Django_market_place/jijiapp/static”
2023-05-30 20:45:54,091: Not Found: /media/media/fan1_G0la2zj.jfif
2023-05-30 20:45:54,115: Not Found: /media/thumbnails/fan2_uBdhCUA.jfif
2023-05-30 20:45:54,134: Not Found: /media/thumbnails/ecco_n7ZKjaI.jpg
2023-05-30 20:45:54,146: Not Found: /media/thumbnails/tv1.jfif
2023-05-30 20:45:54,195: Not Found: /media/thumbnails/bag2_yKX0aGx.jfif
2023-05-30 20:45:54,343: Not Found: /media/thumbnails/bag4.jfif
2023-05-30 20:45:54,346: Not Found: /media/thumbnails/florer_kazITRQ.jpg
2023-05-30 20:45:54,710: Not Found: /media/thumbnails/super.jfif