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?
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).
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?
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.
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 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.
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.
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.
I already wrote something about django + internalization. Today I will add one more thing to this topic.
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.