Thursday, December 05, 2013

DSE 4.0 Release Candidate #2 available

Just uploaded DSE 4.0 Release Candidate #2 to pypi. It contains a fix for django 1.6 and some notes on reported issues using MySQL InnoDB.

Friday, April 19, 2013

Just bought PyCharm - grab it now, it's on sale!

Head over to JetBrainz to get your own license at half price for this great python/django IDE.

Thursday, February 28, 2013

Django development in Visual Studio

As I spend most of my daytime job in Visual Studio I find this fascinating.

I'd still to prefer to be using PyCharm running on a Ubuntubox for my development, but it's still cool.

Wednesday, February 27, 2013

Django-QuickView : putting the nitro in rapid web development

Wetting your appetite


    from django.db import models
from quickview import modelview @modelview class Friend(models.Model): name = models.CharField(max_length = 100) email = models.EmailField(null = True, blank = True)

In global

    from django.conf.urls import patterns
    from quickview import discover_views

    urlpatterns = patterns('',

    urlpatterns += discover_views()

That's all it takes to get full scaffolding (list, detail, add, update, delete) for your model with similar ajax API. Ok, you might have to write some templates, but even that can be reduced to a minimum.
Head over to bitbucket for more information.

Friday, December 21, 2012

DSE 4.0-pre released!

Hey, I'm not dead - I'm just lazy. But with the latest development release of Django showing Python 3.x support I wanted to try to provide a release of DSE with support for Python 3.x as well.

Source available or go to pypi. You should also be able to just do:

pip install dse

Some feedback would be great. Planning to implement Python 3.x support for all my other projects as well.

Wednesday, April 18, 2012

DSE 3.2.0 released

DSE version 3.2.0 has been released, with two fixes:

  • patch from to be compatible with Django 1.4.0. 
  • Patch from HervĂ© Cauwelier to provide support for models with non-autokey primary fields.

Monday, January 09, 2012

Django-photofile v.0.4.0 released

New in 0.4.0:

Photofile can detect screen resolution using a decorator, like so:

    from django.http import HttpResponseRedirect, HttpResponse
    from photofile.decorators import provide_screen_info

    def index(request):
         return HttpResponse("%sx%s" % (request.session.get('screen_width'), request.session.get('screen_height')))

You also need to add the photofile.urls:

    from django.conf.urls.defaults import patterns, include, url
    import photofile

    urlpatterns = patterns('',
        url(r'^default.html$', 'testme.views.index'),
    urlpatterns += photofile.urls.urlpatterns;

This also makes it possible for photofile to automatically generate maximized thumbnails depending on the screen resolution:

    {% generate_thumbnail imagefile max %}

using the max option for resolution.