From 14c8e5d9539c56a36679ccdd24b6b7597592684f Mon Sep 17 00:00:00 2001 From: Art Rhyno Date: Tue, 8 Apr 2014 20:28:27 -0400 Subject: [PATCH] Clean up debug info This wouldn't harm anything but the print statements are not needed. Also, adding missing my_test.xhtml file though it is just a placeholder for now. Signed-off-by: Art Rhyno --- conifer/syrup/views/sites.py | 5 ----- conifer/templates/my_test.xhtml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 conifer/templates/my_test.xhtml diff --git a/conifer/syrup/views/sites.py b/conifer/syrup/views/sites.py index 423453c..9eac7fe 100644 --- a/conifer/syrup/views/sites.py +++ b/conifer/syrup/views/sites.py @@ -86,16 +86,11 @@ def _add_or_edit_site(request, instance=None, basis=None): else: form.save() site = form.instance - print "site", site assert site.id - test_site = models.Site.objects.get(pk=3) - print "TEST_SITE", test_site if 'basis' in POST: # We are duplicating a site. Copy all the items over into the new site. source_site = models.Site.objects.get(pk=POST['basis']) - print "SOURCE_SITE", source_site - print "POST", POST['basis'] _copy_contents(request, source_site, site) if is_add: # we need to configure permissions. diff --git a/conifer/templates/my_test.xhtml b/conifer/templates/my_test.xhtml new file mode 100644 index 0000000..9510695 --- /dev/null +++ b/conifer/templates/my_test.xhtml @@ -0,0 +1,16 @@ + + + + + + ${title} + + +

${title}

+

test start

+ + -- 2.11.0