<gh_stars>0
from django.conf.urls.defaults import patterns, url

from django.contrib import admin
admin.autodiscover()

import views
from models import Group, Skill, Language

urlpatterns = patterns('',
    url('^groups$', views.index, name='group_index'),
    url('^group/(?P<id>\d+)-(?P<url>[^/]+)$', views.show, name='group'),
    url('^group/(?P<id>\d+)-(?P<url>[^/]+)/toggle$', views.toggle,
         name='group_toggle'),
    url('^groups/search$', views.search,
        dict(searched_object=Group), name='group_search'),
    url('^skills/search$', views.search,
        dict(searched_object=Skill), name='skill_search'),
    url('^languages/search$', views.search,
        dict(searched_object=Language), name='language_search'),
)

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

from django.contrib import admin
admin.autodiscover()

import views
from models import Group, Skill, Language

urlpatterns = patterns('',
    url('^groups$', views.index, name='group_index'),
    url('^group/(?P<id>\d+)-(?P<url>[^/]+)$', views.show, name='group'),
    url('^group/(?P<id>\d+)-(?P<url>[^/]+)/toggle$', views.toggle,
         name='group_toggle'),
    url('^groups/search$', views.search,
        dict(searched_object=Group), name='group_search'),
    url('^skills/search$', views.search,
        dict(searched_object=Skill), name='skill_search'),
    url('^languages/search$', views.search,
        dict(searched_object=Language), name='language_search'),
)