... because from time to time I'm a web developer, too
About me
Projects
Contact
Links

INSERT or UPDATE in django’s save() method

January 5, 2010

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?


“if” or maybe “=”? What is faster in python?

December 22, 2009

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?


“Starting nginx: Enter PEM pass phrase:” – not any more

December 18, 2009

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.


Automounting doesn’t work, I need to mount manually

December 11, 2009

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.


Sub domains in Google Analytics

December 10, 2009

I will try to describe how to track sub domains via Google Analytics, based on domain tspot.pl and sub domain en.tspot.pl.


m2eclipse: Eclipse is running in a JRE, but a JDK is required

December 9, 2009

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?


Allow short form of PHP’s open tag

November 26, 2009

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.


Pingback – receive pings in django

November 18, 2009

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.


Pingback – pinging other sites in django

November 16, 2009

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.


Support UTF-8 in GET params in python

November 13, 2009

Today… really easy example. I will tell you how to support GET params encoded in UTF-8.


Karol Zielinski :: Just a tech stuff 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.

Most popular posts

Much more links

Karol Zielinski    |   contact me
Gdynia, Poland
RSS - Just a tech stuff - python, java blog - web development blog Karol Zielinski on twitter Karol Zielinski on LinkedIn Karol Zielinski on facebook Karol Zielinski on delicious Karol Zielinski on digg Karol Zielinski on flickr Karol Zielinski on stumbleupon Karol Zielinski on technorati