|
InstalationGuideOne
#install guide for release 1.0 DEPENDENCIES
INSTALL INSTRUCTIONSGet the latest django-forumBR from the side panel Step 01Unzip and copy the new "forum" app folder to your project folder, Step 02Add forum app to your project installed apps, in settings. INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'yourproject.forum', # <- *here*
'yourproject.registration', # *needed!*
'django.contrib.admin', # *needed!*
)Step 03Point "forum" templates folder in your settings.py file. (forum/templates) Step 04Copy the files inside forum/media_root/css/ to path/to/project/media_root/css/. Copy the files inside forum/media_root/js/ to path/to/project/media_root/js/. Copy the files inside forum/media_root/images/ to path/to/project/media_root/images/forum/. Step 05Configure your project's urls.py to route requests to forumBR. #-*- coding: utf-8 -*-
from django.conf.urls.defaults import *
urlpatterns = patterns('',
# *optional*
# (r'^$', 'django.views.generic.simple.redirect_to', {'url':'forumBR/'}),
(r'^forumbr/', include('maiacorp.forum.urls')), # this makes forumBR accessible
)You can change '^forumbr/' to anything you like. Check out a django-forumBR deploy at http://www.italomaia.com/forumbr/ |
► Sign in to add a comment