1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

add default profile pic

This commit is contained in:
Pierre-antoine Comby
2020-03-03 14:24:07 +01:00
parent 901454f338
commit 211859e940
5 changed files with 11 additions and 1 deletions

View File

@ -1,9 +1,11 @@
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from django.conf import settings
from django.contrib import admin
from django.urls import path, include
from django.views.generic import RedirectView
from django.conf.urls.static import static
urlpatterns = [
# Dev so redirect to something random
@ -22,3 +24,5 @@ urlpatterns = [
# Include Django REST API
path('api/', include('api.urls')),
]
urlpatterns += static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)