On Apr 14, 11:15 am, "Mike Hostetler" <[EMAIL PROTECTED]> wrote:
>
> Does anyone need more info?  Because I'm stuck.
>

I'm not seeing the same problem.  I set up a little example app with
the following urls.py:

urlpatterns = patterns('',
    (r'^admin/myapp/mymodel/', 'webcode.myapp.views.mymodel'),
    (r'^admin/', include('django.contrib.admin.urls')),
)

I tried linking directly to the URL http://localhost:8000/admin/myapp/mymodel/
and http://localhost:8000/admin/myapp/mymodel, and linking to the
model through the URL drawn in the Admin application.  All led to the
overridden view.

Maybe add ``print self.regex.pattern`` to the resolve methods in
``RegexURLPattern`` and ``RegexURLResolver`` in
django.core.urlresolvers.  That should dump out the order of how
things are matched up.  Maybe that'll help.

You could also set up a new, simple project with just the one app to
see if you can replicate it.  I couldn't.

Oh, I'm on the HEAD at v5005.


Doug.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to