Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e9347d
commit 91b5006
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
from django.conf.urls import patterns, url | ||
|
||
from carrier_pigeon.views import (InboxListView, ArchiveListView) | ||
from carrier_pigeon.views import (InboxListView, ArchiveListView, | ||
MessageDetailView) | ||
|
||
urlpatterns = patterns('', | ||
url(r"^$", InboxListView.as_view(), name="inbox"), | ||
url(r"^archive/$", ArchiveListView.as_view(), name="archive"), | ||
url(r"^view/(?P<pk>\d+)/$", MessageDetailView.as_view(), name="detail"), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters