Login app working (#47)

Can login and create User object. Also now store user token info in db
(closes #48).
This commit is contained in:
2018-06-29 08:43:03 -04:00
parent 8b1344d453
commit e50d3d8476
15 changed files with 223 additions and 193 deletions

View File

@@ -125,3 +125,6 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]

View File

@@ -18,7 +18,7 @@ from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('login/', include('login.urls')),
path('api/', include('api.urls')),
path('graphs/', include('graphs.urls')),
path('login/', include('login.urls', namespace="login")),
path('api/', include('api.urls', namespace="api")),
path('graphs/', include('graphs.urls', namespace="graphs")),
]