You might ask why we hide an error, 'cause it should be fixed right? Anyway, there are instances that we just need to hide it. Let's say for example, "undefined index" error/warning in this case: I have this table with unique attribute names in every "input" elements: ID Name 1 Eds 2 Matt We don't know how many value that the user will input, so I assume that he/she will always input eight(8) values. I must fetch the value from that table by assigning them to a variable. If the user will input less than eight(8), a warning or error will show "undefined index..". In this case, I just hide it.
Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. If you have a simple Django app that doesn't require huge storage or database, Heroku is the best choice . Their free service will suffice your need. Your app will be available almost 24/7 (~23 days up time in a month). You are given 550 hours per month and if you have a credit card, an additional of 450 hours will be rewarded. Enough to make your app to be available always. The server also sleeps after 30 mins of inactivity. This enables you to save uptime hours. In deploying Django in Heroku you just need to have this ff. files: .gitignore runtime.txt requirements.txt Procfile Django App All file must reside in the project directory as shown below: .gitignore is a text file containing the type of files within the directories that wont be included in the deployment of app runtime.txt is a text file containing the version o...
I got bored, t'was brownout and with just a candle on the table. Here it goes... I love sad songs, makes me think that I'm not the saddest person on Earth but the one who wrote it. I love romantic movies, 'cause I may learn from it. I love cute people, who doesn't? I love shades of black. I'm neutral, just a little bit of anything, that's me. I love writing, especially when I don't need to use my brain. I love thinking right before I sleep. I also love sleeping. The idea of closing our eyes and possibly travel anywhere is just great. I love girls. Once, twice, thrice...is too much. I don't invest my feelings that much. It's like my defense mechanism. I love talking, not in public but to the people who listens and responds. and lastly You, whoever you are. hahahaha! :D
Comments
Post a Comment
Feel free to ask, suggest and comment regarding this post/blog. You can also contact me through e-mail, just always use the contact page. Thank you for visiting this blog.