from django.conf.urls.defaults import *


urlpatterns = patterns('micropress.views',
    (r'^$', 'article_list'),
    (r'^issue/(?P<issue>\d+)/$', 'issue_list'),
    (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'),
    #(r'^new/$', 'article_create'),
)

from django.conf.urls.defaults import *


urlpatterns = patterns('micropress.views',
    (r'^$', 'article_list'),
    url(r'^issue/(?P<issue>\d+)/$', 'article_list', name='issue_list'),
    (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'),
    #(r'^new/$', 'article_create'),
)

Fix url spec for article list by issue.
Fix url spec for article list by issue.

  from django.conf.urls.defaults import *
  
  
  urlpatterns = patterns('micropress.views',
      (r'^$', 'article_list'),
-     (r'^issue/(?P<issue>\d+)/$', 'issue_list'),
+     url(r'^issue/(?P<issue>\d+)/$', 'article_list', name='issue_list'),
      (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'),
      #(r'^new/$', 'article_create'),
  )
  
Fix url spec for article list by issue.
## Code Before:
from django.conf.urls.defaults import *


urlpatterns = patterns('micropress.views',
    (r'^$', 'article_list'),
    (r'^issue/(?P<issue>\d+)/$', 'issue_list'),
    (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'),
    #(r'^new/$', 'article_create'),
)

## Instruction:
Fix url spec for article list by issue.
## Code After:
from django.conf.urls.defaults import *


urlpatterns = patterns('micropress.views',
    (r'^$', 'article_list'),
    url(r'^issue/(?P<issue>\d+)/$', 'article_list', name='issue_list'),
    (r'^article/(?P<slug>[-\w]+)/$', 'article_detail'),
    #(r'^new/$', 'article_create'),
)
