Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jul 3, 2014
1 parent 1ec0acc commit 6e41f07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Saving an URL's HTML content to your storage backend becomes this easy.

```python
>>> obj = MyModel.objects.create(archive="http://www.latimes.com")
>>> # You can do it this way too
>>> obj = MyModel()
>>> obj.archive = "http://www.latimes.com"
>>> obj.save()
```

The field attribute now has all the typical qualities of [a Django FileField](https://docs.djangoproject.com/en/dev/ref/models/fields/#filefield)
Expand Down

0 comments on commit 6e41f07

Please sign in to comment.