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:
@@ -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"),
|
||||
]
|
||||
|
||||
@@ -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")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user