Add first accounting implementation

This commit is contained in:
Skia
2016-01-28 16:53:37 +01:00
parent 2b999d87ba
commit f71ce2f7df
12 changed files with 245 additions and 4 deletions

View File

@ -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/

View File

@ -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!!!