I’m using django and when users go to http://www.website.com/ I want to point them to the index view.
Right now I’m doing this:
(r'^$', 'ideas.idea.views.index'),
However, it’s not working. I’m assuming my regular expression is wrong. Can anyone help me out? I’ve looked at python regular expressions but they didn’t help me.
What you have should work (it does for me). Make sure it’s in the top
urls.py, and it should also be at the top of the list.