Skip to content

Commit

Permalink
added the update capability. support now the nested values of get.
Browse files Browse the repository at this point in the history
  • Loading branch information
darius BERNARD committed Nov 29, 2016
1 parent f1ba8cc commit 01c0db9
Show file tree
Hide file tree
Showing 19 changed files with 572 additions and 89 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Ready to contribute? Here's how to set up `django-rest-models` for local develop

$ mkvirtualenv django-rest-models
$ cd django-rest-models/
$ pip install -r requirements.txt
$ python setup.py develop

4. Create a branch for local development::
Expand Down
1 change: 1 addition & 0 deletions rest_models/backend/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logging

from requests.auth import AuthBase, HTTPBasicAuth

from rest_models.backend.exceptions import FakeDatabaseDbAPI2

logger = logging.getLogger(__name__)
Expand Down
4 changes: 3 additions & 1 deletion rest_models/backend/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

from django.db.backends.base.base import BaseDatabaseWrapper
from django.db.backends.base.validation import BaseDatabaseValidation
from rest_models.backend.connexion import ApiConnexion, DebugApiConnectionWrapper

from rest_models.backend.connexion import (ApiConnexion,
DebugApiConnectionWrapper)
from rest_models.backend.exceptions import FakeDatabaseDbAPI2

from .client import DatabaseClient
Expand Down
1 change: 1 addition & 0 deletions rest_models/backend/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from django.db.backends.base.client import BaseDatabaseClient
from django.test.testcases import LiveServerThread, _StaticFilesHandler

from rest_models.backend.connexion import LocalApiAdapter


Expand Down
Loading

0 comments on commit 01c0db9

Please sign in to comment.