Files
edx-platform/openedx/features/announcements/urls.py
Josh McLaughlin 4d4b040517 Add dashboard announcements feature
- Add announcements view using JSX to the dashboard sidebar
- Create a new maintenance interface to edit and manage announcements
- Adds an override to main.html template to include new skip links
- Add plugins required for announcements to TinyMCE

This is motivated by a desire to have system wide messages for students
that show on the dashboard. Enabled with FEATURES['ENABLE_ANNOUNCEMENTS'].
Global staff are allowed to edit from the studio maintenance view.
2019-03-10 19:25:13 -07:00

17 lines
331 B
Python

"""
Defines URLs for announcements in the LMS.
"""
from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from .views import AnnouncementsJSONView
urlpatterns = [
url(
r'^page/(?P<page>\d+)$',
login_required(AnnouncementsJSONView.as_view()),
name='page',
),
]