Why $s, if you don't mind me asking? On Thu, Sep 30, 2010 at 10:55 AM, Carlton Gibson <carlton.gib...@gmail.com> wrote: > > On 30 Sep 2010, at 15:42, Bradley Hintze wrote: > >> urlpatterns = patterns('', >> (r'^', home_view), >> (r'^here/', here), >> # Example: >> ) > > your first pattern matches all URLs which have a beginning, which is all > URLs. You need to add the $s at the end: > > urlpatterns = patterns('', > (r'^$', home_view), > (r'^here/$', here), > # Example: > ) > > HTH > > Regards, > Carlton > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > >
-- Bradley J. Hintze Graduate Student Duke University School of Medicine 801-712-8799 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.