Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<?php class Place extends Model { var name = 'type=charField,maxlength=50'; } class Restaurant extends Place { var description = 'type=TextField'; var question = 'foreignkey=question'; var _meta = 'order_with_respect_to=question'; } class ItalianRestaurant extends Restaurant { var has_decent_gnocchi = 'type=BooleanField'; var GENDER_CHOICES = array('M'=>'Male','F'=>'Female') var gender = 'type=CharField,max_length=1,choices=$GENDER_CHOICES'; var gender = 'type=CharField,max_length=1,choices=Gender.getChoices("public") } ?>
This paste will be private.
From the Design Piracy series on my blog: