# all the other ones have now migrated into separate classes/files for more convenience
# I'm leaving these ones here for now as I could not exactly figure what the purpose was
# (i.e. what the correct name should be, as presviewview was a bit cryptic)
# all the other ones have now migrated into separate classes/files for more convenience
# I'm leaving these ones here for now as I could not exactly figure what the purpose was
# (i.e. what the correct name should be, as presviewview was a bit cryptic)
template_name = "view-unfold1.html"
def get_context_data(self, **kwargs):
template_name = "view-unfold1.html"
def get_context_data(self, **kwargs):
context = super(PresViewView, self).get_context_data(**kwargs)
#context['ALL_STATIC'] = "all_static"
context = super(PresViewView, self).get_context_data(**kwargs)
#context['ALL_STATIC'] = "all_static"
# XXX This is repeated in all pages
# more general variables expected in the template
context['title'] = 'Test view that combines various plugins'
# the menu items on the top
# XXX This is repeated in all pages
# more general variables expected in the template
context['title'] = 'Test view that combines various plugins'
# the menu items on the top
json_answer = json.dumps(cmd)
return HttpResponse (json_answer, mimetype="application/json")
json_answer = json.dumps(cmd)
return HttpResponse (json_answer, mimetype="application/json")
template_name = "validate_pending.html"
def get_context_data(self, **kwargs):
template_name = "validate_pending.html"
def get_context_data(self, **kwargs):
# more general variables expected in the template
context['title'] = 'Test view that combines various plugins'
# the menu items on the top
# more general variables expected in the template
context['title'] = 'Test view that combines various plugins'
# the menu items on the top