Mike, You probably don't have APPEND_SLASH=True in your settings configuration. (Or you don't have commonmiddleware enabled.) This means that the common middleware won't take http://foo/bar and automatically redirect it to http://foo/bar/ to match your regex.
Just a thought, though. Cheers, Mike Axiak On Apr 14, 10:34 am, "Mike Hostetler" <[EMAIL PROTECTED]> wrote: > I've been looking at this for a couple of hours and I have no idea > what is happening. > > In my urls.py I have this: > > urlpatterns = patterns('', > (r'^admin/myapp/mymodel/', ',myapp.views.viewmodels'), > .... > > When I go tohttp://localhost:8000/admin/myapp/mymodel > it has ignored my pattern and went to the default admin change_list view. > > How do I know this? There is no views.pyc file, and I put in an error > in the myapp.views to make sure I knew if I hit it. > > Anyone please let me know what did wrong . . > -- > Mike Hostetlerhttp://mike.hostetlerhome.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---