Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Separate projects and experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
mmourafiq committed Oct 9, 2017
1 parent ae07e5b commit ca2c9c9
Show file tree
Hide file tree
Showing 25 changed files with 158 additions and 1,195 deletions.
1 change: 1 addition & 0 deletions api/api/_settings/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
'libs',
'users',
'projects',
'experiments',
'api',
)

Expand Down
7 changes: 4 additions & 3 deletions api/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@


class IndexView(TemplateView):
template_name = "index.html"
template_name = "api/index.html"

urlpatterns = [
url(r'^admin', include(admin.site.urls)),
url(r'^users/', include('users.urls', namespace='users')),
url(r'^admin/', include(admin.site.urls)),
url(r'^api/token/', obtain_auth_token),
url(r'^v1/api/', include('projects.urls', namespace='projects_v1')),
url(r'^.*$', IndexView.as_view(), name='index'),
url(r'^$', IndexView.as_view(), name='index'),
]

if settings.DEBUG:
Expand Down
40 changes: 0 additions & 40 deletions api/core/admin.py

This file was deleted.

Loading

0 comments on commit ca2c9c9

Please sign in to comment.