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

SQLAlchemy: Dependency rule tried to blank-out primary key column…

February 21, 2010

While I was working on some project (pylons + sqlalchemy), I had an error: “ERROR [project.controllers.blog] Dependency rule tried to blank-out primary key column ‘BLOG_TAG_2_ENTRY.id_blog_entry’ on instance”. How to fix it?




Get number of your twitter followers in python

January 18, 2010

We already know how to implement functionality for automatic adding statuses to twitter. Today we will implement a functionality for automatic downloading a number of your twitter followers in python (django).




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?


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.


CSS and JavaScript compression via django-compress

November 5, 2009

I want to automate CSS/JavaScript compression in my django application. My choose is: django-compress. Easy-to-use, fast and… it works.


I’m building production environment for my django apps

October 21, 2009

I’m building production environment on my VPS for all of my django applications. What I need is: Django framework, Apache (with mod_wsgi) and nginx. I will do it on ubuntu 9.04.


Sitemap.xml with newses and static pages in django

October 6, 2009

It’s really easy to create simple sitemap.xml in django. You can follow the instructions from this site or just google it. However… it’s a bit more complicated when you want to create simple.xml file with newses and some static pages.


Change SITE_ID on the fly in django

October 5, 2009

I need dynamic SITE_ID in one of my websites (tspot), because of different domains and languages in it. I don’t want more threads, I just want to have different SITE_ID for different domains.


Django internalization – translate.activate() instead of redirect

September 28, 2009

I already wrote something about django + internalization. Today I will add one more thing to this topic.


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