from django.conf.urls import patterns, url
from django.contrib import admin

from rest import views


admin.autodiscover()

urlpatterns = patterns('',
                       # Examples:
                       # url(r'^$', 'news.views.home', name='home'),
                       # url(r'^blog/', include('blog.urls')),

                       url(r'^latest/', views.LatestNewsView.as_view(), name='latest'),
                       url(r'^price/', views.PriceView.as_view(), name='price'),
                       url(r'^like/', views.LikeView.as_view(), name='like'),
                       url(r'^bookmark/', views.BookmarkView.as_view(), name='bookmark'),
                       url(r'^list_bookmark/', views.ListBookmarkView.as_view(), name='list_bookmark'),
                       url(r'^all_categories/', views.AllCategories.as_view(), name='all_categories'),
                       url(r'^date/', views.DateView.as_view(), name='date'),


)
