Nattaphoom Ch. committed 6c49699

Added new_index url, view, and template.

Comments (0)

Files changed (3)

 from api.handlers import ConversationHandler, GroupsHandler
+def new_index(request, template='new_index.html'):
+    return render_to_response(template, {}, RequestContext(request))
 def agenda(request, template='agenda.html'):
     if request.user.is_superuser:
         return HttpResponseRedirect("/admin")


     url(dajaxice_config.dajaxice_url, include('dajaxice.urls')),
     # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
+    url(r'^new_index/$', 'ans_gcm.views.new_index', name='new_index'),
     # 4 main functions
     url(r'^agenda/$', 'ans_gcm.views.agenda',


+{% load crispy_forms_tags %}
+{% load dajaxice_templatetags %}
+    <head>
+        <meta http-equiv="content-type" content="text/html; charset=utf-8">
+        <title>New_index</title>
+    </head>
+    <body>
+    </body>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.