Skip to content

Commit

Permalink
Fix code block formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adomas Paltanavičius committed Oct 9, 2009
1 parent b581a8b commit 70562db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README
Expand Up @@ -18,14 +18,14 @@ Usage
First of all, you need to have **django-picklefield** installed; for your
convenience, recent versions should be available from PyPI.

To use, just define a field in your model:
To use, just define a field in your model::

from picklefield import PickledObjectField

class SomeObject(models.Model):
args = PickledObjectField()

and assign whatever you like (as long as it's picklable) to the field:
and assign whatever you like (as long as it's picklable) to the field::

obj = SomeObject()
obj.args = ['fancy', {'objects': 'inside'}]
Expand Down

0 comments on commit 70562db

Please sign in to comment.