Show
Ignore:
Timestamp:
10/22/07 10:27:54 (7 years ago)
Author:
ged
Message:

enable syntax hilighting for python code in docstrings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/elixir/relationships.py

    r221 r223  
    5151expressed like so: 
    5252 
    53 :: 
     53.. sourcecode:: python 
    5454 
    5555    class Pet(Entity): 
     
    113113represented as a `GearStick` object. This could be expressed like so: 
    114114 
    115 :: 
     115.. sourcecode:: python 
    116116 
    117117    class Car(Entity): 
     
    132132them being a `Person`. This could be expressed like so: 
    133133 
    134 :: 
     134.. sourcecode:: python 
    135135 
    136136    class Person(Entity): 
     
    148148``has_and_belongs_to_many`` statement.  Here is an example: 
    149149 
    150 :: 
     150.. sourcecode:: python 
    151151 
    152152    class Person(Entity): 
     
    175175tags, but the same `Tag` can be used on several articles. 
    176176 
    177 :: 
     177.. sourcecode:: python 
    178178 
    179179    class Article(Entity):