from django.conf.urls import patterns

urlpatterns = patterns('homepage.views',
	(r'^$', 'home.home', {}, 'home'),

	(r'^news/new/$', 'news.add_news', {}, 'add_news'),
	(r'^news/(\d+)/edit/$', 'news.edit_news', {}, 'edit_news'),
	(r'^news/(\d+)/delete/$', 'news.delete_news', {}, 'delete_news'),
	(r'^news/browse_images/$', 'news.browse_images', {}, 'news_images_browse'),

	(r'^banners/$', 'banners.index', {}, 'banners_index'),
	(r'^banners/new/$', 'banners.add_banner', {}, 'add_banner'),
	(r'^banners/(\d+)/edit/$', 'banners.edit_banner', {}, 'edit_banner'),
	(r'^banners/(\d+)/delete/$', 'banners.delete_banner', {}, 'delete_banner'),
	(r'^banners/browse_images/$', 'banners.browse_images', {}, 'banner_images_browse'),
)
