studio - alerts: refactored static alerts demo view to have a different template/view/url name to help with user facing views vs. documentation views
This commit is contained in:
@@ -110,8 +110,8 @@ def howitworks(request):
|
||||
else:
|
||||
return render_to_response('howitworks.html', {})
|
||||
|
||||
def alerts(request):
|
||||
return render_to_response('alerts.html', {})
|
||||
def ux_alerts(request):
|
||||
return render_to_response('ux-alerts.html', {})
|
||||
|
||||
# ==== Views for any logged-in user ==================================
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ urlpatterns = ('',
|
||||
|
||||
# User creation and updating views
|
||||
urlpatterns += (
|
||||
url(r'^alerts$', 'contentstore.views.alerts', name='alerts'),
|
||||
url(r'^ux-alerts$', 'contentstore.views.ux_alerts', name='ux-alerts'),
|
||||
url(r'^howitworks$', 'contentstore.views.howitworks', name='howitworks'),
|
||||
url(r'^signup$', 'contentstore.views.signup', name='signup'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user