Re: Need help in Linode server setup.

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Please check this. https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server On Mon, Aug 31, 2020 at 12:15 PM Vikas Sri wrote: > We have pushed the codes on a Linode server. But the project is not > getting Live. > Sharing scr

Re: can anyone help me

2020-08-30 Thread Deepraj Devikar
yes you have to forgot upload_to in models.py imagefield you can refer my repository https://github.com/Deepraj-devikar/image-upload-react-django files are settings.py line number 135, 136 url.py line number 31 imagehadler/models.py line number 8 On Sun, Aug 30, 2020 at 10:40 AM MUGOYA DIHFAHS

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Please check this. https://stackoverflow.com/questions/44160666/valueerror-missing-staticfiles-manifest-entry-for-favicon-ico On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit < thelegendofearthretu...@gmail.com> wrote: > Hello all, > > Does anyone know how to add a manifest entry for a sta

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, You have to add templates location in settings.py as 'DIRS': [os.path.join(BASE_DIR, 'templates')]. Create a templates folder where manage.py file exists i.e. your project root directory and move all your templates there like html files. All the best. On Mon, Aug 31, 2020 at

raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-30 Thread Lightning Bit
Hello all, Does anyone know how to add a manifest entry for a staticfile? I have used: *> python manage.py collectstatic --noinput * >From this I got the "*staticfiles"* folder. However, when I perform a logging on the website, this 505 error appears: *> raise ValueError("Missing staticfile

Re: ConnectionResetError: [Errno 104] Connection reset by peer

2020-08-30 Thread Garrett
Are you asking about the version of Django I'm using? If so, it's version 2.2.9. On Sunday, August 30, 2020 at 6:48:59 PM UTC-7 hellatho...@gmail.com wrote: > What deployment are you using ? > > > Garrett 于2020年8月31日周一 上午9:16写道: > >> Hello Django community, >> >> I'm new to Django, and I rec

Re: ConnectionResetError: [Errno 104] Connection reset by peer

2020-08-30 Thread Hella thor
What deployment are you using ? Garrett 于2020年8月31日周一 上午9:16写道: > Hello Django community, > > I'm new to Django, and I recently set up an experimental website using > AWS's Lightsail service. I've got the website working in the sense that I > can access it from any computer with an internet co

ConnectionResetError: [Errno 104] Connection reset by peer

2020-08-30 Thread Garrett
Hello Django community, I'm new to Django, and I recently set up an experimental website using AWS's Lightsail service. I've got the website working in the sense that I can access it from any computer with an internet connection, and the various pages are functioning as designed. However, whe

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Okay, so I added a logging to: > python manage.py runserver And I found the error (which also now appears in "heroku logs --tail"). Interestingly, this thing states that: > django.template.exceptions.TemplateDoesNotExist: store/main.html This is impossible because in urls.py I have my main as

Re: Page 3

2020-08-30 Thread rbarh...@gmail.com
And by the way, thanks for the clarification. In spite of the other stuff, I read through the code and found the error and I appreciate it. Multiple instructions on the same issue are frustrating. On Sunday, August 30, 2020 at 11:09:34 AM UTC-7 rbarh...@gmail.com wrote: > I posted this from m

Re: wrong time in query

2020-08-30 Thread Soumen Khatua
no,directly I'm using *TIME_ZONE = 'Asia/Kolkata',* On Sun, Aug 30, 2020 at 11:37 PM Kunal Solanke wrote: > Are you using timezone for saving time > which is exported from django.utils or the python datetime module? > > On Sun, Aug 30, 2020, 23:34 Soumen Khatua > wrote: > >> Hi Folks, >> In my

Re: Page 3

2020-08-30 Thread rbarh...@gmail.com
I posted this from my computer and used the three ticks instructed by Ken Whitesell. You instruction is way off base. I don't post anything from a cell phone. You have too wonder about people who sermonize. On Saturday, August 29, 2020 at 8:05:37 PM UTC-7 kunalsol...@gmail.com wrote: > And

Re: wrong time in query

2020-08-30 Thread Kunal Solanke
Are you using timezone for saving time which is exported from django.utils or the python datetime module? On Sun, Aug 30, 2020, 23:34 Soumen Khatua wrote: > Hi Folks, > In my model one *column *is their called *start *which is *datetime field* > and start is storing *datetime *by using *django s

wrong time in query

2020-08-30 Thread Soumen Khatua
Hi Folks, In my model one *column *is their called *start *which is *datetime field* and start is storing *datetime *by using *django specific datetime field* like: *Aug. 30, 2020, 7:44 p.m. * But after ran one *get *query when I tried to access the date and time,I'm getting wrong time like: *2020

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Please check the whole log errors line by line. Then only u can find the exact error On Sun, Aug 30, 2020 at 6:37 PM King Niko wrote: > Hi Ranga, > > These are the last two log errors: > > *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; > x64) AppleWebKit/ - (KHT

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Hi Ranga, These are the last two log errors: *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ - (KHTML, like Gecko) Chrome/ - Safari/ -"* *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id=private fw

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Copy and paste your log errors . I will check once On Sun, Aug 30, 2020 at 5:23 PM King Niko wrote: > Thanks for the suggestion Kasper. > Unfortunately I have not been able to resolve the above bugs utilizing the > recommended logging technique. The: > > > heroku logs —tail > > Works to

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Thanks for the suggestion Kasper. Unfortunately I have not been able to resolve the above bugs utilizing the recommended logging technique. The: > heroku logs —tail Works to give me the errors mentioned previously. I just wish that there was a way for heroku itself to provide more detailed and pr

Re: help on my quizz app

2020-08-30 Thread Desh Deepak
Query with id for next and preview object On Sun, 30 Aug 2020, 2:45 pm ola neat, wrote: > hey guys, I need help, I'm working a a simple quizz app, but now i nid > help on how to make the users navigate from 1 question to the other( using > next button after answering the question) and including

Re: help on my quizz app

2020-08-30 Thread Kunal Solanke
Check out pagination under Listview in django ,or handle dom with js. On Sun, Aug 30, 2020, 14:45 ola neat wrote: > hey guys, I need help, I'm working a a simple quizz app, but now i nid > help on how to make the users navigate from 1 question to the other( using > next button after answering th

help on my quizz app

2020-08-30 Thread ola neat
hey guys, I need help, I'm working a a simple quizz app, but now i nid help on how to make the users navigate from 1 question to the other( using next button after answering the question) and including a time to ensure the user can't continue when the time is up, any help will be appreciated --