Changes between Version 1 and Version 2 of searchengine


Ignore:
Timestamp:
Aug 14, 2006, 3:32:37 PM (18 years ago)
Author:
riklaunim@…
Comment:

Formatting fixes

Legend:

Unmodified
Added
Removed
Modified
  • searchengine

    v1 v2  
    22
    33- Download  '''web_search.py''' from that page
     4
    45- Create a new project called “google”
    56
     
    1213}}}
    1314- Put '''web_search.py''' file in '''searchengine''' folder
     15
    1416- Create '''templates''' folder in the main project folder
     17
    1518- Edit '''settings.py''' and set TEMPATES_DIR to:
    1619{{{
     
    4750}}}
    4851We have a simple view which returns a template “search.html” if no POST data is available and redirects to the / main page when the POST data is available.
     52
    4953- Hook the view to the main URL by editing '''urls.py''' and entering the code:
    5054
Back to Top