from django.conf.urls import patterns, url


urlpatterns = patterns('projects.views',
    url(r'^add/$', 'add_project', name='add-project'),
    url(r'^edit/(?P<project_id>\d+)/$', 'edit_project', name='edit-project'),
    url(r'^edit_status/(?P<project_id>\d+)/$', 'edit_status', name='edit-status'),
    url(r'^archive/$', 'projects_archive', name='projects-archive'),
    url(r'^archive/review/(?P<project_id>\d+)/$', 'show_project', name='show-project'),
    url(r'^archive/review/versions/(?P<project_id>\d+)/$', 'show_project_versions', name='show-project-versions'),
    url(r'^archive/(?P<year>\d{4})/(?P<month>\d{,2})/$', 'projects_year_month', name='projects-year-month'),
)

from django.conf.urls import patterns, url


urlpatterns = patterns('projects.views',
    url(r'^add/$', 'add_project', name='add-project'),
    url(r'^edit/(?P<project_id>\d+)/$', 'edit_project', name='edit-project'),
    url(r'^edit_status/(?P<project_id>\d+)/$', 'edit_status', name='edit-status'),
    url(r'^archive/$', 'projects_archive', name='projects-archive'),
    url(r'^archive/review/(?P<project_id>\d+)/$', 'show_project', name='show-project'),
    url(r'^archive/review/versions/(?P<project_id>\d+)/$', 'show_project_versions', name='show-project-versions'),
    url(r'^archive/(?P<year>\d{4})/(?P<month>\d{,2})/$', 'projects_year_month', name='projects-year-month'),
    url(r'^search/user/(?P<searched_creator>\d*)/$', 'projects_by_creator', name='projects-by-creator'),
    url(r'^search/status/(?P<searched_status>.*)/$', 'projects_by_status', name='projects-by-status'),
    url(r'^search/name/(?P<searched_name>.*)/$', 'projects_by_name', name='projects-by-name'),
    url(r'^search/(?P<searched_name>\d*)/(?P<searched_status>.*)/(?P<searched_creator>.*)/$', 'projects_complex_search', name='projects-complex-search'),
)

Add search urls for projects