Where do I put python files to be redirected to by urls.py in Django? The tutorial showed something like this:
urlpatterns = patterns('', (r'^polls/$', 'mysite.polls.views.index'),
Where do I set up pages to be easily linked as something.something.page like this? I am currently just trying to drop straight .py files in random directories and typing the name of the file in the urls.py file like so:
urlpatterns = patterns('', (r'file', 'file.py'),
Which is obviously not the correct way to do it. How do I create pages to be linked to in urls.py? Thanks.