Posts

Showing posts from June, 2016

Brighter!

Image
Hi dear! I love you so much. I just felt today that I should say those words to you more often than before. And the need to prove it to you every day. Thank you for considering me in your time. I know I'm quite demanding. Thank you for letting me in again. All I want for you is to be happy with me. I will try my best to make that happen when we're together or even apart. I'll be the saddest if I lose you again. So please bear with my immaturity sometimes. With my random stares at you, and with my unnecessary giggles and smiles. 'Coz I don't see myself with anyone else other than you. I'm claiming it that you will be my future. My future stress-reliever. My future company. My partner in life! So, just bear with me. I LOVE YOU! One of the things that I'm proud of and maybe my "greatest offer" to you. A day spent with you is the day that I'm truest to myself. Every time I look at you, my h...

Believe me...

Image
Believe me, When I say that I LOVE YOU When I care about you When I don't want to hurt you intentionally Because it's true. This is a promise to myself more than to you. You deserve all my time and efforts and more importantly my love. With you, I am not afraid to experience pain again. 'Cause I know that it will be worth it.  And I understand that, when there is love, there is pain. You told me that you would rather get hurt than me, in which I don't want to happen. Sometimes when I'm alone and lying in my bed, thoughts of our relationship will come in my head. It's surreal, and it still amazes me. I must have done something good because God has lead me back to you.   Always remember that my love for you is greater than any of my future mistakes. I want you to know that! You are loved because of who and what you are. You don't need to change and I'm sure you won't.  I'm not perfect dear, but I will be consistent in loving...

Changing Password in Django using Jquery/Ajax

Image
I posted about this not so long ago without using JQuery/Ajax, here is the link .This time, with different approach and much easier.All you need to do is create function in views.py then use it in urls.py and call the URL using Ajax.  HTML: <form action="/change_pw/" method="post" id="frmChangePW"> {% csrf_token %} <div class="form-group"> <label for="id_old_password">Old Password:</label> <input class="form-control" id="id_old_password" name="old_password" type="password" placeholder="Old Password" autofocus=""> </div> <div class="form-group"> <label for="id_new_password">New Password: <input class="form-control" id="id_new_password" name="new_password" placeholder="New Password" type="password"> </label> ...