Search
SearchBack to Snip <-- Previous Change | Next Change -->
| Diff Summary | |||||
|---|---|---|---|---|---|
| Title | |||||
| Date | 2008-04-27 10:46:33 | 2008-04-27 10:53:34 | |||
| Editor | Herbert Poul | Herbert Poul | |||
| Tags | |||||
| 2008-04-27 10:46:33 by Herbert Poul | 2008-04-27 10:53:34 by Herbert Poul | ||||
|---|---|---|---|---|---|
| 25 | svn co http://yourhell.com/svn/root/django/com | 25 | svn co http://yourhell.com/svn/root/django/com | ||
| > | munitytools_vendor/ | > | munitytools_vendor/ | ||
| 26 | 26 | ||||
| 27 | afterwards add communitytools_vendor/vendor/djapia | 27 | afterwards add communitytools_vendor/vendor/djapia | ||
| > | n/src/djapian to your PYTHONPATH (either by symlin | > | n/src/djapian to your PYTHONPATH (either by symlin | ||
| > | king it into site-packages or defining the system | > | king it into site-packages or defining the system | ||
| > | property PYTHONPATH or modifying your settings_loc | > | property PYTHONPATH or modifying your settings_loc | ||
| > | al.py | > | al.py | ||
| 28 | 28 | ||||
| 29 | 29 | ||||
| n | n | 30 | Now add djapian to your INSTALLED_APPS and run ./m | ||
| > | anage.py syncdb - this should create the Change mo | ||||
| > | del from djapian. | ||||
| 31 | |||||
| 30 | **Daemon**: for indexing to work correctly you hav | 32 | **Daemon**: for indexing to work correctly you hav | ||
| > | e to setup the daemon - see <http://code.google.co | > | e to setup the daemon - see <http://code.google.co | ||
| > | m/p/djapian/wiki/Architecture> | > | m/p/djapian/wiki/Architecture> | ||
| 31 | 33 | ||||
| 32 | 34 | ||||
| n | n | 35 | # Activate search | ||
| 33 | 36 | ||||
| t | t | 37 | Since as of writing only the forum has a search ap | ||
| > | plication called sphsearchboard i explain it with | ||||
| > | it. | ||||
| 38 | |||||
| 39 | ## Installed Apps | ||||
| 40 | |||||
| 41 | Add the application 'sphene.sphsearchboard' to you | ||||
| > | r INSTALLED_APPS (in settings_local.py). | ||||
| 42 | |||||
| 43 | ## URL Configuration | ||||
| 44 | |||||
| 45 | Add a URL to your url patterns (e.g. in communityd | ||||
| > | raft this would be communitydraft/community/urlcon | ||||
| > | fs/community_urls.py): | ||||
| 46 | |||||
| 47 | (r'^board/search/', include('sphene.sphsearchb | ||||
| > | oard.urls'), community_urls.defaultdict), | ||||
| 48 | |||||
| 49 | ## Initial update | ||||
| 50 | |||||
| 51 | TODO | ||||
Powered by Sphene Community Tools
