Changeset 357

Show
Ignore:
Timestamp:
04/21/08 02:59:40 (7 months ago)
Author:
thai
Message:

relocate tweetsearch-py to tutorial/tweetsearch/py

Location:
trunk/tutorial/tweetsearch/py
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/tweetsearch/py/readme.txt

    r356 r357  
    1313                SetHandler python-program 
    1414                PythonHandler   django.core.handlers.modpython 
    15                 SetEnv  DJANGO_SETTINGS_MODULE tweetsearch.settings 
     15                SetEnv  DJANGO_SETTINGS_MODULE py.settings 
    1616                SetEnv  PYTHON_EGG_CACHE /tmp 
    1717                PythonDebug On 
    18                 PythonPath      "['/path/to/thrudb/tutorial/py'] + sys.path" 
     18                PythonPath      "['/path/to/thrudb/tutorial/tweetsearch/py'] + sys.path" 
    1919        </Location> 
    2020 
  • trunk/tutorial/tweetsearch/py/settings.py

    r354 r357  
    6565) 
    6666 
    67 ROOT_URLCONF = 'tweetsearch.urls' 
     67ROOT_URLCONF = 'py.urls' 
    6868 
    6969TEMPLATE_DIRS = ( 
    70     "/home/thaidn/buildthrudb/thrudb/tutorial/tweetsearch" 
     70    "/home/thaidn/buildthrudb/thrudb/tutorial/tweetsearch/py" 
    7171    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". 
    7272    # Always use forward slashes, even on Windows. 
     
    7979    'django.contrib.sessions', 
    8080    'django.contrib.sites', 
    81     'tweetsearch.search', 
     81    'py.search', 
    8282) 
  • trunk/tutorial/tweetsearch/py/urls.py

    r354 r357  
    33urlpatterns = patterns('', 
    44    # 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'), 
    77    # Uncomment this for admin: 
    88    # (r'^admin/', include('django.contrib.admin.urls')), 
    99    # catch all 
    10     (r'^.*$', 'tweetsearch.search.views.search')   
     10    (r'^.*$', 'py.search.views.search')   
    1111)