site.json no longer needed
This commit is contained in:
parent
25629ac491
commit
ce1c326b80
2 changed files with 0 additions and 13 deletions
|
@ -81,15 +81,3 @@ def editPage(request):
|
|||
return render_to_json_response(response)
|
||||
actions.register(getPage)
|
||||
|
||||
|
||||
def site_json(request):
|
||||
'''
|
||||
return render_to_json_response(siteJson())
|
||||
'''
|
||||
siteSettings = {}
|
||||
for s in models.SiteSettings.objects.all():
|
||||
siteSettings[s.key] = s.value
|
||||
context = RequestContext(request, {'settings': settings,
|
||||
'siteSettings': siteSettings})
|
||||
return render_to_response('site.json', context,
|
||||
mimetype="application/javascript")
|
||||
|
|
|
@ -21,7 +21,6 @@ urlpatterns = patterns('',
|
|||
(r'^admin/', include(admin.site.urls)),
|
||||
(r'^ajax_filtered_fields/', include('ajax_filtered_fields.urls')),
|
||||
(r'^api/upload/$', 'archive.views.firefogg_upload'),
|
||||
(r'^site.json$', 'app.views.site_json'),
|
||||
(r'^timeline$', 'app.views.timeline'),
|
||||
(r'^file/(?P<oshash>.*)$', 'archive.views.lookup_file'),
|
||||
(r'^api/$', include('api.urls')),
|
||||
|
|
Loading…
Reference in a new issue