Tag python
Django 1.0 Alpha Released
Django, my web development framework of choice, has reached Alpha 1.0. There's a bunch of Backwards Incompatible Changes to the API which will require changes to your projects, but the codebase should be pretty stable from here to 1.0.
The biggest changes to this from the last official release are 'Unicode everywhere', a new and more powerful admin module powered by newforms, an updated database ORM that's more efficient, and automatic escaping in templates to help reduce the risk of cross-site scripting attacks.
1.0 should be released with a party at DjangoConf 2008 on September 2nd - I look forward to it (Although I won't be at DjangoConf, unfortunately).
Great work to everybody involved!
http://www.djangoproject.com/weblog/2008/jul/21/10-alpha/Paypal with Django at From Accessibility to Zope
Useful python code sample that shows how to easily use M2crypto to encrypt Paypal web payment buttons.
http://blog.mauveweb.co.uk/2007/10/10/paypal-with-django/HOWTO: Programming S/MIME in Python with M2Crypto
An example of using S/MIME in Python's M2Crypto to sign & encrypt data - as you may do to send encrypted payments to PayPal.
http://svn.osafoundation.org/m2crypto/trunk/doc/howto.smime.htmlDjango Master Class
A presentation given by Django gurus Jacob Kaplan-Moss, Simon Willison and Jeremy Dunck on a few of Django's more interesting features such GIS, OpenID, Signals, and other nifty features that are often overlooked.
http://simonwillison.net/2007/Jul/24/django/Django Quick Tips #2: Image Thumbnails :: SuperJared.com
One of the most common tasks in web development is resizing uploaded images into thumbnails of the original. Today I’ll show you how to accomplish this in Django inside your model....
http://superjared.com/entry/django-quick-tips-2-image-thumbnails/Bayesian SPAM filtering with Python
Elegant Chaos has built this python wrapper to CRM114, a Bayesian spam filtering engine. It provides a simple interface to learn spam / ham, and to scan text. Very useful for embedding spam filtering in your applications!
http://www.elegantchaos.com/node/129Dive Into Python
Dive Into Python is a fantastic book for experienced programmers wanting to learn how to use Python. It's readable online, or you can buy a printed copy. It covers things such as differences between Python and other languages, how to build applications, and neat little tricks to use while working with Python. It also has a unique approach to learning, in that it provides a full script then works through it, rather than providing twenty pages of syntax with an undocumented example at the end.
http://diveintopython.org/The B-List: Django tips: extending the User model
Provides a great way to extend Django's built-in User model, without using nasty hacks or subclassing within Python
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model