First steps with the api

This commit is contained in:
2016-08-05 00:50:48 +02:00
parent ad36c1c6f6
commit feb7b4689b
15 changed files with 44 additions and 10 deletions

View File

@ -51,6 +51,7 @@ INSTALLED_APPS = (
'counter',
'eboutic',
'launderette',
'rest_framework',
'api',
)

View File

@ -29,5 +29,6 @@ urlpatterns = [
url(r'^accounting/', include('accounting.urls', namespace="accounting", app_name="accounting")),
url(r'^eboutic/', include('eboutic.urls', namespace="eboutic", app_name="eboutic")),
url(r'^launderette/', include('launderette.urls', namespace="launderette", app_name="launderette")),
url(r'^api/', include('api.urls', namespace="api", app_name="api")),
url(r'^admin/', include(admin.site.urls)),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) # TODO: remove me for production!!!