Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/v/o/votainteligente-portal-electoral-HEAD/elections/urls.py   votainteligente-portal-electoral(Download)
	url(r'^busqueda_tags/?$', ElectionsSearchByTagView.as_view(), name='tags_search' ),
	url(r'^election/(?P<slug>[-\w]+)/?$', 
		cache_page(ElectionDetailView.as_view(template_name='elections/election_detail.html'), 60 * settings.CACHE_MINUTES),
		name='election_view' ),
	url(r'^election/(?P<slug>[-\w]+)/questionary/?$',
		cache_page(ElectionDetailView.as_view(template_name='elections/election_questionary.html'), 60 * settings.CACHE_MINUTES), 
	#one candidate for compare
	url(r'^election/(?P<slug>[-\w]+)/face-to-face/(?P<slug_candidate_one>[-\w]+)/?$',
		cache_page(ElectionDetailView.as_view(template_name='elections/compare_candidates.html'), 60 * settings.CACHE_MINUTES),
		name='face_to_face_one_candidate_detail_view'),
	#no one candidate
	url(r'^election/(?P<slug>[-\w]+)/face-to-face/?$',
		cache_page(ElectionDetailView.as_view(template_name='elections/compare_candidates.html'), 60 * settings.CACHE_MINUTES),
		),
	url(r'^election/(?P<slug>[-\w]+)/extra_info.html$',
		ElectionDetailView.as_view(template_name='elections/extra_info.html'), 
		name='election_extra_info'),
 

src/c/a/candideitorg-django-0.0.1/candidator/elections/tests/election_embeded.py   candideitorg-django(Download)
 
		resolver_match = resolve(url)
		view = ElectionDetailView.as_view()
 
		self.assertEquals(resolver_match.func.__module__,view.__module__)
		self.assertEquals(response.context['election'], self.election)
		resolver_match = resolve(url)
		view = ElectionDetailView.as_view()
 
		self.assertEquals(resolver_match.func.__module__,view.__module__)