Re: static files not getting served

2021-12-05 Thread Adriano Machado
Hi, Heroku and SQLite do t match. Read this: From: https://devcenter.heroku.com/articles/sqlite3 SQLite runs in memory, and backs up its data store in files on disk. While this strategy works well for development, Heroku’s Cedar stack has an ephemeral filesystem

Re: static files not getting served

2021-12-05 Thread Jet Ezra
To me, you are not going to serve static files but media files, am sure that the image linked above was as a result of uploading it somewhere, However much you try, heroku does not handle media files, when you upload your image, the next refresh of the running dyno will delete it from your file dir

Re: static files not getting served

2021-12-05 Thread Kasper Laudrup
On 05/12/2021 14.18, Rahul wrote: see brother i am not shouting at all . Writing in ALL CAPITAL LETTERS is considered shouting. Please refrain from doing that. I am also not your brother. Using language like that makes it hard to take you serious. i am using heroku for deployment and i did

Re: static files not getting served

2021-12-05 Thread Lakshyaraj Dash X-D 25
Inside settings.py, Write these two lines of code and your static files will be served import os STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') On Sun, Dec 5, 2021, 18:49 Rahul wrote: > see brother i am not shouting at all . i am using heroku for deployment > and i didnt got any big erro

Re: static files not getting served

2021-12-05 Thread Rahul
see brother i am not shouting at all . i am using heroku for deployment and i didnt got any big error just in websites console ''failed to load resource server responded with the status of 404 '' i had deployed by pushing files to github and then using heroku . i had also used whitenoise but it

Re: static files not getting served

2021-12-04 Thread 'Mr. Aryan Sharma 4-Year B.Tech. Computer Science and Engineering' via Django users
At static files url at urls.py. And make a seperate directory for media root as well. Of your settings are correct project will get pushed . Then you ensure you have migrated from the console at heroku website On Sat, 4 Dec, 2021, 8:55 pm Rahul, wrote: > hey guys am using default database i.e

Re: static files not getting served

2021-12-04 Thread Kasper Laudrup
On 04/12/2021 10.52, Rahul wrote: hey guys  am using default database i.e. SQL Lite3 but when i deploy it on heroku my static files are not getting served . Please suggest what should i do?? You should tell us some relevant details, e.g. how you are deploying your project, any error message

static files not getting served

2021-12-04 Thread Rahul
hey guys am using default database i.e. SQL Lite3 but when i deploy it on heroku my static files are not getting served . Please suggest what should i do?? should i use postgres ??? Please HELP -- You received this message because you are subscribed to the Google Groups "Django users" group