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

Commit

Permalink
small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Apr 26, 2017
1 parent 1874169 commit 3bbff99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ As you can see, we have imported `utils` from `grest`, so that we can use the `N

Then we should inherit from `grest` to make a new view of our model (so that it accepts RESTful verbs):
~~~~
from grest import grest
from grest import GRest
class PersonsView(grest):
class PersonsView(GRest):
__model__ = {"primary": Person}
__selection_field__ = {"primary": "uid"}
~~~~
Expand Down

0 comments on commit 3bbff99

Please sign in to comment.