Django uses save() method in models to save all kind of data into database. This method is used by framework when you want to add or edit data. That’s great, however sometimes we need to know is it INSERT, or maybe UPDATE. How to check it?
We did some tests few days ago. Kind of easy problem, however… it’s not so obvious. What should I do? Check if variable exists or just create this variable without checking it?
We generated new ssl key. This time it’s from Gigaone. I added it to site’s config file and after restart of nginx I have a message: “Starting nginx: Enter PEM pass phrase:”. Everything is fine, however I don’t want to fill my password after each restart of nginx. Time to do something with it.
I don’t why, but automounting in my Ubuntu 9.10 doesn’t work. I couldn’t find any solutions, so I have to mount my usb flash drive manually.
I will try to describe how to track sub domains via Google Analytics, based on domain tspot.pl and sub domain en.tspot.pl.
After a while I sat to one of my old projects again… web-based JEE system to manage requirements of the projects, with maven as a system to manage this project’s dependencies. I work on eclipse, so I wanted to install plugin m2eclipse. However at the end of the installation, after restart of eclipse, I have an error: “The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK. (…)”. How to solve it?
So easy, right? Yes, of course. However I forgot about it. That’s why RSS feeds to two of my blogs (this one and blog.karolzielinski.com) didn’t work for a while. Ehhh… fixed. Now, I will describe how to allow this form.
Ok, I already told you how to ping other sites via django (pingback). Now it’s time for a description how to receive pings from the other bloggers.
One of our blogs has been created in django. Now… because of its increasing popularity – we need to support pingbacks in this blog. That’s why we need to create functionality to handle it. This time… I will describe how to create functionality to pinging other websites via django.
Today… really easy example. I will tell you how to support GET params encoded in UTF-8.
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.