I am refactoring my URL matching configuration file and I get this :
[snip]
Page not found (404)
Request Method:         GET
Request URL:    http://localhost:8000/followDeploys/viewDeployed/xxx

Using the URLconf defined in customer.urls, Django tried these URL
patterns, in this order:

   1. ^followDeploys/ ^viewDeployed/(?P<appAcronym>[^a-z][a-z0-9][a-
z0-9])
   2. ^admin/(.*)

The current URL, followDeploys/viewDeployed/xxx, didn't match any of
these.
[/snip]

Now there is an extra space in the first matching URL pattern.

My top level URL.py
###############################################
from django.conf.urls.defaults import *


# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns ('',
    # Follow deploys :
    (r'^followDeploys/',include('customer.follow_deploys.urls')),

    # Uncomment the admin/doc line below and add
'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    (r'^admin/(.*)', admin.site.root),
)
###############################################


Then my url.py in follow_deploys is :
###############################################
from django.conf.urls.defaults import *

urlpatterns = patterns('customer.follow_deploys.views',
    # Allows to view the status of one acronym
    (r'^viewDeployed/(?P<appAcronym>[^a-z][a-z0-9][a-z0-9])',
'viewDeployed'),
)
###############################################


Any help is appreciated
--~--~---------~--~----~------------~-------~--~----~
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