From: Art Rhyno Date: Wed, 9 Apr 2014 00:28:27 +0000 (-0400) Subject: Clean up debug info X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=14c8e5d9539c56a36679ccdd24b6b7597592684f;p=syrup%2Fmasslnc.git 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 --- 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

+ +