Forum
- forum with user pictures - archive function
This commit is contained in:
Binary file not shown.
@@ -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',
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user