The slides from my presentation for the Django Stockholm Meetup group. Contains small comparison between MySQL and PostgreSQL in terms of performance when modigying the tables structure. DJANGO...
http://www.ilian.io/django-and-working-large-database-tables/
This presentation shows the basics of Django - what is inside the framework and explains the Model-View-Template system. One of the most important parts is a diagram how the request is processed ...
... OR WHAT IS THE COST OF USING REGULAR EXPRESSIONS FOR SIMPLE TASKS Regular expressions are one of the most powerful tools in computing I have ever seen. My previous post about Django compres...
http://www.ilian.io/the-road-to-hell-is-paved-with-regular-expressions/
A few months ago I started to play with Fabric and the result was a simple script that automates the creation of a new Django project . In the last months I continued my experiments and extended ...
http://www.ilian.io/automated-deployment-with-ubuntu-fabric-and-django/
As I promised in Automated deployment with Ubuntu, Fabric and Django I will use this post to explain the file structure that I use for my Django projects and what I benefit from it. So here is m...
As a follow up post of Automated deployment with Ubuntu, Fabric and Django here are the slides from my presentation on topic "Automation, Fabric and Django". Unfortunately there is no audio podc...
http://www.ilian.io/automation-fabric-and-django-presentation/
PREFACE: Nine months ago(I can't believe it was that long) I created a script called Simple Site Checker to ease the check of sitemaps for broken links. The script code if publicly available at ...
http://www.ilian.io/simple-site-checker-and-the-user-agent-header/
Here is my presentation part of the in company Python course. FUNCTIONS IN PYTHON from ILIAN ILIEV The last slide - "Problem to solve" is something like a simple homework. Sample solutions...
After some delay(please excuse me for it) here are sample solutions of the problems defined in the presentation Functions in Python . Solutions are also available at GitHub .
OR HOW TO USE THE BENEFITS OF DJANGO TEMPLATE SYSTEM DURING THE PSD TO HTML PHASE There are two main approaches to start designing a new project - Photoshop mock-up or an HTML prototype. The fi...
A WEIRD RACE CONDITION UPDATED SOLUTION, PLEASE CHECK BELOW! SOME BACKGROUND: We have a model that is edited only via the Django admin. The save method of the model fires a celery task to upd...
UPDATE 2: You can also check the follow up post Django interview questions . For the last few weeks I have been interviewing several people for Python/Django developers so I thought that it mig...
Well, as some of you may have seen this blog was on hold for quite a long time. There were multiple reasons mainly my Ph.D. and changing my job but it is back online. SO, WHAT IS NEW? As a s...
BRIEF: Working with intervals in Python is really easy, fast and simple. If you want to learn more just keep reading. TASK DESCRIPTION: Lets say that the case if the following, you have multi...
BRIEF: In one of the project I work on we had to convert some old naive datetime objects to timezone aware ones. Converting naive datetime to timezone aware one is usually a straightforward job. ...
http://www.ilian.io/django-pytz-nonexistenttimeerror-and-ambiguoustimeerror/
In a few words PyCon Sweden 2015 was awesome. Honestly, this was my first Python conference ever but I really hope it won't be the last. Outside the awesome talks and great organisation it was...
... AND SOME ANSWERS Well I haven't conducted any interviews recently but this one has been laying in my drafts for a quite while so it is time to take it out of the dust and finish it. As I hav...
A WEEK OF INNOVATION First of all I want to thank Lifesum for having another "Innovation Week", it is a great opportunity and I hope that more companies will start following it. In a few words ...
... A WEIRD BEHAVIOUR WHEN POOL_RECYCLE IS IGNORED PREFACE: This is quite a standard problem for apps/websites with low traffic or those using heavy caching and hitting the database quite seldo...
http://www.ilian.io/sqlalchemy-and-lost-connection-mysql-server-during-query/
PREFACE: Have you noticed how on some websites when you click on a link that opens a lightbox or any overlay for first time it takes some time to display the border/background/button images. Not ...