le75
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

ads.py
text/x-python

Download raw (242 bytes)

from django.conf.urls import url
from news.views import AdListView, AdDetailView


urlpatterns = [
    url(r'^$', AdListView.as_view(), name='annonces-list'),
    url(r'^(?P<slug>[-\w]+)/$', AdDetailView.as_view(), name='annonces-detail'),
]