mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add first accounting implementation
This commit is contained in:
@ -39,6 +39,7 @@ INSTALLED_APPS = (
|
||||
'django.contrib.staticfiles',
|
||||
'core',
|
||||
'ae',
|
||||
'accounting',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
@ -98,6 +99,9 @@ USE_L10N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
# Medias
|
||||
MEDIA_ROOT = './data/'
|
||||
MEDIA_URL = '/data/'
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/1.8/howto/static-files/
|
||||
|
@ -15,6 +15,8 @@ Including another URLconf
|
||||
"""
|
||||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
from django.conf.urls.static import static
|
||||
from django.conf import settings
|
||||
|
||||
handler403 = "core.views.forbidden"
|
||||
handler404 = "core.views.not_found"
|
||||
@ -23,4 +25,4 @@ urlpatterns = [
|
||||
url(r'^', include('core.urls', namespace="core", app_name="core")),
|
||||
url(r'^ae/', include('ae.urls', namespace="ae", app_name="ae")),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
]
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) # TODO: remove me for production!!!
|
||||
|
Reference in New Issue
Block a user