I wanted to try creating a CI (continuous integration) pipeline using Jenkins at home for fun 🙂 I launched IntelliJ IDEA by jetbrains and created an empty test project. Then I added this project to Git. In case you don’t know
I recently created a cloud server instance on GoDaddy and installed a Bitnami application (Discourse) on it for one of my domains. Then I realized this Bitnami banner on the lower right corner. After some research and trials, I was
I wanted to write 1 more post in 2016 before the year ends. So, here it is 🙂 Let’s talk a little more about Virtual Environments. If you have a virtual environment you can back it up and re-create it later
I am finally back with another post after a while. I had this time period where I got busy with other things in life and felt a little tired for coding and blogging. That seems to be over now. Thank
In your Django website you have models. These models represent tables in your database. So, what would you do if you wanted to record new model data into your DB? How would you get user input? Of course, using forms.
As you already know when a request comes to your Django site, it first looks for the url patterns of your site and once a patter is matched related view function is called passing some arguments to that function. But
Field Lookups Field Lookups are where you actually specify the “where” clause of your SQL query.
Here I have used the __lte lookup to find the books that were published in and before 2010.
Book.objects.get(title__exact='guide to the galaxy')
Here I have used
Django provides you with a database abstraction layer (or an API) that lets you perform CRUD operations without writing a single line of SQL. In this post I will talk about how we can retrieve objects using this API. We
You have created your Virtual Environment and PyCharm automatically associated it with you default project. Now you want to install packages into this Virtual Environment. Here is how you can do it. First of all, activate your Virtual Environment. To do