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 <art632000@yahoo.ca>
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.
--- /dev/null
+<?python
+title = _('My Test')
+?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:py="http://genshi.edgewall.org/">
+<xi:include href="master.xhtml"/>
+<xi:include href="components/timeframe.xhtml"/>
+<head>
+ <title>${title}</title>
+</head>
+<body>
+ <h1>${title}</h1>
+ <h3>test start</h3>
+</body>
+</html>