from django.conf.urls.defaults import *

from announcements.views import detail, dismiss
from announcements.views import CreateAnnouncementView, UpdateAnnouncementView
from announcements.views import DeleteAnnouncementView, AnnouncementListView

urlpatterns = patterns("",
    url(r"$", AnnouncementListView.as_view(), name="announcements_list"),
    url(r"announcement/create/$", CreateAnnouncementView.as_view(), name="announcements_create"),
    url(r"announcement/(?P<pk>\d+)/$", detail, name="announcements_detail"),
    url(r"announcement/(?P<pk>\d+)/hide/$", dismiss, name="announcements_dismiss"),
    url(r"announcement/(?P<pk>\d+)/update/$", UpdateAnnouncementView.as_view(), name="announcements_update"),
    url(r"announcement/(?P<pk>\d+)/delete/$", DeleteAnnouncementView.as_view(), name="announcements_delete"),
)

@@ -276,16 +276,17 @@
   url(r%22
+%5E
 $%22, Anno
@@ -343,32 +343,33 @@
 st%22),%0A    url(r%22
+%5E
 announcement/cre
@@ -442,32 +442,33 @@
 te%22),%0A    url(r%22
+%5E
 announcement/(?P
@@ -520,32 +520,33 @@
 il%22),%0A    url(r%22
+%5E
 announcement/(?P
@@ -605,32 +605,33 @@
 ss%22),%0A    url(r%22
+%5E
 announcement/(?P
@@ -724,16 +724,17 @@
   url(r%22
+%5E
 announce

Fix urls