Category Archives: Uncategorized

Pastebin on Google App Engine

I made a pastebin using the webapp framework in Google App Engine. So far it supports about 11 types of syntax highlights, but I could add more if necessary. This is not as “feature-rich” as dpaste but it works. For some unknown reason, I decided to call it wepaste. Here are some sample highlights:

Python
Ruby
html

For now, [...]

(Another) simple web.py wiki

After spending considerable time learning Django, I stumbled upon another Python framework called web.py. Web.py is much simpler than Django and has far fewer built in features. For example, web.py has no built in object relational mapper, automatic admin site, or authentication classes. These features can be incredibly useful (and time-saving), but are not [...]

Django login script code snippet

Based off what I learned making my previous tutorial A simple introduction to Django forms, I made a somewhat more elegant login script which includes the ability to log out (what a novel idea!).

addthis_url = ‘http%3A%2F%2Fwww.alandelevie.com%2F2008%2F12%2F22%2Fdjango-login-script-code-snippet%2F’;
addthis_title = ‘Django+login+script+code+snippet’;
addthis_pub = ”;

A simple introduction to Django forms

As a Django noob neophyte, it took me some time to figure out how to create and handle forms. After a few headaches and sifting through a decent amount of documentation, I have learned the basic structure of creating a form using Django. The following will be a simple tutorial showing you how to create [...]

bit.ly and teaching the machine

It’s been a while since my last post. Since then I have been learning Python and Django. I definitely prefer Python to PHP. What I love about Python (and using Django) is that it allows a novice like myself to make relatively complex applications without frying my brain. One of my first projects with Django was [...]