Skip to content

Commit

Permalink
change api name to a version naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
loolmeh committed Jul 12, 2015
1 parent 3b0fd01 commit 74893a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ This is a bridge project between the current website's schema and python/django.
it should appear on localhost:8000

```sh
curl -s 127.0.0.1:8000/api/sentences_search/?sentence_text="what"&format=json
curl -s 127.0.0.1:8000/0.1/sentences_search/?sentence_text="what"&format=json
```
2 changes: 1 addition & 1 deletion tatoeba2-django/tatoeba2/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
)


api = Api(api_name='api')
api = Api(api_name='0.1')
api.register(SentencesResource())
api.register(SentencesSearchResource())

Expand Down

0 comments on commit 74893a5

Please sign in to comment.