Wednesday, March 3, 2010

var blog = new Blog();

Syntax highlighting test:


#!/usr/bin/env python
# encoding: utf-8

from django.core.mail import send_mail
from django import forms
from registration.forms import RegistrationForm
from registration.models import RegistrationProfile
from django.conf import settings
from accounts.models import User, UserProfile
from django.forms import ModelForm

class UserProfileForm(ModelForm):
class Meta:
model = UserProfile
exclude = ('user')
fields = (
'about',
'image',
'address_street',
'address_city',
'address_zip',
'address_country',
'phone'
)

No comments:

Post a Comment