Skip to content

Commit

Permalink
Fixed the formatting of the README.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastdriven committed Jun 19, 2010
1 parent df45471 commit 40b1f6f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ What's It Look Like?
A basic example looks like::

# myapp/api.py
# ============
from tastypie.resources import ModelResource
from myapp.models import Entry
Expand All @@ -34,7 +35,9 @@ A basic example looks like::
class Meta:
queryset = Entry.objects.all()
# urls.py
# =======
from django.conf.urls.defaults import *
from tastypie.api import Api
from myapp.api import EntryResource
Expand Down Expand Up @@ -66,13 +69,13 @@ common reasons for tastypie.
* You want to support deep relations.
* You DON'T want to have to write your own serializer to make the output right.
* You want an API framework that has less magic, very flexible and maps well to
the problem domain.
the problem domain.
* You want an API framework that doesn't involve overriding a 115+ line
``__call__`` function to assert some control over your API.
``__call__`` function to assert some control over your API.
* You want/need XML serialization that is treated equally to JSON (and YAML is
there too).
there too).
* You want to support my perceived NIH syndrome, which is less about NIH and more
about trying to help out friends/coworkers.
about trying to help out friends/coworkers.


Reference Material
Expand Down

0 comments on commit 40b1f6f

Please sign in to comment.