from django.conf.urls import patterns, url
from go.billing import views

urlpatterns = patterns(
    '',
    url(
        r'^(?P<statement_id>[\d]+)', views.statement_view,
        name='pdf_statement')
)

from django.conf.urls import patterns, url
from go.billing import views

urlpatterns = patterns(
    '',
    url(
        r'^statement/(?P<statement_id>[\d]+)', views.statement_view,
        name='pdf_statement')
)

Move statement PDF URL off the root of the billing URL namespace.
Move statement PDF URL off the root of the billing URL namespace.

  from django.conf.urls import patterns, url
  from go.billing import views
  
  urlpatterns = patterns(
      '',
      url(
-         r'^(?P<statement_id>[\d]+)', views.statement_view,
+         r'^statement/(?P<statement_id>[\d]+)', views.statement_view,
          name='pdf_statement')
  )
  
Move statement PDF URL off the root of the billing URL namespace.
## Code Before:
from django.conf.urls import patterns, url
from go.billing import views

urlpatterns = patterns(
    '',
    url(
        r'^(?P<statement_id>[\d]+)', views.statement_view,
        name='pdf_statement')
)

## Instruction:
Move statement PDF URL off the root of the billing URL namespace.
## Code After:
from django.conf.urls import patterns, url
from go.billing import views

urlpatterns = patterns(
    '',
    url(
        r'^statement/(?P<statement_id>[\d]+)', views.statement_view,
        name='pdf_statement')
)
