django – ‘int’ object has no attribute ‘keys’

django-int object has no attribute keys

Being new to Django, sometimes I face interesting problems. If it is very late and you are very tired, It may not always be easy to see the problem looking at the displayed error message like this int’ object has no attribute

Read More django – ‘int’ object has no attribute ‘keys’

Django NoReverseMatch Error

Django NoReverseMatch Error

Django’s reverse method can be found under django.core.urlresolvers (new versions: django.urls). To be able to use it you should import it like so:

reverse method is used to generate urls so that you can use them in your template files,

Read More Django NoReverseMatch Error

RedHat JBOSS BPM Suite Installation Error – No ‘jar’ binary detected in PATH

No ‘jar’ binary detected in PATH. I encountered this error message when I was trying to install RedHat JBoss BMP Suite for the first time. At first, I thought I needed to install JRE and include the bin folder in

Read More RedHat JBOSS BPM Suite Installation Error – No ‘jar’ binary detected in PATH

WAMP Server – 500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. If you are using WAMP Server as your local PHP development stack you might encounter this error. One of the possible reasons is, let me

Read More WAMP Server – 500 Internal Server Error

PHP Fatal error: Call to undefined method mysqli_stmt::get_result()

I had this error message when I deployed my PHP website to my cPanel PHP hosting company. This message was displayed on all the pages using “get_result()” on a mysqli statement. PHP Fatal error: Call to undefined method mysqli_stmt::get_result() Apparently mysqlnd

Read More PHP Fatal error: Call to undefined method mysqli_stmt::get_result()

MySQL- Commands out of sync you can’t run this command now

Today, I coded a piece of PHP where there were 2 consecutive calls to 2 MYSQL stored procedures (select statements). The first “call” queried the database and populated a page area with the result, and the second call came right

Read More MySQL- Commands out of sync you can’t run this command now

When Link is Clicked View Loads but URL Does not Change – Django on Cloud9 (c9.io)

Ok. So my new learning path includes Python and Django (which is also Python 🙂 ). I thought to myself, why not do some learning/ coding on one of the cloud IDEs like cloud9 (c9.io) or koding (koding.com) and started

Read More When Link is Clicked View Loads but URL Does not Change – Django on Cloud9 (c9.io)

Can’t find ‘__main__’ module in ” – Python (Sublime Text 3)

This is the easiest one, don’t panic. I think you forgot to save your file first 🙂 🙂 Just save your Python script with .py extension and run it again. It should work this time. Assuming you have successfully: Installed Sublime

Read More Can’t find ‘__main__’ module in ” – Python (Sublime Text 3)

Sublime Text 3 Error – ‘python’ is not recognized as an internal or external command

I will soon start my study on Python while developing my latest website using PHP. This time I wanted to use a different editor ( I have been using Notepad++ for my PHP development). Why not learn a new language

Read More Sublime Text 3 Error – ‘python’ is not recognized as an internal or external command