Weholt Dot Org
Python. Django. Airsoft. Arduino. Making Beer. Family. Me.
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.
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
In models.py:from django.db import modelsfrom quickview import modelview @modelview class Friend(models.Model): name = models.CharField(max_length = 100) email = models.EmailField(null = True, blank = True)
In global urls.py:
from django.conf.urls import patterns
from quickview import discover_views
urlpatterns = patterns('',
)
urlpatterns += discover_views()
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.
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 andornaut@gmail.com 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
@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.
Photofile can detect screen resolution using a decorator, like so:
from django.http import HttpResponseRedirect, HttpResponse
from photofile.decorators import provide_screen_info
@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.
Wednesday, July 06, 2011
Kolibri v.0.2.0 released - now taking user input for background processing
For the impatient:
PYPI and source. Modified BSD license.
Screencast showing off the user-input-part.
Comments and ideas highly welcome, especially help in the UI/HTML/CSS-department. My design skills sucks :-(
Thanks for your attention.
Thomas
PYPI and source. Modified BSD license.
Screencast showing off the user-input-part.
Comments and ideas highly welcome, especially help in the UI/HTML/CSS-department. My design skills sucks :-(
Thanks for your attention.
Thomas
Subscribe to:
Posts (Atom)