Skip to content

Commit

Permalink
Fix pinax_announcements.
Browse files Browse the repository at this point in the history
  • Loading branch information
thallada committed Aug 12, 2016
1 parent 2878ef3 commit 7e2c685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion analytics_dashboard/static/js/application-main.js
Expand Up @@ -12,7 +12,7 @@ require(['bootstrap',

// Instantiate the announcement view(s)
$('[data-view=announcement]').each(function(index, element) {
var announcement = AnnouncementView({el: element});
var announcement = new AnnouncementView({el: element});
announcement.render();
});
}
Expand Down
2 changes: 1 addition & 1 deletion analytics_dashboard/urls.py
Expand Up @@ -37,7 +37,7 @@
url(r'^accounts/logout/$', views.logout, name='logout'),
url(r'^accounts/logout_then_login/$', views.logout_then_login, name='logout_then_login'),
url(r'^test/auto_auth/$', views.AutoAuth.as_view(), name='auto_auth'),
url(r'^announcements/', include('pinax.announcements.urls')),
url(r'^announcements/', include('pinax.announcements.urls', namespace='pinax_announcements')),
]

urlpatterns += [
Expand Down

0 comments on commit 7e2c685

Please sign in to comment.