Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Django Refactors
Browse files Browse the repository at this point in the history
Moves all Django code into contrib.django_util.

Adds new functionality to decorators and views that integrate with ORM
storage.

DjangORMStorage is backwards compatible with old django_orm storage.

Fixes issue where Django storage was always creating new Models.

Move tests into Django package and have them create an actual test app
to create test databases etc.

Kills FlowField as its not useful.
  • Loading branch information
Bill Prin committed Jul 15, 2016
1 parent cd635f4 commit be34903
Show file tree
Hide file tree
Showing 22 changed files with 1,387 additions and 958 deletions.
7 changes: 0 additions & 7 deletions docs/source/oauth2client.contrib.django_orm.rst

This file was deleted.

7 changes: 7 additions & 0 deletions docs/source/oauth2client.contrib.django_util.models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
oauth2client.contrib.django_util.models module
==============================================

.. automodule:: oauth2client.contrib.django_util.models
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/oauth2client.contrib.django_util.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Submodules

oauth2client.contrib.django_util.apps
oauth2client.contrib.django_util.decorators
oauth2client.contrib.django_util.models
oauth2client.contrib.django_util.signals
oauth2client.contrib.django_util.site
oauth2client.contrib.django_util.storage
Expand Down
1 change: 0 additions & 1 deletion docs/source/oauth2client.contrib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Submodules
oauth2client.contrib.appengine
oauth2client.contrib.devshell
oauth2client.contrib.dictionary_storage
oauth2client.contrib.django_orm
oauth2client.contrib.flask_util
oauth2client.contrib.gce
oauth2client.contrib.keyring_storage
Expand Down
182 changes: 0 additions & 182 deletions oauth2client/contrib/django_orm.py

This file was deleted.

Loading

0 comments on commit be34903

Please sign in to comment.