private.project_translations_delete, name='projects_translations_delete'), url(r'^(?P<project_slug>[-\w]+)/redirects/$', private.project_redirects, name='projects_redirects'), url(r'^(?P<project_slug>[-\w]+)/redirects/delete/$', private.project_redirects_delete, name='projects_redirects_delete'), url(r'^(?P<project_slug>[-\w]+)/advertising/$', ProjectAdvertisingUpdate.as_view(), name='projects_advertising'), ] domain_urls = [ url(r'^(?P<project_slug>[-\w]+)/domains/$', DomainList.as_view(), name='projects_domains'), url(r'^(?P<project_slug>[-\w]+)/domains/create/$', DomainCreate.as_view(), name='projects_domains_create'), url(r'^(?P<project_slug>[-\w]+)/domains/(?P<domain_pk>[-\w]+)/edit/$', DomainUpdate.as_view(), name='projects_domains_edit'), url(r'^(?P<project_slug>[-\w]+)/domains/(?P<domain_pk>[-\w]+)/delete/$', DomainDelete.as_view(), name='projects_domains_delete'), ] urlpatterns += domain_urls integration_urls = [
url(r'^(?P<project_slug>[-\w]+)/translations/delete/(?P<child_slug>[-\w]+)/$', # noqa 'readthedocs.projects.views.private.project_translations_delete', name='projects_translations_delete'), url(r'^(?P<project_slug>[-\w]+)/redirects/$', 'readthedocs.projects.views.private.project_redirects', name='projects_redirects'), url(r'^(?P<project_slug>[-\w]+)/redirects/delete/$', 'readthedocs.projects.views.private.project_redirects_delete', name='projects_redirects_delete'), ) domain_urls = patterns( '', url(r'^(?P<project_slug>[-\w]+)/domains/$', DomainList.as_view(), name='projects_domains'), url(r'^(?P<project_slug>[-\w]+)/domains/create/$', DomainCreate.as_view(), name='projects_domains_create'), url(r'^(?P<project_slug>[-\w]+)/domains/(?P<domain_pk>[-\w]+)/edit/$', DomainUpdate.as_view(), name='projects_domains_edit'), url(r'^(?P<project_slug>[-\w]+)/domains/(?P<domain_pk>[-\w]+)/delete/$', DomainDelete.as_view(), name='projects_domains_delete'), ) urlpatterns += domain_urls