Changeset 357
- Timestamp:
- 04/21/08 02:59:40 (7 months ago)
- Location:
- trunk/tutorial/tweetsearch/py
- Files:
-
- 3 modified
-
readme.txt (modified) (1 diff)
-
settings.py (modified) (2 diffs)
-
urls.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tutorial/tweetsearch/py/readme.txt
r356 r357 13 13 SetHandler python-program 14 14 PythonHandler django.core.handlers.modpython 15 SetEnv DJANGO_SETTINGS_MODULE tweetsearch.settings15 SetEnv DJANGO_SETTINGS_MODULE py.settings 16 16 SetEnv PYTHON_EGG_CACHE /tmp 17 17 PythonDebug On 18 PythonPath "['/path/to/thrudb/tutorial/ py'] + sys.path"18 PythonPath "['/path/to/thrudb/tutorial/tweetsearch/py'] + sys.path" 19 19 </Location> 20 20 -
trunk/tutorial/tweetsearch/py/settings.py
r354 r357 65 65 ) 66 66 67 ROOT_URLCONF = ' tweetsearch.urls'67 ROOT_URLCONF = 'py.urls' 68 68 69 69 TEMPLATE_DIRS = ( 70 "/home/thaidn/buildthrudb/thrudb/tutorial/tweetsearch "70 "/home/thaidn/buildthrudb/thrudb/tutorial/tweetsearch/py" 71 71 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". 72 72 # Always use forward slashes, even on Windows. … … 79 79 'django.contrib.sessions', 80 80 'django.contrib.sites', 81 ' tweetsearch.search',81 'py.search', 82 82 ) -
trunk/tutorial/tweetsearch/py/urls.py
r354 r357 3 3 urlpatterns = patterns('', 4 4 # Example: 5 (r'^$', ' tweetsearch.search.views.search'),6 (r'^search/', ' tweetsearch.search.views.search'),5 (r'^$', 'py.search.views.search'), 6 (r'^search/', 'py.search.views.search'), 7 7 # Uncomment this for admin: 8 8 # (r'^admin/', include('django.contrib.admin.urls')), 9 9 # catch all 10 (r'^.*$', ' tweetsearch.search.views.search')10 (r'^.*$', 'py.search.views.search') 11 11 )
