Wednesday, 20 February 2013

Solved [No FlatPages matches the given query] #Django

After following most of the solutions provided, the most important factor you should consider that is not indicated in the django docs is that of SITE_ID = 1.

By default Django provides on the admin panel for Sites, "" . When adding flatpages one may tend to add his own site and most tutorials will dictate that you use SITE_ID = 1 on .

What the don't tell you is that "" site is by default 1. SO what you should do is edit the "" site to and there you have it.

Remember to also add

    # last entry in 
(r'', include('django.contrib.flatpages.urls')),`



Wednesday, 13 February 2013

Inspiring Sentences

Dear Reader,

Today was just the day that I felt that feeling. What feeling? Yea that feeling that makes you feel as if you don't believe in your self. Fear Not, for as I was reading some book I stumbled upon some words.
Words that will fill you with inner peace.

"In the midst of hate, I found there was, within me, an invisible love.
  In the midst of tears, I found there was, within me, an invisible smile.
  In the midst of chaos, I found the was, within me, an invisible calm.
  In the midst of winter, I found there was, within me, an invisible summer.
 And that makes me happy. For it says that no matter how much the world pushes against me, there's something stronger - something better, pushing right back. " -Albert Camus
By now I hope you have attained inner peace with yourself.

Until next time Adios...........

Saturday, 2 February 2013

Restleness Overcomed by team254

Waking up, its morning and you have this feeling, you don’t want to code, you don’t want to watch a movie,  not even facebook and twitter can help. A little help maybe from De'Angelo maybe will do the trick, but nothing seemed to catch my attention on Quora.

Have you ever been in this kind of situation, man this is the time you remember, hip hop songs like "I Don't Like".  Apparently Kenya is playing in the Wellington7s and we have just won all our 3 pool games and now we are off to the Quarters. So this was news, however no news to actually make stop feeling this feeling, I am calling it this because I don't even know what kind of feeling am experiencing.

I mean Kenya in the past series has been doing good stuff, so qualifying to the quarters isn't something new. We are used to this kind of news. Any way Kenya advances to the quarters to meet South Africa and everyone has their fingers crossed.

Kenya, goes to the Quarters and just defeats South Africa. So how did that happen, I don't know. Then we are off to the Semi and we are supposed to face NZ. Damn!!! This was one heck of a series. The game begins and at half-time we are 14-0, NZ have the lead. Here's the fun part Kenya come to this fulfilling comeback and declare why they are the fighters. Have you heard about the Maasai morans if you haven’t please Google it!!!!! That's how our boys fought and they came home with the .....W......

Kenya comes from behind converts all their 3 tries and the score is 21-19 at the end. We are off to the finals. Who are we to meet ? England...

Kenyan Morans walk into the finals with all their umph alongside and they fall short to two tries from England with 12-0 on the scoreboard, the Morans come in from no where and equalise it to 12-12 at half-time. Now that's a fight, don't you think? Kenya comes again and put's another try and converts it to have 19-12 .

It full time but i don’t understand why the  hooter doesn’t go off, then our player is sin-bined, we have only 5 boys on the pitch and some English player knocks the ball, its supposed to be game over, but game goes on. We finally lose to a try from another English man and since the game was in sudden death mode, the first try commands victory, England takes it.

I don't know what that is supposed to be, but Kenya has just shown the world that they are back and lets see if they will now give us unfair play at LasVegas7s next week. This was Kenya's 2nd time to reach the finals since 2009.

Go Kenya #teamkenya is behind you.......