diff options
author | Andy Doan <andy.doan@linaro.org> | 2014-08-25 13:00:06 -0500 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2014-08-25 13:00:06 -0500 |
commit | d70e5e52b98766c4df6b931f37686819956d7baa (patch) | |
tree | 8592dc2ce90dfe16d6030d55e0ea96053e719329 /urls.py | |
parent | e0fb55d96bdb1ae8bb397941da09b687e8cbc5bb (diff) |
API: refactor "uploads" into more common "api" module
This just moves the current uploads.py module into a more
commonly named "api/v1.py". This is just setting the stage
to better arrange code and support a v2 api if needed.
Change-Id: Id1991cb1e5a49bb5a77a992bbcd9c001225ada81
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,10 +53,10 @@ urlpatterns = patterns('', 'license_protected_downloads.views.get_license_api'), url(r'^api/request_key$', - 'license_protected_downloads.uploads.api_request_key'), + 'license_protected_downloads.api.v1.api_request_key'), url(r'^api/delete_key$', - 'license_protected_downloads.uploads.api_delete_key'), + 'license_protected_downloads.api.v1.api_delete_key'), # Catch-all. We always return a file (or try to) if it exists. # This handler does that. |