<reponame>harshp8l/deep-learning-lang-detection<gh_stars>10-100
#coding: utf-8
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
	#url(r'^$', 'planeta_brasil.api_copa.views.home', name='home'),    

	# Testados:
	url(r'^api-copa/register-push-device/$', 'planeta_brasil.api_copa.views.register_push_device', name='register_push_device'),
	url(r'^api/news/$', 'planeta_brasil.api_copa.views.api_news', name='api_news'),
	url(r'^api/news/(?P<pk>\d)/$', 'planeta_brasil.api_copa.views.api_news_detail', name='api_news_detail'),
	
	# Pendentes:

	url(r'^api/photos/$', 'planeta_brasil.api_copa.views.api_photos', name='api_photos'),
	url(r'^api/guesses/$', 'planeta_brasil.api_copa.views.api_guesses', name='api_guesses'),
    
	url(r'^api/venue/(?P<pk>\d)/$', 'planeta_brasil.api_copa.views.api_venue_detail', name='api_venue_detail'),
	url(r'^api/matches_by_groups/$', 'planeta_brasil.api_copa.views.api_matches_by_groups', name='api_matches_by_groups'),
	url(r'^api/last_games/$', 'planeta_brasil.api_copa.views.api_last_games', name='api_last_games'),
	url(r'^api/finals/$', 'planeta_brasil.api_copa.views.api_finals', name='api_finals'),
	url(r'^api/home/$', 'planeta_brasil.api_copa.views.api_home', name='api_home'),


    url(r'^admin/', include(admin.site.urls)),
)

#coding: utf-8
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
	#url(r'^$', 'planeta_brasil.api_copa.views.home', name='home'),    

	# Testados:
	url(r'^api-copa/register-push-device/$', 'planeta_brasil.api_copa.views.register_push_device', name='register_push_device'),
	url(r'^api/news/$', 'planeta_brasil.api_copa.views.api_news', name='api_news'),
	url(r'^api/news/(?P<pk>\d)/$', 'planeta_brasil.api_copa.views.api_news_detail', name='api_news_detail'),
	
	# Pendentes:

	url(r'^api/photos/$', 'planeta_brasil.api_copa.views.api_photos', name='api_photos'),
	url(r'^api/guesses/$', 'planeta_brasil.api_copa.views.api_guesses', name='api_guesses'),
    
	url(r'^api/venue/(?P<pk>\d)/$', 'planeta_brasil.api_copa.views.api_venue_detail', name='api_venue_detail'),
	url(r'^api/matches_by_groups/$', 'planeta_brasil.api_copa.views.api_matches_by_groups', name='api_matches_by_groups'),
	url(r'^api/last_games/$', 'planeta_brasil.api_copa.views.api_last_games', name='api_last_games'),
	url(r'^api/finals/$', 'planeta_brasil.api_copa.views.api_finals', name='api_finals'),
	url(r'^api/home/$', 'planeta_brasil.api_copa.views.api_home', name='api_home'),


    url(r'^admin/', include(admin.site.urls)),
)
#coding: utf-8 #url(r'^$', 'planeta_brasil.api_copa.views.home', name='home'), # Testados: # Pendentes: