Commit 0f9bd496 authored by Jean Michel Rouly's avatar Jean Michel Rouly

Added delete url, renamed homepage to index.

parent 4d8102ae
......@@ -6,7 +6,7 @@ admin.autodiscover()
urlpatterns = patterns('go.views',
# / - Homepage url.
url(r'^$', 'index', name = 'homepage'),
url(r'^$', 'index', name = 'index'),
# /about - About page.
url(r'^about/?$', 'about', name = 'about'),
......@@ -17,6 +17,9 @@ urlpatterns = patterns('go.views',
# /my - My-Links page, view and review links.
url(r'^my/?$', 'my_links', name = 'my_links'),
# /delete - Delete a link, no content display.
url(r'^delete/(?P<short>\w+)$', 'delete', name = 'delete'),
# /admin - Administrator interface.
url(r'^admin/', include(admin.site.urls)),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment