Tutorial
TutorialBack to Snip <-- Previous Change | Next Change -->
| Diff Summary | |||||
|---|---|---|---|---|---|
| Title | |||||
| Date | 2007-05-12 10:13:37 | 2008-02-17 00:12:49 | |||
| Editor | Herbert Poul | Herbert Poul | |||
| Tags | |||||
| 2007-05-12 10:13:37 by Herbert Poul | 2008-02-17 00:12:49 by Herbert Poul | ||||
|---|---|---|---|---|---|
| 179 | from django.conf import settings | 179 | from django.conf import settings | ||
| 180 | 180 | ||||
| 181 | defaultdict = { 'groupName': 'example' } | 181 | defaultdict = { 'groupName': 'example' } | ||
| 182 | 182 | ||||
| 183 | urlpatterns = patterns('', | 183 | urlpatterns = patterns('', | ||
| t | t | 184 | (r'^community/', include('sphene.community | ||
| > | .urls'), defaultdict), | ||||
| 184 | (r'^board/', include('sphene.sphboard.urls | 185 | (r'^board/', include('sphene.sphboard.urls | ||
| > | '), defaultdict), | > | '), defaultdict), | ||
| 185 | (r'^wiki/', include('sphene.sphwiki.urls') | 186 | (r'^wiki/', include('sphene.sphwiki.urls') | ||
| > | , defaultdict), | > | , defaultdict), | ||
| 186 | 187 | ||||
| 187 | # Only for development | 188 | # Only for development | ||
| 188 | (r'^static/sphene/(.*)$', 'django.views.st | 189 | (r'^static/sphene/(.*)$', 'django.views.st | ||
| > | atic.serve', {'document_root': settings.ROOT_PATH | > | atic.serve', {'document_root': settings.ROOT_PATH | ||
| > | + '/../../static/sphene' }), | > | + '/../../static/sphene' }), | ||
Powered by Sphene Community Tools
