- forum with user pictures
- archive function
This commit is contained in:
Martin Bauer
2013-09-15 12:29:56 +02:00
parent d5f461181d
commit f0746172ec
17 changed files with 245 additions and 15 deletions

Binary file not shown.

View File

@@ -53,8 +53,8 @@ USE_TZ = True
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
#MEDIA_ROOT = PROJECT_PATH + "/media/"
MEDIA_ROOT = ''
MEDIA_ROOT = PROJECT_PATH + "/../media/"
##MEDIA_ROOT = '/'
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
@@ -149,6 +149,7 @@ INSTALLED_APPS = (
'intern_area',
'website',
'rest_framework',
'messages',
)

View File

@@ -8,6 +8,7 @@ from musicians.views import user_edit
import intern_area.views
import website.views
import messages.views
import eventplanner.urls
import settings
@@ -26,4 +27,5 @@ urlpatterns = patterns('',
url(r'^website/$', website.views.home_view),
url(r'^login/$', website.views.login_view),
url(r'^logout/$', website.views.logout_view),
url(r'^messages/$', messages.views.message_view ),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)