Adds syntax highliting to README
@@ -16,12 +16,15 @@ pyDAL comes from the original web2py's DAL, with the aim of being compatible wit
You can install pyDAL using `pip`:
+```bash
pip install pyDAL
+```
## Usage and Documentation
Here is a quick example:
+```pycon
>>> from pydal import DAL, Field
>>> db = DAL('sqlite://storage.db')
>>> db.define_table('thing', Field('name'))
@@ -31,6 +34,7 @@ Here is a quick example:
>>> print rows[0].name
Chair
>>> db.commit()
+```
The complete documentation is available on http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer
