Changes between Version 3 and Version 4 of KSSInDjango
- Timestamp:
- Oct 15, 2007, 8:54:28 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
KSSInDjango
v3 v4 103 103 104 104 {{{ 105 #!python 105 106 INSTALLED_APPS = ( 106 107 'django.contrib.auth', … … 116 117 If you want to use scriptaculous effects, or other plugins, you can put on ``KSS_EXTRA_PLUGINS`` settings parameter, like that: 117 118 {{{ 119 #!python 118 120 KSS_EXTRA_PLUGINS = ['scriptaculous-effects'] 119 121 }}} … … 123 125 First of all, in your root ``urls.py``, you have to put this: 124 126 {{{ 127 #!python 125 128 urlpatterns = patterns('', 126 129 (r'^kss/', include('kss.django.urls')), … … 151 154 What decides the URL is that the user goes to when he clicks in a wiki word? The answer is: KSS. In your template, you put some HTML code like this: 152 155 {{{ 156 #!xml 153 157 This is a <span class="page-link"><a href="/wiki/view?title=WikiPage">WikiPage</a></span>. 154 158 }}}