__author__ = 'arya'
from django.conf.urls import patterns, url

from badger import views
urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
    #url(r'scantron/(?P<name>\w+)',views.scantron,name='scantron'),
    url(r'locations/(?P<id>\d+)/$',views.single_location,name="single_location"),
    url(r'locations/(?P<type>\w+)/$',views.category_location,name="category_location"),

    url(r'locations/$',views.locations,name="locations"),
    url(r'badges/(?P<id>\d+)/$',views.single_badge,name="single_badge"),
    url(r'badges/(?P<type>\w+)/$',views.category_badge,name="category_badge"),
    url(r'badges/$',views.badges,name="badges"),
    url(r'badges/location/(?P<location_name>\w+)/$',views.category_location,name="category_location"),
    url(r'categories/(?P<id>\d+)/$',views.single_category,name="single_category"),

    url(r'categories/$',views.categories,name="categories"),
)

2fc1efe2d6c83473d5791a254eb244750831bff2
<mask token>

__author__ = 'arya'
<mask token>
urlpatterns = patterns('', url('^$', views.index, name='index'), url(
    'locations/(?P<id>\\d+)/$', views.single_location, name=
    'single_location'), url('locations/(?P<type>\\w+)/$', views.
    category_location, name='category_location'), url('locations/$', views.
    locations, name='locations'), url('badges/(?P<id>\\d+)/$', views.
    single_badge, name='single_badge'), url('badges/(?P<type>\\w+)/$',
    views.category_badge, name='category_badge'), url('badges/$', views.
    badges, name='badges'), url('badges/location/(?P<location_name>\\w+)/$',
    views.category_location, name='category_location'), url(
    'categories/(?P<id>\\d+)/$', views.single_category, name=
    'single_category'), url('categories/$', views.categories, name=
    'categories'))

__author__ = 'arya'
from django.conf.urls import patterns, url
from badger import views
urlpatterns = patterns('', url('^$', views.index, name='index'), url(
    'locations/(?P<id>\\d+)/$', views.single_location, name=
    'single_location'), url('locations/(?P<type>\\w+)/$', views.
    category_location, name='category_location'), url('locations/$', views.
    locations, name='locations'), url('badges/(?P<id>\\d+)/$', views.
    single_badge, name='single_badge'), url('badges/(?P<type>\\w+)/$',
    views.category_badge, name='category_badge'), url('badges/$', views.
    badges, name='badges'), url('badges/location/(?P<location_name>\\w+)/$',
    views.category_location, name='category_location'), url(
    'categories/(?P<id>\\d+)/$', views.single_category, name=
    'single_category'), url('categories/$', views.categories, name=
    'categories'))

__author__ = 'arya'
from django.conf.urls import patterns, url

from badger import views
urlpatterns = patterns('',
    url(r'^$', views.index, name='index'),
    #url(r'scantron/(?P<name>\w+)',views.scantron,name='scantron'),
    url(r'locations/(?P<id>\d+)/$',views.single_location,name="single_location"),
    url(r'locations/(?P<type>\w+)/$',views.category_location,name="category_location"),

    url(r'locations/$',views.locations,name="locations"),
    url(r'badges/(?P<id>\d+)/$',views.single_badge,name="single_badge"),
    url(r'badges/(?P<type>\w+)/$',views.category_badge,name="category_badge"),
    url(r'badges/$',views.badges,name="badges"),
    url(r'badges/location/(?P<location_name>\w+)/$',views.category_location,name="category_location"),
    url(r'categories/(?P<id>\d+)/$',views.single_category,name="single_category"),

    url(r'categories/$',views.categories,name="categories"),
)
