from django.conf.urls import patterns, url
from django.conf import settings

__author__ = "D.Kalpakchi"


urlpatterns = patterns(
    'movies.views',
    url(r'^all/$', 'all'),
    url(r'^json_all/$', 'json_all'),
    url(r'^(?P<mode>\b(add|edit)\b)/(?P<movie_id>\d+|)$', 'add_edit'),
    url(r'^add/$', 'add_edit'),
    url(r'^add_upc/$', 'add_upc'),
    url(r'^search/$', 'search'),
    url(r'^search/by/title$', 'search_by_title'),

    url(r'^update/center/\b(full_load|hash_update|log)\b$', 'update_center_alt'),
    url(r'^update/center/logs/$', 'json_update_center_log'),
    url(r'^update/center/refresh/$', 'refresh_update_center'),

    url(r'^featured/$', 'featured'),
    url(r'^featured/(?P<movie_id>\d+)/unfeature/$', 'unfeature'),
    url(r'^(?P<movie_id>\d+)/short_info/$', 'short_info')
)


# if settings.DEBUG:
urlpatterns += patterns('movies.views',
    url(r'^update/images/$', 'update_images')
)
2da2a0d00179ea7b56dfd5a4a8734e2a10262f34
<mask token>

<mask token>
urlpatterns += patterns('movies.views', url('^update/images/$',
    'update_images'))

<mask token>
__author__ = 'D.Kalpakchi'
urlpatterns = patterns('movies.views', url('^all/$', 'all'), url(
    '^json_all/$', 'json_all'), url(
    '^(?P<mode>\\b(add|edit)\\b)/(?P<movie_id>\\d+|)$', 'add_edit'), url(
    '^add/$', 'add_edit'), url('^add_upc/$', 'add_upc'), url('^search/$',
    'search'), url('^search/by/title$', 'search_by_title'), url(
    '^update/center/\\b(full_load|hash_update|log)\\b$',
    'update_center_alt'), url('^update/center/logs/$',
    'json_update_center_log'), url('^update/center/refresh/$',
    'refresh_update_center'), url('^featured/$', 'featured'), url(
    '^featured/(?P<movie_id>\\d+)/unfeature/$', 'unfeature'), url(
    '^(?P<movie_id>\\d+)/short_info/$', 'short_info'))
urlpatterns += patterns('movies.views', url('^update/images/$',
    'update_images'))

from django.conf.urls import patterns, url
from django.conf import settings
__author__ = 'D.Kalpakchi'
urlpatterns = patterns('movies.views', url('^all/$', 'all'), url(
    '^json_all/$', 'json_all'), url(
    '^(?P<mode>\\b(add|edit)\\b)/(?P<movie_id>\\d+|)$', 'add_edit'), url(
    '^add/$', 'add_edit'), url('^add_upc/$', 'add_upc'), url('^search/$',
    'search'), url('^search/by/title$', 'search_by_title'), url(
    '^update/center/\\b(full_load|hash_update|log)\\b$',
    'update_center_alt'), url('^update/center/logs/$',
    'json_update_center_log'), url('^update/center/refresh/$',
    'refresh_update_center'), url('^featured/$', 'featured'), url(
    '^featured/(?P<movie_id>\\d+)/unfeature/$', 'unfeature'), url(
    '^(?P<movie_id>\\d+)/short_info/$', 'short_info'))
urlpatterns += patterns('movies.views', url('^update/images/$',
    'update_images'))

from django.conf.urls import patterns, url
from django.conf import settings

__author__ = "D.Kalpakchi"


urlpatterns = patterns(
    'movies.views',
    url(r'^all/$', 'all'),
    url(r'^json_all/$', 'json_all'),
    url(r'^(?P<mode>\b(add|edit)\b)/(?P<movie_id>\d+|)$', 'add_edit'),
    url(r'^add/$', 'add_edit'),
    url(r'^add_upc/$', 'add_upc'),
    url(r'^search/$', 'search'),
    url(r'^search/by/title$', 'search_by_title'),

    url(r'^update/center/\b(full_load|hash_update|log)\b$', 'update_center_alt'),
    url(r'^update/center/logs/$', 'json_update_center_log'),
    url(r'^update/center/refresh/$', 'refresh_update_center'),

    url(r'^featured/$', 'featured'),
    url(r'^featured/(?P<movie_id>\d+)/unfeature/$', 'unfeature'),
    url(r'^(?P<movie_id>\d+)/short_info/$', 'short_info')
)


# if settings.DEBUG:
urlpatterns += patterns('movies.views',
    url(r'^update/images/$', 'update_images')
)